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

Commit f168bb7a authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Adjust all apps zoom level

The All Apps scrim fades in early, covering part of the zoom animation.
We need to adjust the max zoom in order to make All Apps consistent with
Overview, -1, and Shade.

Test: pull up the all apps drawer
Fixes: 195992422
Change-Id: Ia7bbe17fe7f227dd0a16ba7d21b402cff57176f0
parent 646f8046
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -70,7 +70,9 @@ public class AllAppsState extends LauncherState {

    @Override
    protected float getDepthUnchecked(Context context) {
        return 1f;
        // The scrim fades in at approximately 50% of the swipe gesture.
        // This means that the depth should be greater than 1, in order to fully zoom out.
        return 2f;
    }

    @Override