Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/wm/
DDimmerAnimationHelper.java47 private float mAlpha = -1f; field in DimmerAnimationHelper.Change
56 mAlpha = other.mAlpha; in Change()
64 return Math.abs(mAlpha - other.mAlpha) < EPSILON && mBlurRadius == other.mBlurRadius; in hasSameVisualProperties()
72 mAlpha = anim.mCurrentAlpha; in inheritPropertiesFromAnimation()
78 return "Dim state: alpha=" + mAlpha + ", blur=" + mBlurRadius + ", container=" in toString()
107 mRequestedProperties.mAlpha = alpha; in setRequestedAppearance()
145 dim, mRequestedProperties.mAlpha, in applyChanges()
147 setAlphaBlur(dim.mDimSurface, mRequestedProperties.mAlpha, in applyChanges()
169 float targetAlpha = mRequestedProperties.mAlpha; in startAnimation()
200 final float startAlpha = Math.max(mCurrentProperties.mAlpha, 0f); in getRequestedAnimationSpec()
[all …]
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java40 public final float mAlpha; field in PictureInPictureSurfaceTransaction
57 mAlpha = in.readFloat(); in PictureInPictureSurfaceTransaction()
71 mAlpha = alpha; in PictureInPictureSurfaceTransaction()
87 this(other.mAlpha, other.mPosition, in PictureInPictureSurfaceTransaction()
125 return Objects.equals(mAlpha, that.mAlpha) in equals()
138 return Objects.hash(mAlpha, mPosition, Arrays.hashCode(mFloat9), in hashCode()
150 out.writeFloat(mAlpha); in writeToParcel()
164 + " alpha=" + mAlpha in toString()
194 if (surfaceTransaction.mAlpha != NOT_SET) { in apply()
195 tx.setAlpha(surfaceControl, surfaceTransaction.mAlpha); in apply()
[all …]
/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.java103 mState.mAlpha = alpha; in setAlpha()
112 mState.mAlpha = -1; in clearAlpha()
156 if (mState.mAlpha != -1) { in onStateChange()
157 color = (color & 0xFFFFFF) | MathUtils.constrain(mState.mAlpha, 0, 255) << 24; in onStateChange()
251 int mAlpha = -1; field in ColorStateListDrawable.ColorStateListDrawableState
261 mAlpha = state.mAlpha; in ColorStateListDrawableState()
/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()
123 float mAlpha; variable
DRenderProperties.h85 bool setAlpha(uint8_t alpha) { return RP_SET(mAlpha, alpha); } in setAlpha()
87 uint8_t alpha() const { return mAlpha; } in alpha()
129 uint8_t mAlpha; variable
245 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
248 float getAlpha() const { return mPrimitiveFields.mAlpha; } in getAlpha()
555 (!MathUtils::isZero(mPrimitiveFields.mAlpha) && mPrimitiveFields.mAlpha < 1 && in promotedToLayer()
579 float mAlpha = 1; member
/frameworks/base/core/java/android/view/animation/
DTransformation.java51 protected float mAlpha; field in Transformation
79 mAlpha = 1.0f; in clear()
111 mAlpha = t.getAlpha(); in set()
128 mAlpha *= t.getAlpha(); in compose()
148 mAlpha *= t.getAlpha(); in postCompose()
174 mAlpha = alpha; in setAlpha()
181 return mAlpha; in getAlpha()
262 sb.append("{alpha="); sb.append(mAlpha); in toShortString()
273 pw.print("{alpha="); pw.print(mAlpha); in printShortString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java43 private int mAlpha = 255; field in KeyguardUserSwitcherScrim
56 if (mAlpha == 0) { in draw()
65 mAlpha = alpha; in setAlpha()
72 return mAlpha; in getAlpha()
103 (int) (Color.alpha(mDarkColor) * mAlpha / 255f), 0, 0, 0), in updatePaint()
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DHyperbolicCosineWindow.h50 mAlpha = alpha; in setAlpha()
60 double w = mAlpha * sqrt(1.0 - x2); in operator()
65 double mAlpha = 0.0;
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DSurfaceViewAlphaActivity.java41 private float mAlpha = 127f / 255f; field in SurfaceViewAlphaActivity
46 return "Alpha: " + mAlpha; in getAlphaText()
98 mSurfaceView.setAlpha(mAlpha); in onCreate()
109 alphaToggle.setProgress(Math.round(mAlpha * 255)); in onCreate()
113 mAlpha = progress / 255f; in onCreate()
115 mSurfaceView.setAlpha(mAlpha); in onCreate()
/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/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/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DColorExpression.java50 public int mAlpha = 0xFF; // only used in hsv mode field in ColorExpression
59 mAlpha = 0xFF; in ColorExpression()
69 mAlpha = alpha; in ColorExpression()
81 this.mAlpha = (mode >> 16) & 0xFF; in ColorExpression()
149 context.loadColor(mId, (mAlpha << 24) in apply()
171 int mode = mMode | (mAlpha << 16); in write()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsAnimationView.java41 private int mAlpha; field in UdfpsAnimationView
99 mAlpha = alpha; in calculateAlpha()
101 return mPauseAuth ? mAlpha : 255; in calculateAlpha()
DUdfpsKeyguardViewLegacy.java69 private int mAlpha; // 0-255 field in UdfpsKeyguardViewLegacy
156 mBgProtection.setAlpha(mAlpha / 255f); in updateBurnInOffsets()
157 mLockScreenFp.setAlpha(mAlpha / 255f); in updateBurnInOffsets()
218 mAlpha = alpha; in setUnpausedAlpha()
226 return mAlpha; in getUnpausedAlpha()
241 return mAlpha; in calculateAlpha()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h65 int getStagingAlpha() const { return mStagingProperties.mAlpha; } in getStagingAlpha()
66 void setStagingAlpha(int alpha) { mStagingProperties.mAlpha = alpha; } in setStagingAlpha()
148 int mAlpha = SK_AlphaOPAQUE; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
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()
209 mAlpha = nextAlpha / 255f; in setAlpha()
212 mViews.get(i).setAlpha(mAlpha); in setAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimDrawable.java50 private int mAlpha = 255; field in ScrimDrawable
111 if (alpha != mAlpha) { in setAlpha()
112 mAlpha = alpha; in setAlpha()
119 return mAlpha; in getAlpha()
215 mPaint.setAlpha(mAlpha); in draw()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimation.java42 private float mAlpha; field in WindowInsetsAnimation
166 return mAlpha; in getAlpha()
181 mAlpha = alpha; in setAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java126 private float mAlpha; field in ViewState
134 return mAlpha; in getAlpha()
142 this.mAlpha = alpha; in setAlpha()
225 mAlpha = viewState.mAlpha; in copyFrom()
236 mAlpha = view.getAlpha(); in initFrom()
296 boolean becomesInvisible = this.mAlpha == 0.0f in applyToView()
301 } else if (view.getAlpha() != this.mAlpha) { in applyToView()
303 boolean becomesFullyVisible = this.mAlpha == 1.0f; in applyToView()
327 view.setAlpha(this.mAlpha); in applyToView()
378 final float alpha = this.mAlpha; in animateTo()
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DButtonDispatcher.java47 private float mAlpha = 1.0f; field in ButtonDispatcher
87 view.setAlpha(mAlpha); in addView()
119 return mAlpha; in getAlpha()
190 mAlpha = nextAlpha / 255f; in setAlpha()
193 mViews.get(i).setAlpha(mAlpha); in setAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlphaTintDrawableWrapper.java134 private int mAlpha; field in AlphaTintDrawableWrapper.AlphaTintState
145 mAlpha = alpha; in AlphaTintState()
162 alphaTintDrawableWrapper.setAlpha(mAlpha); in newDrawable()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java69 private float mAlpha = 1; field in BackgroundBlurDrawable
134 if (mAlpha != alpha / 255f) { in setAlpha()
135 mAlpha = alpha / 255f; in setAlpha()
221 + "}, alpha=" + mAlpha in toString()
263 drawable.mAlpha != 0 && drawable.mBlurRadius > 0 && drawable.mVisible; in onBlurDrawableUpdated()
442 alpha = drawable.mAlpha; in BlurRegion()
/frameworks/av/media/libheadtracking/
DPosePredictor.h132 : mAlpha(alpha) in mAlpha() function
143 return "LEAST_SQUARES(" + std::to_string(mAlpha) + ")"; in name()
148 const double mAlpha;

123