diff options
author | Adam Powell <adamp@google.com> | 2012-04-10 18:55:22 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2012-04-11 13:01:24 -0700 |
commit | df3ae4f3aea3bdce6bb54133c8a07a26bf207c3c (patch) | |
tree | 8a44d20663830202b72f43b5730d545b0ebcbf18 /libs/androidfw | |
parent | 54ae14749bc7f9e73cfda35a8b49f9efa80a77fb (diff) | |
download | frameworks_base-df3ae4f3aea3bdce6bb54133c8a07a26bf207c3c.zip frameworks_base-df3ae4f3aea3bdce6bb54133c8a07a26bf207c3c.tar.gz frameworks_base-df3ae4f3aea3bdce6bb54133c8a07a26bf207c3c.tar.bz2 |
Invalidate for scrolling animations on the animation timer
Change View methods awakenScrollBars and scrollTo to post their
invalidation on the animation timer. Since these are often used in
computeScroll or similar to continue scrolling or flinging it should
not prevent other posted events from being processed before the frame
is actually drawn. (All changes in scroll position, etc. are
immediately reflected after the calls and do not need a draw to
present correct data about scroll position to apps.)
Don't accumulate floating point error while dragging
ScrollView/HorizontalScrollView.
Change-Id: I05b57d75f89a806488e46a8fb79b85d80f56d45d
Diffstat (limited to 'libs/androidfw')
0 files changed, 0 insertions, 0 deletions