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
This commit is contained in:
Mindy Pereira
2010-10-13 15:39:26 -07:00
parent 07e1be62c7
commit bcfcd8ecd4

View File

@@ -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;