Home
last modified time | relevance | path

Searched refs:mAlpha (Results 1 – 18 of 18) 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.java73 private float mAlpha; field in GLES11Canvas
135 mAlpha = 1.0f; in setSize()
158 mAlpha = alpha; in setAlpha()
163 return mAlpha; in getAlpha()
169 mAlpha *= alpha; in multiplyAlpha()
180 mGLState.setColorMode(paint.getColor(), mAlpha); in drawRect() local
198 mGLState.setColorMode(paint.getColor(), mAlpha); in drawLine() local
214 mGLState.setColorMode(color, mAlpha); in fillRect()
283 float alpha = mAlpha; in drawMesh()
374 drawTexture(texture, x, y, width, height, mAlpha); in drawTexture()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerViewFastScrollPopup.java47 private float mAlpha; field in BaseRecyclerViewFastScrollPopup
127 mAlpha = alpha; in setAlpha()
132 return mAlpha; in getAlpha()
147 mBg.setAlpha((int) (mAlpha * 255)); in draw()
149 mTextPaint.setAlpha((int) (mAlpha * 255)); in draw()
158 return (mAlpha > 0f) && (mSectionName != null); in isVisible()
DFastBitmapDrawable.java104 private int mAlpha = 255; field in FastBitmapDrawable
132 mAlpha = alpha; in setAlpha()
143 return mAlpha; in getAlpha()
DLauncherViewPropertyAnimator.java51 float mAlpha; field in LauncherViewPropertyAnimator
216 mViewPropertyAnimator.alpha(mAlpha); in start()
267 mAlpha = value; in alpha()
/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/Launcher2/src/com/android/launcher2/
DFastBitmapDrawable.java29 private int mAlpha; field in FastBitmapDrawable
35 mAlpha = 255; in FastBitmapDrawable()
64 mAlpha = alpha; in setAlpha()
73 return mAlpha; in getAlpha()
DLauncherViewPropertyAnimator.java49 float mAlpha; field in LauncherViewPropertyAnimator
215 mViewPropertyAnimator.alpha(mAlpha); in start()
263 mAlpha = value; in alpha()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCircleBitmapDrawable.java42 private int mAlpha = -1; field in CircleBitmapDrawable
74 if (mAlpha != -1) { in onBoundsChange()
75 mDrawable.setAlpha(mAlpha); in onBoundsChange()
97 mAlpha = alpha; in setAlpha()
/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/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImage.java60 private float mAlpha = 1f; field in TransitionImage
121 return mAlpha; in getAlpha()
125 mAlpha = alpha; in setAlpha()
258 bundle.putFloat(EXTRA_TRANSITION_BITMAP_ALPHA, mAlpha); in writeToBundle()
275 intent.putExtra(EXTRA_TRANSITION_BITMAP_ALPHA, mAlpha); in writeToIntent()
355 + " bitmap=" + mBitmap + " alpha=" + mAlpha + " saturation=" + mSaturation in toString()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTargetDrawable.java45 private float mAlpha = 1.0f; field in TargetDrawable
172 mAlpha = alpha; in setAlpha()
192 return mAlpha; in getAlpha()
238 mDrawable.setAlpha((int) Math.round(mAlpha * 255f)); in draw()
/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.java38 private int mAlpha; field in TransformedImageDrawable
54 mAlpha = alpha; in setAlpha()
58 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/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()