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

Commit 390aceaf authored by Mindy Pereira's avatar Mindy Pereira Committed by Android Git Automerger
Browse files

am 7a64e3a6: DO NOT MERGE Set the cap at alpha to 80% of the total available.

Merge commit '7a64e3a6' into gingerbread-plus-aosp

* commit '7a64e3a6':
  DO NOT MERGE Set the cap at alpha to 80% of the total available.
parents b3ffd4ad 7a64e3a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -38,7 +38,7 @@ public class EdgeGlow {
    // 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 = 10000;


    private static final float MAX_ALPHA = 1.f;
    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;
    private static final float HELD_EDGE_SCALE_Y = 0.5f;
    private static final float HELD_EDGE_SCALE_Y = 0.5f;
    private static final float HELD_GLOW_ALPHA = 0.5f;
    private static final float HELD_GLOW_ALPHA = 0.5f;