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

Commit 868322ce authored by Mindy Pereira's avatar Mindy Pereira Committed by Android (Google) Code Review
Browse files

Merge "Reduce the time it takes to decay the glow after a pull." into gingerbread

parents 011b5bcc bcfcd8ec
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -33,10 +33,10 @@ public class EdgeGlow {
    private static final int RECEDE_TIME = 1000;
    private static final int RECEDE_TIME = 1000;


    // Time it will take before a pulled glow begins receding
    // 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
    // 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 MAX_ALPHA = 0.8f;
    private static final float HELD_EDGE_ALPHA = 0.7f;
    private static final float HELD_EDGE_ALPHA = 0.7f;