Introduce a new Home animation for workspace and the outgoing task.
The values are currently the same for all display and orientation configurations, but they might change before launch. There are a couple known imperfections: * Swiping out of a hotseat app with very low velocity doesn't look great * Sometimes, if the window movement reaches its final location faster than the background is done scaling, there is a small snap in icon position Bug: 298089923 Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED Test: verified with the flag on and off Change-Id: Id54c7f0a76f62108d8b92a3b5e78634fff64dbef
This commit is contained in:
@@ -193,7 +193,7 @@ public class TaskbarLauncherStateController {
|
||||
updateStateForFlag(FLAG_LAUNCHER_IN_STATE_TRANSITION, true);
|
||||
if (!mShouldDelayLauncherStateAnim) {
|
||||
if (toState == LauncherState.NORMAL) {
|
||||
applyState(QuickstepTransitionManager.TASKBAR_TO_HOME_DURATION);
|
||||
applyState(QuickstepTransitionManager.getTaskbarToHomeDuration());
|
||||
} else {
|
||||
applyState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user