/frameworks/base/services/core/java/com/android/server/wm/ |
D | DimmerAnimationHelper.java | 47 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/ |
D | PictureInPictureSurfaceTransaction.java | 40 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/ |
D | TransitionDrawable.java | 74 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()
|
D | ColorStateListDrawable.java | 103 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/ |
D | Outline.h | 31 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
|
D | RenderProperties.h | 85 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/ |
D | Transformation.java | 51 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/ |
D | KeyguardUserSwitcherScrim.java | 43 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/ |
D | HyperbolicCosineWindow.h | 50 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/ |
D | SurfaceViewAlphaActivity.java | 41 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/ |
D | AssistDisclosure.java | 111 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/ |
D | DrawableHolder.java | 43 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/ |
D | Outline.java | 75 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/ |
D | ColorExpression.java | 50 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/ |
D | UdfpsAnimationView.java | 41 private int mAlpha; field in UdfpsAnimationView 99 mAlpha = alpha; in calculateAlpha() 101 return mPauseAuth ? mAlpha : 255; in calculateAlpha()
|
D | UdfpsKeyguardViewLegacy.java | 69 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/ |
D | AnimatedImageDrawable.h | 65 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/ |
D | ButtonDispatcher.java | 49 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/ |
D | ScrimDrawable.java | 50 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/ |
D | WindowInsetsAnimation.java | 42 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/ |
D | ViewState.java | 126 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/ |
D | ButtonDispatcher.java | 47 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/ |
D | AlphaTintDrawableWrapper.java | 134 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/ |
D | BackgroundBlurDrawable.java | 69 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/ |
D | PosePredictor.h | 132 : mAlpha(alpha) in mAlpha() function 143 return "LEAST_SQUARES(" + std::to_string(mAlpha) + ")"; in name() 148 const double mAlpha;
|