Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/animation/
DTransformation.java49 protected float mAlpha; field in Transformation
75 mAlpha = 1.0f; in clear()
106 mAlpha = t.getAlpha(); in set()
123 mAlpha *= t.getAlpha(); in compose()
142 mAlpha *= t.getAlpha(); in postCompose()
168 mAlpha = alpha; in setAlpha()
208 return mAlpha; in getAlpha()
232 sb.append("{alpha="); sb.append(mAlpha); in toShortString()
242 pw.print("{alpha="); pw.print(mAlpha); in printShortString()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java71 private int mAlpha = 0; field in TransitionDrawable
113 mAlpha = 0; in startTransition()
126 mAlpha = 255; in showSecondLayer()
136 mAlpha = 0; in resetTransition()
156 mAlpha = 0; in reverseTransition()
161 mAlpha = 255; in reverseTransition()
171 mFrom = mAlpha; in reverseTransition()
195 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
200 final int alpha = mAlpha; in draw()
DShapeDrawable.java236 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha)); in draw()
283 mShapeState.mAlpha = alpha; in setAlpha()
289 return mShapeState.mAlpha; in getAlpha()
547 int mAlpha = 255; field in ShapeDrawable.ShapeState
582 mAlpha = orig.mAlpha; in ShapeState()
DDrawableContainer.java61 private int mAlpha = 0xFF; field in DrawableContainer
143 if (!mHasAlpha || mAlpha != alpha) { in setAlpha()
145 mAlpha = alpha; in setAlpha()
158 return mAlpha; in getAlpha()
284 mCurrDrawable.setAlpha(mAlpha); in jumpToCurrentState()
535 d.setAlpha(mAlpha); in initializeDrawableForDisplay()
576 mCurrDrawable.setAlpha(mAlpha); in animate()
581 mCurrDrawable.setAlpha(((255-animAlpha)*mAlpha)/255); in animate()
598 mLastDrawable.setAlpha((animAlpha*mAlpha)/255); in animate()
DGradientDrawable.java164 private int mAlpha = 0xFF; // modified by the caller field in GradientDrawable
619 int scale = mAlpha + (mAlpha >> 7); in modulateAlpha()
711 currStrokeAlpha < 255 && (mAlpha < 255 || colorFilter != null); in draw()
725 mLayerPaint.setAlpha(mAlpha); in draw()
745 mFillPaint.setColor(mAlpha << 24); in draw()
1006 if (alpha != mAlpha) {
1007 mAlpha = alpha;
1014 return mAlpha;
1055 return (mAlpha == 255 && mGradientState.mOpaqueOverBounds && isOpaqueForState()) ?
/frameworks/base/libs/hwui/
DOutline.h40 , mAlpha(0.0f) {} in Outline()
43 mAlpha = alpha; in setRoundRect()
76 mAlpha = alpha; in setConvexPath()
82 mAlpha = 0.0f; in setEmpty()
88 mAlpha = 0.0f; in setNone()
96 return mAlpha; in getAlpha()
149 float mAlpha; variable
DRenderProperties.h89 return RP_SET(mAlpha, alpha); in setAlpha()
93 return mAlpha; in alpha()
135 uint8_t mAlpha; variable
244 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
248 return mPrimitiveFields.mAlpha; in getAlpha()
623 || (!MathUtils::isZero(mPrimitiveFields.mAlpha) in promotedToLayer()
624 && mPrimitiveFields.mAlpha < 1 in promotedToLayer()
638 float mAlpha = 1; member
DDeferredLayerUpdater.cpp68 mAlpha = PaintUtils::getAlphaDirect(paint); in setPaint()
76 mLayer = mCreateLayerFn(mRenderState, mWidth, mHeight, mColorFilter, mAlpha, mMode, mBlend); in apply()
80 mLayer->setAlpha(mAlpha, mMode); in apply()
DRenderProperties.cpp135 if (mPrimitiveFields.mAlpha < 1 in debugOutputProperties()
136 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
143 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl; in debugOutputProperties()
154 << (int)(mPrimitiveFields.mAlpha * 255) << ", 0x" << std::hex in debugOutputProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java43 protected float mAlpha = 1f; field in AnimateableViewBounds
60 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); in getOutline()
77 if (Float.compare(alpha, mAlpha) != 0) { in setAlpha()
78 mAlpha = alpha; in setAlpha()
88 return mAlpha; in getAlpha()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java43 private float mAlpha = 0; field in DimLayer
122 adjustAlpha(mAlpha); in constructSurface()
138 return mTargetAlpha != mAlpha; in isAnimating()
164 if (mAlpha == alpha) { in setAlpha()
167 mAlpha = alpha; in setAlpha()
279 mTargetAlpha = mAlpha = 0; in show()
295 || (!animating && mAlpha != alpha)) { in show()
301 mStartAlpha = mAlpha; in show()
343 mTargetAlpha = mAlpha = 0; in stepAnimation()
375 pw.print(" mAlpha="); pw.println(mAlpha); in printTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonDispatcher.java39 private Integer mAlpha; field in ButtonDispatcher
62 if (mAlpha != null) { in addView()
63 view.setAlpha(mAlpha); in addView()
89 return mAlpha != null ? mAlpha : 1; in getAlpha()
118 mAlpha = alpha; in setAlpha()
DTrustDrawable.java54 private int mAlpha; field in TrustDrawable
93 int newAlpha = (mCurAlpha * mAlpha) / 256; in draw()
104 mAlpha = alpha; in setAlpha()
109 return mAlpha; in getAlpha()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorOverlayDimmer.java35 private int mAlpha; field in ColorOverlayDimmer
90 mAlpha = (int) (255 * mAlphaFloat); in setActiveLevel()
91 mPaint.setAlpha(mAlpha); in setActiveLevel()
98 return mAlpha != 0; in needsDraw()
105 return mAlpha; in getAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java111 private int mAlpha = 0; field in AssistDisclosure.AssistDisclosureView
171 mAlpha = 0; in onDetachedFromWindow()
181 mPaint.setAlpha(mAlpha); in onDraw()
182 mShadowPaint.setAlpha(mAlpha / 4); in onDraw()
232 mAlpha = (int) mAlphaOutAnimator.getAnimatedValue(); in onAnimationUpdate()
234 mAlpha = (int) mAlphaInAnimator.getAnimatedValue(); in onAnimationUpdate()
/frameworks/base/graphics/java/android/graphics/
DOutline.java73 public float mAlpha; field in Outline
141 mAlpha = alpha; in setAlpha()
148 return mAlpha; in getAlpha()
166 mAlpha = src.mAlpha; in set()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java43 private float mAlpha = 1f; field in DrawableHolder
129 if (mAlpha <= threshold) // don't bother if it won't show up in draw()
135 mDrawable.setAlpha((int) Math.round(mAlpha * 255f)); in draw()
175 mAlpha = alpha; in setAlpha()
195 return mAlpha; in getAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java45 private int mAlpha = 255; field in KeyguardUserSwitcherScrim
68 mAlpha = alpha; in setAlpha()
75 return mAlpha; in getAlpha()
106 (int) (Color.alpha(mDarkColor) * mAlpha / 255f), 0, 0, 0), in updatePaint()
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DGradientDrawable.java50 private int mAlpha = 255; field in GradientDrawable
121 if (alpha != mAlpha) { in setAlpha()
122 mAlpha = alpha; in setAlpha()
123 mPaint.setAlpha(mAlpha); in setAlpha()
130 return mAlpha; in getAlpha()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java225 int mAlpha = FULL_ALPHA; field in BackgroundManager.DrawableWrapper
233 mAlpha = wrapper.mAlpha; in DrawableWrapper()
247 int mAlpha = FULL_ALPHA; field in BackgroundManager.TranslucentLayerDrawable
263 if (mAlpha != alpha) { in setAlpha()
264 mAlpha = alpha; in setAlpha()
275 mWrapper[wrapperIndex].mAlpha = alpha; in setWrapperAlpha()
283 return mAlpha; in getAlpha()
361 if (mAlpha < FULL_ALPHA) { in draw()
362 alpha = alpha * mAlpha; in draw()
365 if (mWrapper[i].mAlpha < FULL_ALPHA) { in draw()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java466 float mAlpha;
483 mAlpha = 1.0f;
493 mAlpha = 0.0f;
498 int alpha = Math.round(0xFF * mAlpha);
506 return mAlpha;
510 this.mAlpha = alpha;
538 if (mAlpha > 0) {
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java52 private int mAlpha = 255; field in ScrollBarDrawable
273 d.setAlpha(mAlpha); in propagateCurrentState()
314 mAlpha = alpha; in setAlpha()
333 return mAlpha; in getAlpha()
DImageView.java111 private int mAlpha = 255; field in ImageView
1516 return mAlpha;
1543 if (mAlpha != alpha) {
1544 mAlpha = alpha;
1561 mDrawable.setAlpha(mAlpha * mViewAlphaScale >> 8);
1569 && mAlpha * mViewAlphaScale >> 8 == 255
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java92 private float mAlpha = 0f; field in NotificationMenuRow
140 return mAlpha > 0; in isMenuVisible()
308 + " mAlpha= " + mAlpha in handleUpEvent()
508 mAlpha = alpha;
520 mMenuContainer.getChildAt(i).setAlpha(mAlpha);
555 mFadeAnimator = ValueAnimator.ofFloat(mAlpha, 1);
583 mMenuFadedIn = mAlpha == 1;
/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java640 int mAlpha = 255; field in CircularProgressDrawable.Ring
702 mPaint.setAlpha(mAlpha); in draw()
739 mArrowPaint.setAlpha(mAlpha); in drawTriangle()
821 mAlpha = alpha; in setAlpha()
828 return mAlpha; in getAlpha()

12