Home
last modified time | relevance | path

Searched refs:mAlpha (Results 1 – 25 of 42) 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/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.h87 return RP_SET(mAlpha, alpha); in setAlpha()
91 return mAlpha; in alpha()
133 uint8_t mAlpha; variable
242 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
246 return mPrimitiveFields.mAlpha; in getAlpha()
621 || (!MathUtils::isZero(mPrimitiveFields.mAlpha) in promotedToLayer()
622 && mPrimitiveFields.mAlpha < 1 in promotedToLayer()
636 float mAlpha = 1; member
DDeferredLayerUpdater.cpp38 mAlpha = mLayer->getAlpha(); in DeferredLayerUpdater()
50 mAlpha = PaintUtils::getAlphaDirect(paint); in setPaint()
59 mLayer->setAlpha(mAlpha, mMode); in apply()
DRenderProperties.cpp128 if (mPrimitiveFields.mAlpha < 1 in debugOutputProperties()
129 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
136 ALOGD("%*s(ScaleAlpha %.2f)", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
147 (int)(mPrimitiveFields.mAlpha * 255), in debugOutputProperties()
DDeferredLayerUpdater.h101 int mAlpha; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java71 private int mAlpha = 0; field in TransitionDrawable
113 mAlpha = 0; in startTransition()
124 mAlpha = 0; in resetTransition()
144 mAlpha = 0; in reverseTransition()
149 mAlpha = 255; in reverseTransition()
159 mFrom = mAlpha; in reverseTransition()
183 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
188 final int alpha = mAlpha; in draw()
DShapeDrawable.java231 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha)); in draw()
278 mShapeState.mAlpha = alpha; in setAlpha()
284 return mShapeState.mAlpha; in getAlpha()
538 int mAlpha = 255; field in ShapeDrawable.ShapeState
551 mAlpha = orig.mAlpha; in ShapeState()
DDrawableContainer.java64 private int mAlpha = 0xFF; field in DrawableContainer
146 if (!mHasAlpha || mAlpha != alpha) { in setAlpha()
148 mAlpha = alpha; in setAlpha()
161 return mAlpha; in getAlpha()
273 mCurrDrawable.setAlpha(mAlpha); in jumpToCurrentState()
517 d.setAlpha(mAlpha); in initializeDrawableForDisplay()
558 mCurrDrawable.setAlpha(mAlpha); in animate()
563 mCurrDrawable.setAlpha(((255-animAlpha)*mAlpha)/255); in animate()
580 mLastDrawable.setAlpha((animAlpha*mAlpha)/255); in animate()
DGradientDrawable.java164 private int mAlpha = 0xFF; // modified by the caller field in GradientDrawable
590 int scale = mAlpha + (mAlpha >> 7); in modulateAlpha()
682 currStrokeAlpha < 255 && (mAlpha < 255 || colorFilter != null); in draw()
696 mLayerPaint.setAlpha(mAlpha); in draw()
716 mFillPaint.setColor(mAlpha << 24); in draw()
968 if (alpha != mAlpha) {
969 mAlpha = alpha;
976 return mAlpha;
1017 return (mAlpha == 255 && mGradientState.mOpaqueOverBounds && isOpaqueForState()) ?
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java43 private float mAlpha = 0; field in DimLayer
114 adjustAlpha(mAlpha); in constructSurface()
130 return mTargetAlpha != mAlpha; in isAnimating()
156 if (mAlpha == alpha) { in setAlpha()
159 mAlpha = alpha; in setAlpha()
271 mTargetAlpha = mAlpha = 0; in show()
287 || (!animating && mAlpha != alpha)) { in show()
293 mStartAlpha = mAlpha; in show()
335 mTargetAlpha = mAlpha = 0; in stepAnimation()
367 pw.print(" mAlpha="); pw.println(mAlpha); in printTo()
DAccessibilityController.java666 private int mAlpha; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
721 return mAlpha; in getAlpha()
727 if (mAlpha == alpha) { in setAlpha()
730 mAlpha = alpha; in setAlpha()
799 mPaint.setAlpha(mAlpha); in drawIfNeeded()
805 if (mAlpha > 0) { in drawIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java43 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonDispatcher.java39 private Integer mAlpha; field in ButtonDispatcher
61 if (mAlpha != null) { in addView()
62 view.setAlpha(mAlpha); in addView()
83 return mAlpha != null ? mAlpha : 1; in getAlpha()
122 mAlpha = alpha; in setAlpha()
DTrustDrawable.java53 private int mAlpha; field in TrustDrawable
92 int newAlpha = (mCurAlpha * mAlpha) / 256; in draw()
103 mAlpha = alpha; in setAlpha()
108 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/graphics/java/android/graphics/
DOutline.java69 public float mAlpha; field in Outline
134 mAlpha = alpha; in setAlpha()
141 return mAlpha; in getAlpha()
154 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/ml/bordeaux/service/src/android/bordeaux/services/
DStochasticLinearRankerWithPrior.java56 private float mAlpha = 0; field in StochasticLinearRankerWithPrior
76 mAlpha = 0; in resetRanker()
99 return (1 - mAlpha) * super.scoreSample(keys,values) + in scoreSample()
100 mAlpha * priorScoreSample(keys,values); in scoreSample()
148 m.priorParameters.put(SET_ALPHA, String.valueOf(mAlpha)); in getModel()
182 mAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java113 private int mAlpha = 0; field in AssistDisclosure.AssistDisclosureView
179 mAlpha = 0; in onDetachedFromWindow()
189 mPaint.setAlpha(mAlpha); in onDraw()
190 mShadowPaint.setAlpha(mAlpha / 4); in onDraw()
253 mAlpha = (int) mAlphaOutAnimator.getAnimatedValue(); in onAnimationUpdate()
255 mAlpha = (int) mAlphaInAnimator.getAnimatedValue(); in onAnimationUpdate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java420 float mAlpha;
437 mAlpha = 1.0f;
447 mAlpha = 0.0f;
452 int alpha = Math.round(0xFF * mAlpha);
460 return mAlpha;
464 this.mAlpha = alpha;
492 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.java91 private int mAlpha = 255; field in ImageView
1427 return mAlpha; in getImageAlpha()
1453 if (mAlpha != alpha) { in setAlpha()
1454 mAlpha = alpha; in setAlpha()
1471 mDrawable.setAlpha(mAlpha * mViewAlphaScale >> 8); in applyColorMod()
1479 && mAlpha * mViewAlphaScale >> 8 == 255 in isOpaque()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java494 private int mAlpha; field in MaterialProgressDrawable.Ring
542 if (mAlpha < 255) { in draw()
544 mCirclePaint.setAlpha(255 - mAlpha); in draw()
642 mAlpha = alpha; in setAlpha()
649 return mAlpha; in getAlpha()

12