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

Commit bcfcd8ec authored by Mindy Pereira's avatar Mindy Pereira
Browse files

Reduce the time it takes to decay the glow after a pull.

The decay is now in line for the decay for absorb glows.
Fixes b/3094064  Overscroll fade timeout is too long

Change-Id: Ida987c8f6193fcb15f743d72c590a5c1daef056d
parent 07e1be62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,10 +33,10 @@ public class EdgeGlow {
    private static final int RECEDE_TIME = 1000;

    // Time it will take before a pulled glow begins receding
    private static final int PULL_TIME = 250;
    private static final int PULL_TIME = 167;

    // Time it will take for a pulled glow to decay to partial strength before release
    private static final int PULL_DECAY_TIME = 10000;
    private static final int PULL_DECAY_TIME = 1000;

    private static final float MAX_ALPHA = 0.8f;
    private static final float HELD_EDGE_ALPHA = 0.7f;