Searched refs:MAX_ALPHA (Results 1 – 4 of 4) sorted by relevance
34 private static final int MAX_ALPHA = 255; field in TextHighlightingAnimation177 mDimmingSpan.setAlpha(MAX_ALPHA); in TextHighlightingAnimation()244 mDimmingSpan.setAlpha(mDimming ? MIN_ALPHA : MAX_ALPHA); in run()254 mDimmingSpan.setAlpha((int)(MIN_ALPHA + (MAX_ALPHA-MIN_ALPHA) * interpolatedTime)); in run()257 mDimmingSpan.setAlpha((int)(MIN_ALPHA + (MAX_ALPHA-MIN_ALPHA) * (1-interpolatedTime))); in run()
72 private static final int MAX_ALPHA = 255; field in PinnedHeaderListView313 header.alpha = MAX_ALPHA; in setFadingHeader()323 header.alpha = MAX_ALPHA * (headerHeight + portion) / headerHeight; in setFadingHeader()
65 private static final float MAX_ALPHA = 0.8f; field in EdgeEffect197 mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance, MAX_ALPHA)); in onPull()201 mGlowAlpha = mGlowAlphaStart = Math.min(MAX_ALPHA, in onPull()291 mGlowAlphaStart, Math.min(velocity * VELOCITY_GLOW_FACTOR * .00001f, MAX_ALPHA)); in onAbsorb()
93 private static final float MAX_ALPHA = 0.5f; field in ContactDetailTabCarousel343 float alpha = mLastScrollPosition * MAX_ALPHA / mAllowedHorizontalScrollLength; in updateAlphaLayers()346 mUpdatesTab.setAlphaLayerValue(MAX_ALPHA - alpha); in updateAlphaLayers()