diff options
author | Cary Clark <cary@android.com> | 2010-11-16 09:59:40 -0500 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-11-16 10:22:11 -0500 |
commit | 21a97ef9f2d907f910f4a5f5cff6f321aca825d3 (patch) | |
tree | 108c6e5d0db4151a93a329c486d8a836b0f57a68 /libs/rs/rsg_ScriptJavaClass.cpp | |
parent | debf3bed9ea913ac55c80e1f9f7f33217054a943 (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