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

Commit 728e2341 authored by Luca Zuccarini's avatar Luca Zuccarini Committed by Automerger Merge Worker
Browse files

Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev...

Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev am: 46338b09 am: 9e50fc0a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18670230



Change-Id: I8cf3773dff04ced9335355f9f99311df1a9bd97f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 01834765 9e50fc0a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -191,6 +191,9 @@ public class QuickstepAtomicAnimationFactory extends
                    1 - ALL_APPS_SCRIM_OPAQUE_THRESHOLD,
                    1 - ALL_APPS_SCRIM_VISIBLE_THRESHOLD));
            config.setInterpolator(ANIM_VERTICAL_PROGRESS, EMPHASIZED_ACCELERATE);
            if (!isTablet) {
                config.setInterpolator(ANIM_WORKSPACE_FADE, INSTANT);
            }
        } else if (fromState == NORMAL && toState == ALL_APPS) {
            if (mActivity.getDeviceProfile().isTablet) {
                config.setInterpolator(ANIM_VERTICAL_PROGRESS, EMPHASIZED_DECELERATE);
+3 −0
Original line number Diff line number Diff line
@@ -157,6 +157,9 @@ public class AllAppsSwipeController extends AbstractStateChangeTouchController {
        config.setInterpolator(ANIM_SCRIM_FADE, ALLAPPS_STAGGERED_FADE_LATE_RESPONDER);
        config.setInterpolator(ANIM_ALL_APPS_FADE, isTablet
                ? FINAL_FRAME : ALLAPPS_STAGGERED_FADE_EARLY_RESPONDER);
        if (!isTablet) {
            config.setInterpolator(ANIM_WORKSPACE_FADE, INSTANT);
        }
    }

    /**