Description[Android] Port Scroller.java to C++ and use for fling animations
Port the Android platform's Scroller.java to C++, and wire the code up to
FlingAnimatorImpl. This has several benefits, including:
1) JNI hop and garbage elimination.
2) Fling updates in DIPs.
3) Animation timing independent of the Android view system.
4) Easy access to X and Y velocity components.
This may also prove useful for non-fling related scroll animations, e.g., smooth
scrolling from mousewheel and/or keyboard inputs on the compositor thread.
BUG=344370
TBR=jochen@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252789
Patch Set 1 #Patch Set 2 : Updates #Patch Set 3 : Rebase #
Total comments: 14
Patch Set 4 : Cleanup and code review and testing #Patch Set 5 : Tests, cleanup and code review #Patch Set 6 : Actually add the test #Patch Set 7 : Cleanup #Patch Set 8 : Cleanup #
Total comments: 10
Patch Set 9 : Code review #
Total comments: 1
Patch Set 10 : Remove forward decl #Patch Set 11 : Rebase #
Messages
Total messages: 11 (0 generated)
|