diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-12-07 11:42:33 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-12-07 14:18:16 -0800 |
commit | 3c585ddbf7af6c7ab603680212ed176de5a0e40b (patch) | |
tree | f2fc7d82f9a596ff47714795e39d8c19ca89631f /quickstep | |
parent | 47f5914069950d92e2c09c7fafec9bbf084b421d (diff) | |
download | android_packages_apps_Trebuchet-3c585ddbf7af6c7ab603680212ed176de5a0e40b.tar.gz android_packages_apps_Trebuchet-3c585ddbf7af6c7ab603680212ed176de5a0e40b.tar.bz2 android_packages_apps_Trebuchet-3c585ddbf7af6c7ab603680212ed176de5a0e40b.zip |
Removing view layer support during state animation.
View layer was only being used when fading in/out hotseat in overview.
From API 21+, android automatically create layers when animating alpha
The current support for view layers does not work properly when cancelling
animations and controlling partial animations
Change-Id: I2d5785471af9819575beefe65f1f2bdd28c76bd5
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java b/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java index 530d75739..60cd0c2be 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java +++ b/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java @@ -24,7 +24,6 @@ import com.android.launcher3.Launcher; import com.android.launcher3.LauncherState; import com.android.launcher3.LauncherStateManager.AnimationConfig; import com.android.launcher3.LauncherStateManager.StateHandler; -import com.android.launcher3.anim.AnimationLayerSet; import com.android.launcher3.anim.AnimationSuccessListener; import com.android.launcher3.anim.AnimatorSetBuilder; import com.android.launcher3.anim.Interpolators; @@ -54,7 +53,7 @@ public class RecentsViewStateController implements StateHandler { } @Override - public void setStateWithAnimation(LauncherState toState, AnimationLayerSet layerViews, + public void setStateWithAnimation(LauncherState toState, AnimatorSetBuilder builder, AnimationConfig config) { ObjectAnimator progressAnim = mTransitionProgress.animateToValue(toState == LauncherState.OVERVIEW ? 1 : 0); |