Home
last modified time | relevance | path

Searched refs:ALPHA_FADE_START (Results 1 – 1 of 1) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java59 public static float ALPHA_FADE_START = 0f; // fraction of thumbnail width field in SwipeHelper
151 if (pos >= viewSize * ALPHA_FADE_START) { in getAlphaForOffset()
152 result = 1.0f - (pos - viewSize * ALPHA_FADE_START) / fadeSize; in getAlphaForOffset()
153 } else if (pos < viewSize * (1.0f - ALPHA_FADE_START)) { in getAlphaForOffset()
154 result = 1.0f + (viewSize * ALPHA_FADE_START + pos) / fadeSize; in getAlphaForOffset()