Home
last modified time | relevance | path

Searched refs:getColorStateList (Results 1 – 25 of 59) sorted by relevance

123

/aosp14/frameworks/base/core/java/android/content/res/
H A DCompatResources.java61 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 DColorStateListTest.java45 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 DTvWindowMenuActionButton.java129 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 DTileColorPicker.java37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/app/
H A DResourcesPerfTest.java179 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 DTextAppearanceSpan.java109 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 DTileColorPickerTest.java45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
/aosp14/frameworks/base/core/java/android/widget/
H A DAnalogClock.java134 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 DDayPickerView.java100 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView()
137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
H A DTabHost.java665 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 DDatePickerCalendarDelegate.java135 final ColorStateList legacyHeaderTextColor = textAppearance.getColorStateList(0); in DatePickerCalendarDelegate()
141 headerTextColor = a.getColorStateList(R.styleable.DatePicker_headerTextColor); in DatePickerCalendarDelegate()
H A DProgressBar.java353 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 DSwitch.java280 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 DDayPickerPagerAdapter.java74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DBouncerKeyguardMessageArea.kt52 colorStateList = styledAttributes.getColorStateList(0)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUserAvatarView.java54 setFrameColor(a.getColorStateList(attr)); in UserAvatarView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DAlphaTintDrawableWrapper.java104 mTint = a.getColorStateList(R.styleable.AlphaTintDrawableWrapper_android_tint); in updateStateFromTypedArray()
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockResources.java142 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 DControlsRequestDialog.kt144 context.resources.getColorStateList(renderInfo.foreground, context.theme))
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorStateListDrawable.java206 public @NonNull ColorStateList getColorStateList() { in getColorStateList() method in ColorStateListDrawable
H A DGradientDrawable.java1513 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 DTvSensorPrivacyChangedActivity.java188 final ColorStateList iconTint = resources.getColorStateList( in setIconTint()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DCaptionWindowDecoration.java195 caption.getResources().getColorStateList(buttonTintColorRes, null /* theme */); in setCaptionColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPageIndicator.java70 mTint = array.getColorStateList(0); in PageIndicator()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java287 context.getResources().getColorStateList(resId, context.getTheme()); in getColorStateListDefaultColor()
338 stateList = ta.getColorStateList(0); in getColorAttr()

123