OSDN Git Service

Fix jank in TextView.Marquee
authorJorim Jaggi <jjaggi@google.com>
Tue, 1 Jul 2014 12:59:34 +0000 (14:59 +0200)
committerJorim Jaggi <jjaggi@google.com>
Tue, 1 Jul 2014 18:15:01 +0000 (20:15 +0200)
commit3aa422033abad9d97d278913c6f63d8700a55b50
tree7e71ac331ab0e96dfe9a5d65606839a1b57318f7
parent1e2b2ba4b39e4d2fceb355347f6eaf51b76819be
Fix jank in TextView.Marquee

Use Choreographer animation callbacks to update the scrolling and
make the delta dependent on the time passed since the last update.

Change-Id: If6ce365014e8d32dadfc93bba0d4733050f673f7
core/java/android/widget/TextView.java