Home
last modified time | relevance | path

Searched refs:mAlpha (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java101 canvas.multiplyAlpha(mAlpha); in render()
168 private float mAlpha; field in UndoBarView
176 mAlpha = getTargetAlpha(visibility); in setVisibility()
184 if (mAnimationStartTime == NO_ANIMATION && mAlpha == target) return; in animateVisibility()
187 mFromAlpha = mAlpha; in animateVisibility()
200 mAlpha = mFromAlpha + ((mToAlpha > mFromAlpha) ? delta : -delta); in advanceAnimation()
201 mAlpha = Utils.clamp(mAlpha, 0f, 1f); in advanceAnimation()
203 if (mAlpha == mToAlpha) { in advanceAnimation()
205 if (mAlpha == 0) { in advanceAnimation()
DEdgeEffect.java413 private int mAlpha = 255; field in EdgeEffect.Drawable
432 mAlpha = alpha; in setAlpha()
437 canvas.multiplyAlpha(mAlpha / 255.0f); in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java71 private float mAlpha; field in GLES11Canvas
133 mAlpha = 1.0f; in setSize()
156 mAlpha = alpha; in setAlpha()
161 return mAlpha; in getAlpha()
167 mAlpha *= alpha; in multiplyAlpha()
178 mGLState.setColorMode(paint.getColor(), mAlpha); in drawRect() local
196 mGLState.setColorMode(paint.getColor(), mAlpha); in drawLine() local
212 mGLState.setColorMode(color, mAlpha); in fillRect()
281 float alpha = mAlpha; in drawMesh()
372 drawTexture(texture, x, y, width, height, mAlpha); in drawTexture()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java54 return object.mAlpha;
94 private float mAlpha; field in ItemFocusIndicatorHelper
112 mAlpha = alpha; in setAlpha()
113 mPaint.setAlpha((int) (mAlpha * mMaxAlpha)); in setAlpha()
137 if (mAlpha <= 0) return; in draw()
174 if (mAlpha > MIN_VISIBLE_ALPHA) { in changeFocus()
/packages/apps/Contacts/src/com/android/contacts/widget/
DAlphaTouchInterceptorOverlay.java46 private float mAlpha = 0.0f; field in AlphaTouchInterceptorOverlay
72 setAlphaLayerValue(mAlpha); in setAlphaLayer()
77 mAlpha = alpha; in setAlphaLayerValue()
79 ContactDisplayUtils.setAlphaOnViewBackground(mAlphaLayer, mAlpha); in setAlphaLayerValue()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java58 private float mAlpha = 1f; field in FrameLayoutWithShadows.ShadowView
80 background.setAlpha((int)(255 * mAlpha)); in setBackground()
86 if (mAlpha != alpha) { in setAlpha()
87 mAlpha = alpha; in setAlpha()
103 return mAlpha; in getAlpha()
113 if (mAlpha >= 0) { in setDrawableBottom()
114 mDrawableBottom.setAlpha((int)(255 * mAlpha)); in setDrawableBottom()
/packages/apps/Camera2/src/com/android/camera/ui/
DAnimatedCircleDrawable.java35 private int mAlpha = 0xff; field in AnimatedCircleDrawable
53 int paintColor = (mAlpha << 24) | (mColor & 0x00ffffff); in updatePaintColor()
66 mAlpha = alpha; in setAlpha()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java49 private float mAlpha; field in PieItem
94 mAlpha = alpha; in setAlpha()
199 setAlpha(mAlpha); in setImageResource()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java48 private int mAlpha; field in AllAppsBackgroundDrawable.TransformedImageDrawable
64 mAlpha = alpha; in setAlpha()
68 return mAlpha; in getAlpha()
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java376 float mAlpha; field in FireflyRenderer.Firefly
387 mAlpha = 0f; in reset()
393 mAlpha = 1f-mZ; in updatePositionAndScale()
410 gl.glColor4f(1, 1, 1, mAlpha); in draw()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java499 private int mAlpha; field in MaterialProgressDrawable.Ring
546 if (mAlpha < 255) { in draw()
548 mCirclePaint.setAlpha(255 - mAlpha); in draw()
646 return mAlpha; in getAlpha()
653 mAlpha = alpha; in setAlpha()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java48 private float mAlpha = 1.0f; field in StateView
259 mAlpha = alpha; in setBackgroundAlpha()
265 return mAlpha; in getBackgroundAlpha()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1159 FloatProp mAlpha = new FloatProp(1f, 0f, 25, 125, LINEAR); in getClosingWindowAnimators()
1192 .withAlpha(mAlpha.value) in getClosingWindowAnimators()