/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | CompatResources.java | 61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList() method in CompatResources 62 return getColorStateList(id, getTheme()); in getColorStateList()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | ColorStateListTest.java | 45 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList() 53 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | TvWindowMenuActionButton.java | 129 getResources().getColorStateList( in setIsCustomCloseAction() 133 .getColorStateList(isCustomCloseAction ? R.color.tv_window_menu_close_icon_bg in setIsCustomCloseAction()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileColorPicker.java | 37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/app/ |
H A D | ResourcesPerfTest.java | 179 public void getColorStateList() { in getColorStateList() method in ResourcesPerfTest 182 mRes.getColorStateList(R.color.color_state_list, null); in getColorStateList()
|
/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 109 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 111 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan() 198 textColor = a.getColorStateList(colorList); in TextAppearanceSpan()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
H A D | TileColorPickerTest.java | 45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 134 ColorStateList dialTintList = a.getColorStateList( in AnalogClock() 156 ColorStateList hourHandTintList = a.getColorStateList( in AnalogClock() 178 ColorStateList minuteHandTintList = a.getColorStateList( in AnalogClock() 197 ColorStateList secondHandTintList = a.getColorStateList( in AnalogClock()
|
H A D | DayPickerView.java | 100 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView() 137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
|
H A D | TabHost.java | 665 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView() 710 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
|
H A D | DatePickerCalendarDelegate.java | 135 final ColorStateList legacyHeaderTextColor = textAppearance.getColorStateList(0); in DatePickerCalendarDelegate() 141 headerTextColor = a.getColorStateList(R.styleable.DatePicker_headerTextColor); in DatePickerCalendarDelegate()
|
H A D | ProgressBar.java | 353 mProgressTintInfo.mProgressTintList = a.getColorStateList( in ProgressBar() 371 mProgressTintInfo.mProgressBackgroundTintList = a.getColorStateList( in ProgressBar() 389 mProgressTintInfo.mSecondaryProgressTintList = a.getColorStateList( in ProgressBar() 407 mProgressTintInfo.mIndeterminateTintList = a.getColorStateList( in ProgressBar()
|
H A D | Switch.java | 280 ColorStateList thumbTintList = a.getColorStateList( in Switch() 297 ColorStateList trackTintList = a.getColorStateList( in Switch() 347 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
|
H A D | DayPickerPagerAdapter.java | 74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | BouncerKeyguardMessageArea.kt | 52 colorStateList = styledAttributes.getColorStateList(0)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 54 setFrameColor(a.getColorStateList(attr)); in UserAvatarView()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
H A D | AlphaTintDrawableWrapper.java | 104 mTint = a.getColorStateList(R.styleable.AlphaTintDrawableWrapper_android_tint); in updateStateFromTypedArray()
|
/aosp14/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockResources.java | 142 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in MockResources
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
H A D | ControlsRequestDialog.kt | 144 context.resources.getColorStateList(renderInfo.foreground, context.theme))
|
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorStateListDrawable.java | 206 public @NonNull ColorStateList getColorStateList() { in getColorStateList() method in ColorStateListDrawable
|
H A D | GradientDrawable.java | 1513 final ColorStateList tint = a.getColorStateList(R.styleable.GradientDrawable_tint); 1705 ColorStateList colorStateList = a.getColorStateList( 1729 final ColorStateList colorStateList = a.getColorStateList( 1754 ColorStateList startCSL = a.getColorStateList( 1756 ColorStateList centerCSL = a.getColorStateList( 1758 ColorStateList endCSL = a.getColorStateList(
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/ |
H A D | TvSensorPrivacyChangedActivity.java | 188 final ColorStateList iconTint = resources.getColorStateList( in setIconTint()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
H A D | CaptionWindowDecoration.java | 195 caption.getResources().getColorStateList(buttonTintColorRes, null /* theme */); in setCaptionColor()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PageIndicator.java | 70 mTint = array.getColorStateList(0); in PageIndicator()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | Utils.java | 287 context.getResources().getColorStateList(resId, context.getTheme()); in getColorStateListDefaultColor() 338 stateList = ta.getColorStateList(0); in getColorAttr()
|