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

Commit 7ee40a41 authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Update the workspace and background scale interpolators.

The spec had a typo (EMPHASIZED_DECELERATE instead of
EMPHASIZED_ACCELERATE). In addition, we're now using LINEAR for the
background since the feel is smoother this way. Cleared with motion
(simonroberts@).

Bug: 232418544
Test: manual
Change-Id: I492dbe8008856d331836793177f1dd58c3265ca2
parent 74819542
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -65,13 +65,13 @@ public class AllAppsSwipeController extends AbstractStateChangeTouchController {
    public static final Interpolator BLUR =
            Interpolators.clampToProgress(
                    Interpolators.mapToProgress(
                            EMPHASIZED_DECELERATE, 0f, ALL_APPS_FULL_DEPTH_PROGRESS),
                            LINEAR, 0f, ALL_APPS_FULL_DEPTH_PROGRESS),
                    WORKSPACE_MOTION_START, ALL_APPS_STATE_TRANSITION);
    public static final Interpolator WORKSPACE_FADE =
            Interpolators.clampToProgress(FINAL_FRAME, 0f, ALL_APPS_STATE_TRANSITION);
    public static final Interpolator WORKSPACE_SCALE =
            Interpolators.clampToProgress(
                    EMPHASIZED_DECELERATE, WORKSPACE_MOTION_START, ALL_APPS_STATE_TRANSITION);
                    EMPHASIZED_ACCELERATE, WORKSPACE_MOTION_START, ALL_APPS_STATE_TRANSITION);
    public static final Interpolator HOTSEAT_FADE = WORKSPACE_FADE;
    public static final Interpolator HOTSEAT_SCALE = HOTSEAT_FADE;
    public static final Interpolator HOTSEAT_TRANSLATE =