Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/animation/
DTransformation.java50 protected float mAlpha; field in Transformation
76 mAlpha = 1.0f; in clear()
107 mAlpha = t.getAlpha(); in set()
124 mAlpha *= t.getAlpha(); in compose()
143 mAlpha *= t.getAlpha(); in postCompose()
169 mAlpha = alpha; in setAlpha()
209 return mAlpha; in getAlpha()
233 sb.append("{alpha="); sb.append(mAlpha); in toShortString()
244 pw.print("{alpha="); pw.print(mAlpha); in printShortString()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java74 private int mAlpha = 0; field in TransitionDrawable
117 mAlpha = 0; in startTransition()
130 mAlpha = 255; in showSecondLayer()
140 mAlpha = 0; in resetTransition()
160 mAlpha = 0; in reverseTransition()
165 mAlpha = 255; in reverseTransition()
175 mFrom = mAlpha; in reverseTransition()
199 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
204 final int alpha = mAlpha; in draw()
DColorStateListDrawable.java97 mState.mAlpha = alpha; in setAlpha()
106 mState.mAlpha = -1; in clearAlpha()
150 if (mState.mAlpha != -1) { in onStateChange()
151 color = (color & 0xFFFFFF) | MathUtils.constrain(mState.mAlpha, 0, 255) << 24; in onStateChange()
245 int mAlpha = -1; field in ColorStateListDrawable.ColorStateListDrawableState
255 mAlpha = state.mAlpha; in ColorStateListDrawableState()
DShapeDrawable.java235 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha)); in draw()
282 mShapeState.mAlpha = alpha; in setAlpha()
288 return mShapeState.mAlpha; in getAlpha()
549 int mAlpha = 255; field in ShapeDrawable.ShapeState
584 mAlpha = orig.mAlpha; in ShapeState()
DDrawableContainer.java65 private int mAlpha = 0xFF; field in DrawableContainer
144 if (!mHasAlpha || mAlpha != alpha) { in setAlpha()
146 mAlpha = alpha; in setAlpha()
159 return mAlpha; in getAlpha()
285 mCurrDrawable.setAlpha(mAlpha); in jumpToCurrentState()
536 d.setAlpha(mAlpha); in initializeDrawableForDisplay()
577 mCurrDrawable.setAlpha(mAlpha); in animate()
582 mCurrDrawable.setAlpha(((255-animAlpha)*mAlpha)/255); in animate()
599 mLastDrawable.setAlpha((animAlpha*mAlpha)/255); in animate()
/frameworks/base/libs/hwui/
DOutline.h31 Outline() : mShouldClip(false), mType(Type::None), mRadius(0), mAlpha(0.0f) {} in Outline()
34 mAlpha = alpha; in setRoundRect()
68 mAlpha = alpha; in setPath()
74 mAlpha = 0.0f; in setEmpty()
80 mAlpha = 0.0f; in setNone()
85 float getAlpha() const { return mAlpha; } in getAlpha()
127 float mAlpha; variable
DRenderProperties.h86 bool setAlpha(uint8_t alpha) { return RP_SET(mAlpha, alpha); } in setAlpha()
88 uint8_t alpha() const { return mAlpha; } in alpha()
118 uint8_t mAlpha; variable
231 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
234 float getAlpha() const { return mPrimitiveFields.mAlpha; } in getAlpha()
544 (!MathUtils::isZero(mPrimitiveFields.mAlpha) && mPrimitiveFields.mAlpha < 1 && in promotedToLayer()
568 float mAlpha = 1; member
DRenderProperties.cpp130 if (mPrimitiveFields.mAlpha < 1 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
137 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl; in debugOutputProperties()
147 << (int)layerBounds.bottom << ", " << (int)(mPrimitiveFields.mAlpha * 255) in debugOutputProperties()
DDeferredLayerUpdater.cpp83 mAlpha = PaintUtils::getAlphaDirect(paint); in setPaint()
123 mLayer = new Layer(mRenderState, mColorFilter, mAlpha, mMode); in apply()
127 mLayer->setAlpha(mAlpha, mMode); in apply()
DDeferredLayerUpdater.h139 int mAlpha = 255; variable
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DScrimDrawable.java43 private int mAlpha = 255; field in ScrimDrawable
98 if (alpha != mAlpha) { in setAlpha()
99 mAlpha = alpha; in setAlpha()
106 return mAlpha; in getAlpha()
133 mPaint.setAlpha(mAlpha); in draw()
/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/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()
DKeyButtonDrawable.java176 mState.mAlpha = alpha; in setAlpha()
376 Math.round(alpha * (mState.mAlpha / 255f) * (1 - mState.mDarkIntensity))); in updateShadowAlpha()
402 int mAlpha; field in KeyButtonDrawable.ShadowDrawableState
420 mAlpha = 255; in ShadowDrawableState()
/frameworks/base/graphics/java/android/graphics/
DOutline.java75 public float mAlpha; field in Outline
143 mAlpha = alpha; in setAlpha()
150 return mAlpha; in getAlpha()
168 mAlpha = src.mAlpha; in set()
/frameworks/layoutlib/bridge/src/android/graphics/
DShader_Delegate.java52 private float mAlpha = 1.0f; field in Shader_Delegate
112 mAlpha = alpha; in setAlpha()
116 return mAlpha; in getAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonDispatcher.java49 private Float mAlpha; field in ButtonDispatcher
91 if (mAlpha != null) { in addView()
92 view.setAlpha(mAlpha); in addView()
128 return mAlpha != null ? mAlpha : 1; in getAlpha()
211 mAlpha = nextAlpha / 255f; in setAlpha()
214 mViews.get(i).setAlpha(mAlpha); in setAlpha()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h64 int getStagingAlpha() const { return mStagingProperties.mAlpha; } in getStagingAlpha()
65 void setStagingAlpha(int alpha) { mStagingProperties.mAlpha = alpha; } in setStagingAlpha()
145 int mAlpha = SK_AlphaOPAQUE; member
DAnimatedImageDrawable.cpp134 if (mProperties.mAlpha != SK_AlphaOPAQUE || mProperties.mColorFilter.get()) { in onDraw()
136 lazyPaint->setAlpha(mProperties.mAlpha); in onDraw()
215 if (mStagingProperties.mAlpha != SK_AlphaOPAQUE || mStagingProperties.mColorFilter.get()) { in drawStaging()
217 paint.setAlpha(mStagingProperties.mAlpha); in drawStaging()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java42 private float mAlpha; field in WindowInsetsAnimation
166 return mAlpha; in getAlpha()
182 mAlpha = alpha; in setAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java107 private float mAlpha = 0f; field in NotificationMenuRow
195 return mAlpha > 0; in isMenuVisible()
374 if (mAlpha == 0f && mParent != null) { in onSnapOpen()
539 mAlpha = alpha; in setMenuAlpha()
551 mMenuContainer.getChildAt(i).setAlpha(mAlpha); in setMenuAlpha()
587 mFadeAnimator = ValueAnimator.ofFloat(mAlpha, 1); in fadeInMenu()
615 mMenuFadedIn = mAlpha == 1; in fadeInMenu()
702 menuView.setAlpha(mAlpha); in addMenuView()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java57 private int mAlpha = 255; field in ScrollBarDrawable
321 d.setAlpha(mAlpha); in propagateCurrentState()
362 mAlpha = alpha; in setAlpha()
381 return mAlpha; in getAlpha()
DImageView.java124 private int mAlpha = 255; field in ImageView
1586 return mAlpha; in getImageAlpha()
1613 if (mAlpha != alpha) { in setAlpha()
1614 mAlpha = alpha; in setAlpha()
1638 mDrawable.setAlpha(mAlpha * mViewAlphaScale >> 8); in applyAlpha()
1646 && mAlpha * mViewAlphaScale >> 8 == 255 in isOpaque()
/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp186 AlphaFilterCanvas(SkCanvas* canvas, float alpha) : SkPaintFilterCanvas(canvas), mAlpha(alpha) {} in AlphaFilterCanvas()
190 paint.setAlpha((uint8_t)paint.getAlpha() * mAlpha); in onFilter()
200 float mAlpha; member in android::uirenderer::skiapipeline::AlphaFilterCanvas

12