summaryrefslogtreecommitdiff
path: root/libs/utils/StringArray.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2011-08-10 13:53:43 -0700
committer Chet Haase <chet@google.com> 2011-08-11 07:18:20 -0700
commit81abe87dcc829c4c01473126c8664aa03385dc7c (patch)
tree90ebb77d33232f84ad1f6f4bb57863b92b500af4 /libs/utils/StringArray.cpp
parent5e3f4000a98eb494e3c896de7af97b1b85bbad42 (diff)
Fix Recent Apps jumping artifact
When removing an item from the Recents list such that the list went from larger than the screen to smaller (bringing the first item completely into view) there was an artifact where the list would jump briefly, just prior to running the transition to animate the remaining items into place. The problem was that the custom ScrollView classes in the Recents app were manipulating the scrollX/Y values of the items as a side-effect of any resize of the list. Meanwhile, the LayoutTransition was manipulating both the size and the scroll position of the list. The transition's scroll values would get clobbered by the app's side-effect operation, causing the jump that we'd see on the screen. The fix was to disable the side-effect operation during a layout transition. Change-Id: I17f3f05d0e8a792e41bd46869ee700f128e63216
Diffstat (limited to 'libs/utils/StringArray.cpp')
0 files changed, 0 insertions, 0 deletions