Home
last modified time | relevance | path

Searched refs:newColor (Results 1 – 6 of 6) 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/api21/android/support/v7/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()
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DRoundRectDrawableWithShadow.java201 final int newColor = mBackground.getColorForState(stateSet, mBackground.getDefaultColor()); in onStateChange() local
202 if (mPaint.getColor() == newColor) { in onStateChange()
205 mPaint.setColor(newColor); in onStateChange()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java918 final int newColor = solidColors.getColorForState(stateSet, 0);
920 if (oldColor != newColor) {
921 mFillPaint.setColor(newColor);
930 final int newColor = strokeColors.getColorForState(stateSet, 0);
932 if (oldColor != newColor) {
933 strokePaint.setColor(newColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java487 int newColor = NotificationUtils.interpolateColors(mStartTint, mTargetTint, in updateBackgroundTint()
489 setBackgroundTintColor(newColor); in updateBackgroundTint()
/frameworks/compile/slang/
DREADME.rst154 void addParticles(int rate, float x, float y, int index, bool newColor) {
161 int index, bool newColor) {