Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/animation/
DTransformation.java48 protected float mAlpha; field in Transformation
74 mAlpha = 1.0f; in clear()
105 mAlpha = t.getAlpha(); in set()
122 mAlpha *= t.getAlpha(); in compose()
135 mAlpha *= t.getAlpha(); in postCompose()
155 mAlpha = alpha; in setAlpha()
195 return mAlpha; in getAlpha()
219 sb.append("{alpha="); sb.append(mAlpha); in toShortString()
229 pw.print("{alpha="); pw.print(mAlpha); in printShortString()
/frameworks/base/libs/hwui/
DOutline.h32 , mAlpha(0.0f) {} in Outline()
41 mAlpha = alpha; in setRoundRect()
52 mAlpha = alpha; in setConvexPath()
58 mAlpha = 0.0f; in setEmpty()
64 mAlpha = 0.0f; in setNone()
72 return mAlpha; in getAlpha()
115 float mAlpha; variable
DRenderProperties.cpp81 , mAlpha(1) in PrimitiveFields()
151 if (mPrimitiveFields.mAlpha < 1) { in debugOutputProperties()
155 ALOGD("%*sSetOverrideLayerAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
157 ALOGD("%*sScaleAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
169 (int)(mPrimitiveFields.mAlpha * 255), saveFlags); in debugOutputProperties()
DDeferredLayerUpdater.cpp39 mAlpha = mLayer->getAlpha(); in DeferredLayerUpdater()
51 OpenGLRenderer::getAlphaAndModeDirect(paint, &mAlpha, &mMode); in setPaint()
60 mLayer->setAlpha(mAlpha, mMode); in apply()
DRenderProperties.h89 return RP_SET(mAlpha, alpha); in setAlpha()
93 return mAlpha; in alpha()
130 uint8_t mAlpha; variable
213 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
217 return mPrimitiveFields.mAlpha; in getAlpha()
588 float mAlpha; member
DDeferredLayerUpdater.h91 int mAlpha; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java70 private int mAlpha = 0; field in TransitionDrawable
112 mAlpha = 0; in startTransition()
123 mAlpha = 0; in resetTransition()
143 mAlpha = 0; in reverseTransition()
148 mAlpha = 255; in reverseTransition()
158 mFrom = mAlpha; in reverseTransition()
182 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
187 final int alpha = mAlpha; in draw()
DShapeDrawable.java230 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha)); in draw()
278 mShapeState.mAlpha = alpha; in setAlpha()
284 return mShapeState.mAlpha; in getAlpha()
531 int mAlpha = 255; field in ShapeDrawable.ShapeState
544 mAlpha = orig.mAlpha; in ShapeState()
DDrawableContainer.java61 private int mAlpha = 0xFF; field in DrawableContainer
141 if (!mHasAlpha || mAlpha != alpha) { in setAlpha()
143 mAlpha = alpha; in setAlpha()
156 return mAlpha; in getAlpha()
268 mCurrDrawable.mutate().setAlpha(mAlpha); in jumpToCurrentState()
489 d.setAlpha(mAlpha); in initializeDrawableForDisplay()
527 mCurrDrawable.mutate().setAlpha(mAlpha); in animate()
533 mCurrDrawable.mutate().setAlpha(((255-animAlpha)*mAlpha)/255); in animate()
551 mLastDrawable.mutate().setAlpha((animAlpha*mAlpha)/255); in animate()
DGradientDrawable.java140 private int mAlpha = 0xFF; // modified by the caller field in GradientDrawable
465 int scale = mAlpha + (mAlpha >> 7); in modulateAlpha()
537 currStrokeAlpha < 255 && (mAlpha < 255 || colorFilter != null); in draw()
551 mLayerPaint.setAlpha(mAlpha); in draw()
571 mFillPaint.setColor(mAlpha << 24); in draw()
805 if (alpha != mAlpha) {
806 mAlpha = alpha;
813 return mAlpha;
853 return (mAlpha == 255 && mGradientState.mOpaqueOverBounds && isOpaqueForState()) ?
1478 outline.setAlpha(st.mOpaqueOverShape && isOpaqueForState() ? (mAlpha / 255.0f) : 0.0f);
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java39 float mAlpha = 0; field in DimLayer
103 return mTargetAlpha != mAlpha; in isAnimating()
122 if (mAlpha != alpha) { in setAlpha()
138 mAlpha = alpha; in setAlpha()
223 mTargetAlpha = mAlpha = 0; in show()
234 || (!animating && mAlpha != alpha)) { in show()
240 mStartAlpha = mAlpha; in show()
281 mTargetAlpha = mAlpha = 0; in stepAnimation()
313 pw.print(" mAlpha="); pw.println(mAlpha); in printTo()
DAccessibilityController.java630 private int mAlpha; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
685 return mAlpha; in getAlpha()
691 if (mAlpha == alpha) { in setAlpha()
694 mAlpha = alpha; in setAlpha()
763 mPaint.setAlpha(mAlpha); in drawIfNeeded()
769 if (mAlpha > 0) { in drawIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java34 float mAlpha = 1f; field in AnimateableViewBounds
46 outline.setAlpha(mMinAlpha + mAlpha / (1f - mMinAlpha)); in getOutline()
55 if (Float.compare(alpha, mAlpha) != 0) { in setAlpha()
56 mAlpha = alpha; in setAlpha()
/frameworks/base/graphics/java/android/graphics/
DOutline.java41 public float mAlpha; field in Outline
105 mAlpha = alpha; in setAlpha()
112 return mAlpha; in getAlpha()
135 mAlpha = src.mAlpha; in set()
/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/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
69 mAlpha = alpha; in setAlpha()
76 return mAlpha; in getAlpha()
107 (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/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java43 private float mAlpha = 1.0f; field in TargetDrawable
162 mAlpha = alpha; in setAlpha()
182 return mAlpha; in getAlpha()
217 mDrawable.setAlpha((int) Math.round(mAlpha * 255f)); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java54 private int mAlpha; field in TrustDrawable
103 int newAlpha = (mCurAlpha * mAlpha) / 256; in draw()
114 mAlpha = alpha; in setAlpha()
119 return mAlpha; in getAlpha()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java424 private int mAlpha; field in MaterialProgressDrawable.Ring
471 if (mAlpha < 255) { in draw()
473 mCirclePaint.setAlpha(255 - mAlpha); in draw()
548 mAlpha = alpha; in setAlpha()
555 return mAlpha; in getAlpha()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWatchdogStateMachine.java1000 private final double mAlpha; field in WifiWatchdogStateMachine.VolumeWeightedEMA
1006 mAlpha = coefficient; in VolumeWeightedEMA()
1013 mProduct = mAlpha * newProduct + (1 - mAlpha) * mProduct; in update()
1014 mVolume = mAlpha * newVolume + (1 - mAlpha) * mVolume; in update()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java112 private final IntHolder[] mAlpha = new IntHolder[2]; field in RadialTimePickerView
321 for (int i = 0; i < mAlpha.length; i++) { in RadialTimePickerView()
322 mAlpha[i] = new IntHolder(ALPHA_OPAQUE); in RadialTimePickerView()
682 mAlpha[HOURS].setValue(mShowHours ? ALPHA_OPAQUE : ALPHA_TRANSPARENT); in initData()
683 mAlpha[MINUTES].setValue(mShowHours ? ALPHA_TRANSPARENT : ALPHA_OPAQUE); in initData()
755 mColor[HOURS], mAlpha[HOURS].getValue()); in onDraw()
760 mColor[HOURS], mAlpha[HOURS].getValue()); in onDraw()
765 mColor[MINUTES], mAlpha[MINUTES].getValue()); in onDraw()
1086 mHoursToMinutesAnims.add(getFadeOutAnimator(mAlpha[HOURS], in startHoursToMinutesAnimation()
1098 mHoursToMinutesAnims.add(getFadeInAnimator(mAlpha[MINUTES], in startHoursToMinutesAnimation()
[all …]
DImageView.java85 private int mAlpha = 255; field in ImageView
1317 return mAlpha; in getImageAlpha()
1343 if (mAlpha != alpha) { in setAlpha()
1344 mAlpha = alpha; in setAlpha()
1361 mDrawable.setAlpha(mAlpha * mViewAlphaScale >> 8); in applyColorMod()
1369 && mAlpha * mViewAlphaScale >> 8 == 255 in isOpaque()
/frameworks/base/core/java/android/view/
DRenderNode.java362 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); in setOutline()
365 outline.mAlpha); in setOutline()

12