diff options
author | Winson Chung <winsonc@google.com> | 2015-04-29 11:03:24 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-05-04 14:45:54 -0700 |
commit | cd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce (patch) | |
tree | 043eabaa600445b38ef89a2dd6de9de3a4f26955 /src/com/android/launcher3/LauncherStateTransitionAnimation.java | |
parent | d47d90224a6f723ea7b30a5767c9faccc02e63bd (diff) | |
download | android_packages_apps_Trebuchet-cd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce.tar.gz android_packages_apps_Trebuchet-cd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce.tar.bz2 android_packages_apps_Trebuchet-cd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce.zip |
Launcher-side changes to support prediction bar.
Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a
Diffstat (limited to 'src/com/android/launcher3/LauncherStateTransitionAnimation.java')
-rw-r--r-- | src/com/android/launcher3/LauncherStateTransitionAnimation.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/launcher3/LauncherStateTransitionAnimation.java b/src/com/android/launcher3/LauncherStateTransitionAnimation.java index f91cfa07b..1effe1e37 100644 --- a/src/com/android/launcher3/LauncherStateTransitionAnimation.java +++ b/src/com/android/launcher3/LauncherStateTransitionAnimation.java @@ -249,8 +249,8 @@ public class LauncherStateTransitionAnimation { // Create the workspace animation. // NOTE: this call apparently also sets the state for the workspace if !animated - Animator workspaceAnim = mLauncher.getWorkspace().setStateWithAnimation( - toWorkspaceState, -1, animated, layerViews); + Animator workspaceAnim = mLauncher.startWorkspaceStateChangeAnimation(toWorkspaceState, -1, + animated, layerViews); if (animated && initialized) { mStateAnimation = LauncherAnimUtils.createAnimatorSet(); @@ -546,8 +546,8 @@ public class LauncherStateTransitionAnimation { // Create the workspace animation. // NOTE: this call apparently also sets the state for the workspace if !animated - Animator workspaceAnim = mLauncher.getWorkspace().setStateWithAnimation( - toWorkspaceState, toWorkspacePage, animated, layerViews); + Animator workspaceAnim = mLauncher.startWorkspaceStateChangeAnimation(toWorkspaceState, + toWorkspacePage, animated, layerViews); if (animated && initialized) { mStateAnimation = LauncherAnimUtils.createAnimatorSet(); |