Merge "Fix reverse interpolation when closing All Apps." into main

This commit is contained in:
Andy Wickham authored and Android (Google) Code Review committed 2025-06-02 12:57:02 -07:00
commit eeaebacf66
1 file changed
+4 -3
@@ -209,9 +209,10 @@ public class AllAppsSwipeController extends AbstractStateChangeTouchController {
if (!config.isUserControlled()) {
config.setInterpolator(ANIM_VERTICAL_PROGRESS, EMPHASIZED);
}
config.setInterpolator(ANIM_WORKSPACE_SCALE, ALL_APPS_SHEET_DEPTH);
config.setInterpolator(ANIM_HOTSEAT_SCALE, ALL_APPS_SHEET_DEPTH);
config.setInterpolator(ANIM_DEPTH, ALL_APPS_SHEET_DEPTH);
config.setInterpolator(ANIM_WORKSPACE_SCALE,
Interpolators.reverse(ALL_APPS_SHEET_DEPTH));
config.setInterpolator(ANIM_HOTSEAT_SCALE, Interpolators.reverse(ALL_APPS_SHEET_DEPTH));
config.setInterpolator(ANIM_DEPTH, Interpolators.reverse(ALL_APPS_SHEET_DEPTH));
if (!Flags.allAppsBlur() && launcher.getDeviceProfile().getDeviceProperties().isPhone()) {
// On phones without blur, reveal the workspace and hotseat when leaving All Apps.
config.setInterpolator(ANIM_WORKSPACE_FADE, INSTANT);