From ff85415865886d406eea002ec3391bd053d0ed1b Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 8 Jun 2020 18:43:35 -0500 Subject: [PATCH] Set qsb fade interpolator same as workspace for home <-> overview Test: go to overview from home and vice versa in 0 and 3 button modes, ensure QSB fades at the same rate as the rest of workspace Bug: 154637581 Change-Id: I2f15aaf2ba59e6b1d4754060e7b3005bed5db9c7 --- .../uioverrides/states/QuickstepAtomicAnimationFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java index 79dc3e25c3..ba8656db76 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java @@ -156,6 +156,7 @@ public class QuickstepAtomicAnimationFactory extends if (toState == NORMAL && fromState == OVERVIEW) { config.setInterpolator(ANIM_WORKSPACE_SCALE, DEACCEL); config.setInterpolator(ANIM_WORKSPACE_FADE, ACCEL); + config.setInterpolator(ANIM_ALL_APPS_FADE, ACCEL); config.setInterpolator(ANIM_OVERVIEW_SCALE, clampToProgress(ACCEL, 0, 0.9f)); config.setInterpolator(ANIM_OVERVIEW_TRANSLATE_X, ACCEL); config.setInterpolator(ANIM_OVERVIEW_FADE, DEACCEL_1_7); @@ -210,6 +211,7 @@ public class QuickstepAtomicAnimationFactory extends } } config.setInterpolator(ANIM_WORKSPACE_FADE, OVERSHOOT_1_2); + config.setInterpolator(ANIM_ALL_APPS_FADE, OVERSHOOT_1_2); config.setInterpolator(ANIM_OVERVIEW_SCALE, OVERSHOOT_1_2); config.setInterpolator(ANIM_DEPTH, OVERSHOOT_1_2); Interpolator translationInterpolator = ENABLE_OVERVIEW_ACTIONS.get()