Searched refs:MAX_ALPHA (Results 1 – 4 of 4) sorted by relevance
68 private static final float MAX_ALPHA = 0.8f; field in EdgeEffect200 mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance, MAX_ALPHA)); in onPull()204 mGlowAlpha = mGlowAlphaStart = Math.min(MAX_ALPHA, in onPull()294 mGlowAlphaStart, Math.min(velocity * VELOCITY_GLOW_FACTOR * .00001f, MAX_ALPHA)); in onAbsorb()
147 private static final int MAX_ALPHA = 255; field in KeyboardView368 mPaint.setAlpha(MAX_ALPHA); in KeyboardView()821 (int) ((backgroundWidth - key.x - key.width) / key.width * MAX_ALPHA); in onBufferDraw()822 if (alpha > MAX_ALPHA) { in onBufferDraw()823 alpha = MAX_ALPHA; in onBufferDraw()832 alpha = (int) ((3 - mAnimateOutValue * 4) * MAX_ALPHA); in onBufferDraw()835 alpha = (int) ((1 - mAnimateOutValue * 2) * MAX_ALPHA); in onBufferDraw()837 if (alpha > MAX_ALPHA) { in onBufferDraw()838 alpha = MAX_ALPHA; in onBufferDraw()
74 private static final int MAX_ALPHA = 255; field in PinnedHeaderListView321 header.alpha = MAX_ALPHA; in setFadingHeader()331 header.alpha = MAX_ALPHA * (headerHeight + portion) / headerHeight; in setFadingHeader()
126 private static final int MAX_ALPHA = 255; field in CategoryFragment549 (int) (MAX_ALPHA * (1 - value.getAnimatedFraction())))) in setUpLiveWallpaperPreview()