Home
last modified time | relevance | path

Searched refs:newColor (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DRoundRectDrawable.java183 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange() local
184 final boolean colorChanged = newColor != mPaint.getColor(); in onStateChange()
186 mPaint.setColor(newColor); in onStateChange()
DRoundRectDrawableWithShadow.java198 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange() local
199 if (mPaint.getColor() == newColor) { in onStateChange()
202 mPaint.setColor(newColor); in onStateChange()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircledImageView.java292 int newColor = in setColorForCurrentState() local
300 mColorAnimator.setIntValues(new int[]{mCurrentColor, newColor}); in setColorForCurrentState()
306 if (newColor != mCurrentColor) { in setColorForCurrentState()
307 mCurrentColor = newColor; in setColorForCurrentState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java542 int newColor = calculateBgColor(); in setOverrideTintColor() local
543 setBackgroundTintColor(newColor); in setOverrideTintColor()
574 int newColor = NotificationUtils.interpolateColors(mStartTint, mTargetTint, in updateBackgroundTint()
576 setBackgroundTintColor(newColor); in updateBackgroundTint()
DStatusBarIconView.java143 int newColor = NotificationUtils.interpolateColors(mAnimationStartColor, mIconColor,
145 setColorInternal(newColor);
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java966 final int newColor = solidColors.getColorForState(stateSet, 0);
968 if (oldColor != newColor) {
969 mFillPaint.setColor(newColor);
978 final int newColor = strokeColors.getColorForState(stateSet, 0);
980 if (oldColor != newColor) {
981 strokePaint.setColor(newColor);
/frameworks/compile/slang/
DREADME.rst154 void addParticles(int rate, float x, float y, int index, bool newColor) {
161 int index, bool newColor) {