Searched refs:viewSize (Results 1 – 3 of 3) sorted by relevance
147 float viewSize = getSize(view); in getAlphaForOffset() local148 final float fadeSize = ALPHA_FADE_END * viewSize; in getAlphaForOffset()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()161 float viewSize = getSize(view); in getTextAlphaForOffset() local162 final float fadeSize = ALPHA_TEXT_FADE_START * viewSize; in getTextAlphaForOffset()
628 public RevealRequest(float viewSize, String accessibilityString) { in RevealRequest() argument630 mViewSize = viewSize; in RevealRequest()
184 float viewSize = getSize(view); in getSwipeProgressForOffset() local185 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset()