Searched refs:newColor (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/ |
D | RoundRectDrawable.java | 183 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()
|
D | RoundRectDrawableWithShadow.java | 198 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/ |
D | CircledImageView.java | 292 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/ |
D | ActivatableNotificationView.java | 542 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()
|
D | StatusBarIconView.java | 143 int newColor = NotificationUtils.interpolateColors(mAnimationStartColor, mIconColor, 145 setColorInternal(newColor);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 966 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/ |
D | README.rst | 154 void addParticles(int rate, float x, float y, int index, bool newColor) { 161 int index, bool newColor) {
|