summaryrefslogtreecommitdiff
path: root/quickstep/src
diff options
context:
space:
mode:
authorLuca Zuccarini <acul@google.com>2022-05-31 13:50:28 +0000
committerLuca Zuccarini <acul@google.com>2022-05-31 15:46:28 +0000
commita36af25ab7b56fbca10221175b5be6bd9ebec9d6 (patch)
treee65310fb2fd3d34f27d355fe70c80c4ed115491a /quickstep/src
parent192b3c3118d6ad74fed6544c5bec5d2420cf1d6c (diff)
downloadLauncher3-a36af25ab7b56fbca10221175b5be6bd9ebec9d6.tar.gz
Remove workspace fade from ALL_APPS > NORMAL transition.
This applies to phones only for the one-off transition (Home gesture or swipe back. See before and after videos in the bug. Bug: 234359814 Test: manual Change-Id: I8f4fc9ec40687b641a721bd28b32fcf50514861f
Diffstat (limited to 'quickstep/src')
-rw-r--r--quickstep/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java b/quickstep/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java
index f2162b03af..2d7fe69d3b 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/states/QuickstepAtomicAnimationFactory.java
@@ -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);