OSDN Git Service

Fix: switching states during animations was broken
authorMichael Jurka <mikejurka@google.com>
Thu, 28 Oct 2010 22:36:06 +0000 (15:36 -0700)
committerMichael Jurka <mikejurka@google.com>
Fri, 29 Oct 2010 21:52:03 +0000 (14:52 -0700)
commit3c4c20fbe682cb4b3ef94f09afe0af09171583f3
tree12b89327b982535153b97ba77ce720e54b439260
parentcd68ff5b88de9b5136ff5a9ef698e4db2fc5db66
Fix: switching states during animations was broken

- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
src/com/android/launcher2/AllAppsTabbed.java
src/com/android/launcher2/CellLayout.java
src/com/android/launcher2/InterruptibleInOutAnimator.java
src/com/android/launcher2/Launcher.java
src/com/android/launcher2/LauncherAnimatorListenerAdapter.java [new file with mode: 0644]
src/com/android/launcher2/Workspace.java