Searched refs:SWIPE_PROGRESS_FADE_START (Results 1 – 1 of 1) sorted by relevance
58 public static float SWIPE_PROGRESS_FADE_START = 0f; // fraction of thumbnail width field in SwipeHelper164 if (pos >= viewSize * SWIPE_PROGRESS_FADE_START) { in getSwipeProgressForOffset()165 result = 1.0f - (pos - viewSize * SWIPE_PROGRESS_FADE_START) / fadeSize; in getSwipeProgressForOffset()166 } else if (pos < viewSize * (1.0f - SWIPE_PROGRESS_FADE_START)) { in getSwipeProgressForOffset()167 result = 1.0f + (viewSize * SWIPE_PROGRESS_FADE_START + pos) / fadeSize; in getSwipeProgressForOffset()