Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff854158 authored by Tony Wickham's avatar Tony Wickham
Browse files

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
parent db087d3c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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()