Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/widget/
DTextHighlightingAnimation.java34 private static final int MAX_ALPHA = 255; field in TextHighlightingAnimation
177 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()
DPinnedHeaderListView.java72 private static final int MAX_ALPHA = 255; field in PinnedHeaderListView
313 header.alpha = MAX_ALPHA; in setFadingHeader()
323 header.alpha = MAX_ALPHA * (headerHeight + portion) / headerHeight; in setFadingHeader()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java65 private static final float MAX_ALPHA = 0.8f; field in EdgeEffect
197 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()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailTabCarousel.java93 private static final float MAX_ALPHA = 0.5f; field in ContactDetailTabCarousel
343 float alpha = mLastScrollPosition * MAX_ALPHA / mAllowedHorizontalScrollLength; in updateAlphaLayers()
346 mUpdatesTab.setAlphaLayerValue(MAX_ALPHA - alpha); in updateAlphaLayers()