/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
H A D | SyncPreference.java | 71 getIcon().setTintList(getContext().getColorStateList(R.color.icon_color_default)); in updateIcon() 75 getIcon().setTintList(getContext().getColorStateList(R.color.icon_color_default)); in updateIcon() 79 getIcon().setTintList(getContext().getColorStateList(R.color.icon_color_default)); in updateIcon()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | ColoredSwitchPreference.java | 63 mDisabledColor = a.getColorStateList( in init() 68 mEnabledColor = a.getColorStateList(R.styleable.ColoredSwitchPreference_enabledTitleColor); in init()
|
H A D | ExtraSettingsUtil.java | 82 context.getColorStateList(R.color.top_level_injected_icon_default)); in createIcon() 87 icon.mutate().setTintList(context.getColorStateList(R.color.icon_color_default)); in createIcon()
|
H A D | ColoredPreference.java | 62 mTitleColor = a.getColorStateList(R.styleable.ColoredPreference_titleColor); in init()
|
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
H A D | PartnerConfigHelperTest.java | 114 helper.getColorStateList(application, TEST_COLOR_RESOURCE_NAME); in getColor_whenCacheHasColorStateList_shouldReturnExpectedColor() 133 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_shouldReturnExpectedColorStateList() 156 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_whenCacheHasColorValue_shouldReturnExpectedColorStateList()
|
H A D | ExternalResources.java | 168 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in ExternalResources.Resources 174 public ColorStateList getColorStateList(int id, @Nullable Theme theme) { in getColorStateList() method in ExternalResources.Resources
|
/aosp12/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
H A D | CustomThemeStepFragment.java | 71 getContext().getColorStateList(R.color.toolbar_icon_tint)); in onCreateView() 74 closeIcon.setTintList(getResources().getColorStateList(R.color.toolbar_icon_tint, null)); in onCreateView()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | ResourceUtils.java | 33 stateList = ta.getColorStateList(0); in getColorAttr()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/app/ |
H A D | ResourcesPerfTest.java | 178 public void getColorStateList() { in getColorStateList() method in ResourcesPerfTest 181 mRes.getColorStateList(R.color.color_state_list, null); in getColorStateList()
|
/aosp12/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()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | GridItemThumbnail.java | 40 ColorStateList color = ta.getColorStateList(R.styleable.GridItem_gridItemTint); in GridItemThumbnail()
|
H A D | IconUtils.java | 74 icon.setTintList(context.getColorStateList(tintColorId)); in applyTintColor()
|
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | ColoredHeaderMixin.java | 44 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
|
/aosp12/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()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | ThemeUtils.kt | 62 val colorStateList = a.getColorStateList(0)
|
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifLayout.java | 122 ColorStateList primaryColor = a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary); in init() 128 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor); in init()
|
/aosp12/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()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
H A D | MicPreferenceController.java | 57 icon.mutate().setTintList(getContext().getColorStateList(R.color.icon_color_default)); in onCreateInternal()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 128 ColorStateList dialTintList = a.getColorStateList( in AnalogClock() 150 ColorStateList hourHandTintList = a.getColorStateList( in AnalogClock() 172 ColorStateList minuteHandTintList = a.getColorStateList( in AnalogClock() 191 ColorStateList secondHandTintList = a.getColorStateList( in AnalogClock()
|
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 326 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor() 336 public ColorStateList getColorStateList(int index) { in getColorStateList() method in BridgeTypedArray 341 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList() 795 ColorStateList colorStateList = getColorStateList(index); in getValue()
|
/aosp12/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
H A D | PartnerConfigHelper.java | 115 public ColorStateList getColorStateList(@NonNull Context context, PartnerConfig partnerConfig) { in getColorStateList() method in PartnerConfigHelper 145 result = resource.getColorStateList(resourceEntry.getResourceId(), null); in getColorStateList()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
H A D | VolumeSettingsPreferenceController.java | 175 getContext().getColorStateList(R.color.icon_color_default)); in createVolumeSeekBarPreference() 178 getContext().getColorStateList(R.color.icon_color_default)); in createVolumeSeekBarPreference()
|
/aosp12/packages/apps/Car/libs/car-qc-lib/src/com/android/car/qc/view/ |
H A D | QCViewUtils.java | 50 mDefaultToggleIconTint = mContext.getColorStateList(R.color.qc_toggle_icon_fill_color); in QCViewUtils()
|