Home
last modified time | relevance | path

Searched refs:mAlpha (Results 1 – 16 of 16) 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/
DFocusIndicatorHelper.java54 return object.mAlpha;
95 private float mAlpha; field in FocusIndicatorHelper
110 mAlpha = alpha; in setAlpha()
111 mPaint.setAlpha((int) (mAlpha * mMaxAlpha)); in setAlpha()
132 if (mAlpha > 0) { in draw()
161 if (mAlpha > MIN_VISIBLE_ALPHA) { in onFocusChange()
/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/Car/Dialer/src/com/android/car/dialer/ui/view/
DCircleBitmapDrawable.java43 private int mAlpha = -1; field in CircleBitmapDrawable
62 if (mAlpha != -1) { in onBoundsChange()
63 mDrawable.setAlpha(mAlpha); in onBoundsChange()
85 mAlpha = alpha; in setAlpha()
/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/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java90 private int mAlpha = 255; field in FastBitmapDrawable
145 if (mAlpha != alpha) { in setAlpha()
146 mAlpha = alpha; in setAlpha()
159 return mAlpha; in getAlpha()
/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/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/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/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/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java791 private final FloatProp mAlpha; in playRemoteAppScaleDownAnim()
809 mAlpha = new FloatProp(1.0f, 0, 0, REMOTE_TO_RECENTS_APP_SCALE_DOWN_DURATION, in playRemoteAppScaleDownAnim()
820 params[1] = new SurfaceParams(appTarget.leash, mAlpha.value, appMatrix, in playRemoteAppScaleDownAnim()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java669 FloatProp mAlpha = new FloatProp(1f, 0f, 25, 125, LINEAR);
684 alpha = mAlpha.value;