mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:28:10 +00:00
Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
46338b09e3
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user