summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-11-16 09:59:40 -0500
committerCary Clark <cary@android.com>2010-11-16 10:22:11 -0500
commit21a97ef9f2d907f910f4a5f5cff6f321aca825d3 (patch)
tree108c6e5d0db4151a93a329c486d8a836b0f57a68 /libs/rs/rsg_ScriptJavaClass.cpp
parentdebf3bed9ea913ac55c80e1f9f7f33217054a943 (diff)
make tap initiated scrolls more reliable
Programmatic scrolls fail when the scroll has not had a chance to start. In this case, the current position equals the last position; the logic erroneously cancels the scrolls, assuming that in this case the scroll has finished. Also, new scrolls should cancel the old velocity whether they are animated or not. This has a companion change in external/webkit, which is not required, but makes tap initiated scrolls work more reliably. bug:1331125 bug:3099569 Change-Id: I80ae8e8cdefce2d8d09532f79d1b2e1ae4738fa6
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions