/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | ColorStateListTest.java | 46 int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); in testStateIsInList() 54 int defaultColor = colorStateList.getColorForState(emptyState, mFailureColor); in testEmptyState()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 194 final int enabledColor = textColor.getColorForState(ENABLED_STATE_SET, 0); in applyTextAppearance() 279 final int enabledColor = monthTextColor.getColorForState(ENABLED_STATE_SET, 0); in setMonthTextColor() 285 final int enabledColor = dayOfWeekTextColor.getColorForState(ENABLED_STATE_SET, 0); in setDayOfWeekTextColor() 296 final int activatedColor = dayBackgroundColor.getColorForState( in setDaySelectorColor() 303 final int pressedColor = dayHighlightColor.getColorForState( in setDayHighlightColor() 456 dayTextColor = mDayTextColor.getColorForState(stateSet, 0); in drawDays()
|
D | DatePickerCalendarDelegate.java | 206 activatedColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes() 208 defaultColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes()
|
D | RadialTimePickerView.java | 338 final int selectorActivatedColor = selectorColors.getColorForState( in RadialTimePickerView() 348 mSelectorDotColor = mTextColor[HOURS].getColorForState(activatedStateSet, 0); in RadialTimePickerView() 837 final int color = textColor.getColorForState(StateSet.get(stateMask), 0); in drawTextElements()
|
D | TimePickerClockDelegate.java | 251 activatedColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes() 253 defaultColor = color.getColorForState(StateSet.get( in applyLegacyColorFixes()
|
D | Switch.java | 1249 mTextPaint.setColor(mTextColors.getColorForState(drawableState, 0)); in onDraw()
|
D | NumberPicker.java | 757 int color = colors.getColorForState(ENABLED_STATE_SET, Color.WHITE); in NumberPicker()
|
D | TextView.java | 3930 int color = mTextColor.getColorForState(getDrawableState(), 0); in updateTextColors() 3936 color = mLinkTextColor.getColorForState(getDrawableState(), 0); in updateTextColors() 3943 color = mHintTextColor.getColorForState(getDrawableState(), 0); in updateTextColors()
|
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 219 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState() 223 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState()
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
D | CircularBorderDrawableLollipop.java | 82 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateTintFilter()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ThemeUtils.java | 89 return csl.getColorForState(DISABLED_STATE_SET, csl.getDefaultColor()); in getDisabledThemeAttrColor()
|
D | TintManager.java | 432 colors[i] = thumbColor.getColorForState(states[i], 0); 589 final int color = tint.getColorForState(state, Color.TRANSPARENT);
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | DrawableWrapperDonut.java | 209 final int color = mTintList.getColorForState(state, mTintList.getDefaultColor()); in updateTint()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 320 color = colorStateList.getColorForState(stateSet, 0); in setStroke() 746 color = colorStateList.getColorForState(stateSet, 0); 759 final int newColor = solidColors.getColorForState(stateSet, 0); 771 final int newColor = strokeColors.getColorForState(stateSet, 0); 1804 final int stateColor = state.mSolidColors.getColorForState(currentState, 0); 1825 final int strokeStateColor = state.mStrokeColors.getColorForState(
|
D | Drawable.java | 1386 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateTintFilter()
|
D | RippleDrawable.java | 865 final int color = mState.mColor.getColorForState(getState(), Color.BLACK); in drawBackgroundAndRipples()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | NavigationView.java | 389 baseColor.getColorForState(DISABLED_STATE_SET, defaultColor), in createDefaultColorStateList()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 489 public int getColorForState(@Nullable int[] stateSet, int defaultColor) { in getColorForState() method in ColorStateList
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 964 mTextPaint.setColor(mTextColors.getColorForState(drawableState, 0)); in onDraw()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 312 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateTintFilter()
|
/frameworks/base/api/ |
D | current.txt | 9616 method public int getColorForState(int[], int);
|
D | system-current.txt | 9953 method public int getColorForState(int[], int);
|