Home
last modified time | relevance | path

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

12345

/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
H A DSyncPreference.java71 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 DCompatResources.java61 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 DColorStateListTest.java45 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 DColoredSwitchPreference.java63 mDisabledColor = a.getColorStateList( in init()
68 mEnabledColor = a.getColorStateList(R.styleable.ColoredSwitchPreference_enabledTitleColor); in init()
H A DExtraSettingsUtil.java82 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 DColoredPreference.java62 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 DPartnerConfigHelperTest.java114 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 DExternalResources.java168 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 DCustomThemeStepFragment.java71 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 DResourceUtils.java33 stateList = ta.getColorStateList(0); in getColorAttr()
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/app/
H A DResourcesPerfTest.java178 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 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()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DGridItemThumbnail.java40 ColorStateList color = ta.getColorStateList(R.styleable.GridItem_gridItemTint); in GridItemThumbnail()
H A DIconUtils.java74 icon.setTintList(context.getColorStateList(tintColorId)); in applyTintColor()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DColoredHeaderMixin.java44 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileColorPicker.java37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DThemeUtils.kt62 val colorStateList = a.getColorStateList(0)
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifLayout.java122 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 DTileColorPickerTest.java45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
H A DMicPreferenceController.java57 icon.mutate().setTintList(getContext().getColorStateList(R.color.icon_color_default)); in onCreateInternal()
/aosp12/frameworks/base/core/java/android/widget/
H A DAnalogClock.java128 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 DBridgeTypedArray.java326 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 DPartnerConfigHelper.java115 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 DVolumeSettingsPreferenceController.java175 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 DQCViewUtils.java50 mDefaultToggleIconTint = mContext.getColorStateList(R.color.qc_toggle_icon_fill_color); in QCViewUtils()

12345