Home
last modified time | relevance | path

Searched refs:mAlpha (Results 1 – 17 of 17) 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/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/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java54 return object.mAlpha;
95 private float mAlpha; field in ItemFocusIndicatorHelper
128 mAlpha = alpha; in setAlpha()
129 mPaint.setAlpha((int) (mAlpha * mMaxAlpha)); in setAlpha()
130 mInnerPaint.setAlpha((int) (mAlpha * mMaxAlpha)); in setAlpha()
154 if (mAlpha <= 0) return; in draw()
205 if (mAlpha > MIN_VISIBLE_ALPHA) { in changeFocus()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationOlderViewHolder.java41 private final float mAlpha; field in CarNotificationOlderViewHolder
51 mAlpha = context.getResources().getFloat(R.dimen.config_olderNotificationsAlpha); in CarNotificationOlderViewHolder()
54 mNotificationOlderText.setAlpha(mAlpha); in CarNotificationOlderViewHolder()
59 mClearAllButton.setAlpha(mAlpha); in CarNotificationOlderViewHolder()
DCarNotificationFooterViewHolder.java44 private final float mAlpha; field in CarNotificationFooterViewHolder
65 mAlpha = context.getResources().getFloat(R.dimen.config_olderNotificationsAlpha); in CarNotificationFooterViewHolder()
82 mClearAllButton.setAlpha(containsSeenNotifications ? mAlpha : 1); in bind()
/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java78 private int mAlpha = 255; field in FastBitmapDrawable
143 if (mAlpha != alpha) { in setAlpha()
144 mAlpha = alpha; in setAlpha()
158 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/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollDrawable.java64 private int mAlpha; field in UdfpsEnrollDrawable
247 mAlpha = alpha; in setAlpha()
257 return mAlpha; in getAlpha()
/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/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollDrawable.java77 private int mAlpha; field in UdfpsEnrollDrawable
279 mAlpha = alpha; in setAlpha()
289 return mAlpha; in getAlpha()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java694 final FloatProp mAlpha = new FloatProp(1f, toAlpha, Interpolators.ACCELERATE_2); in setupReturnDragAnimator()
697 animListener.updateDragShadow(mDx.value, mDy.value, mScale.value, mAlpha.value); in setupReturnDragAnimator()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1517 FloatProp mAlpha = new FloatProp(1f, 0f, clampToDuration(LINEAR, 25, 125, duration)); in getFallbackClosingWindowAnimators()
1549 .setAlpha(mAlpha.value) in getFallbackClosingWindowAnimators()