summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherStateTransitionAnimation.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-29 11:03:24 -0700
committerWinson Chung <winsonc@google.com>2015-05-04 14:45:54 -0700
commitcd99cd3ed6a84b9dcd8f4c60b0941760f85a64ce (patch)
tree043eabaa600445b38ef89a2dd6de9de3a4f26955 /src/com/android/launcher3/LauncherStateTransitionAnimation.java
parentd47d90224a6f723ea7b30a5767c9faccc02e63bd (diff)
downloadandroid_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.java8
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();