Home
last modified time | relevance | path

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

/frameworks/support/design/base/android/support/design/widget/
DCircularBorderDrawable.java165 final int newColor = mBorderTint.getColorForState(state, mCurrentBorderTintColor); in onStateChange() local
166 if (newColor != mCurrentBorderTintColor) { in onStateChange()
168 mCurrentBorderTintColor = newColor; in onStateChange()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DRoundRectDrawable.java185 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange() local
186 final boolean colorChanged = newColor != mPaint.getColor(); in onStateChange()
188 mPaint.setColor(newColor); in onStateChange()
DRoundRectDrawableWithShadow.java197 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange() local
198 if (mPaint.getColor() == newColor) { in onStateChange()
201 mPaint.setColor(newColor); in onStateChange()
/frameworks/support/wear/src/android/support/wear/widget/
DCircledImageView.java297 int newColor = in setColorForCurrentState() local
305 mColorAnimator.setIntValues(new int[]{mCurrentColor, newColor}); in setColorForCurrentState()
311 if (newColor != mCurrentColor) { in setColorForCurrentState()
312 mCurrentColor = newColor; in setColorForCurrentState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java505 int newColor = calculateBgColor(); in setOverrideTintColor() local
506 setBackgroundTintColor(newColor); in setOverrideTintColor()
537 int newColor = NotificationUtils.interpolateColors(mStartTint, mTargetTint, in updateBackgroundTint()
539 setBackgroundTintColor(newColor); in updateBackgroundTint()
DStatusBarIconView.java127 int newColor = NotificationUtils.interpolateColors(mAnimationStartColor, mIconColor,
129 setColorInternal(newColor);
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java947 final int newColor = solidColors.getColorForState(stateSet, 0);
949 if (oldColor != newColor) {
950 mFillPaint.setColor(newColor);
959 final int newColor = strokeColors.getColorForState(stateSet, 0);
961 if (oldColor != newColor) {
962 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) {