Searched refs:getColorStateList (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/content/res/
H A DCompatResources.java61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { method in class:CompatResources
62 return getColorStateList(id, getTheme());
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DColorStateListTest.java44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DColoredHeaderMixin.java45 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DAppCompatMenuItemIconTintingTest.java131 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
160 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
167 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
191 final ColorStateList lilacColor = ResourcesCompat.getColorStateList(
227 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/
H A DAppCompatResources.java63 public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) { method in class:AppCompatResources
66 return context.getColorStateList(resId);
83 return ContextCompat.getColorStateList(context, resId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileColorPicker.java35 getColorStateList(R.color.tint_color_selector, context.getTheme());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileColorPickerTest.java42 getColorStateList(R.color.tint_color_selector, mContext.getTheme());
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java82 ContextCompat.getColorStateList(this, R.color.tint_state_list));
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java82 ContextCompat.getColorStateList(this, R.color.tint_state_list));
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAppCompatTextHelper.java133 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
136 textColorHint = a.getColorStateList(
140 textColorLink = a.getColorStateList(
158 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
161 textColorHint = a.getColorStateList(
165 textColorLink = a.getColorStateList(
320 = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
H A DTintTypedArray.java166 public ColorStateList getColorStateList(int index) { method in class:TintTypedArray
171 AppCompatResources.getColorStateList(mContext, resourceId);
177 return mWrapped.getColorStateList(index);
H A DAppCompatCompoundButtonHelper.java69 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
H A DThemeUtils.java76 return a.getColorStateList(0);
H A DResourcesWrapper.java162 public ColorStateList getColorStateList(int id) throws NotFoundException { method in class:ResourcesWrapper
163 return mResources.getColorStateList(id);
H A DAppCompatDrawableManager.java20 import static androidx.appcompat.content.res.AppCompatResources.getColorStateList;
528 tint = getColorStateList(context, R.color.abc_tint_edittext);
530 tint = getColorStateList(context, R.color.abc_tint_switch_track);
541 tint = getColorStateList(context, R.color.abc_tint_spinner);
545 tint = getColorStateList(context, R.color.abc_tint_default);
547 tint = getColorStateList(context, R.color.abc_tint_btn_checkable);
549 tint = getColorStateList(context, R.color.abc_tint_seek_thumb);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatBaseViewTest.java130 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
174 final ColorStateList lilacColor = ResourcesCompat.getColorStateList(
229 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
249 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
310 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
330 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
386 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
455 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
578 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
644 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
[all...]
H A DAppCompatBaseImageViewTest.java99 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
120 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
178 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
299 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
383 final ColorStateList lilacColor = ResourcesCompat.getColorStateList(
405 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/res/content/
H A DAppCompatResourcesTestCase.java56 final ColorStateList result = AppCompatResources.getColorStateList(
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java65 textColor = a.getColorStateList(com.android.internal.R.styleable.
67 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable.
113 textColor = a.getColorStateList(colorList);
/frameworks/support/compat/src/main/java/androidx/core/content/res/
H A DResourcesCompat.java157 * calls through to {@link Resources#getColorStateList(int)}.
172 public static ColorStateList getColorStateList(@NonNull Resources res, @ColorRes int id, method in class:ResourcesCompat
175 return res.getColorStateList(id, theme);
177 return res.getColorStateList(id);
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
H A DExpandableSwitchItem.java156 final ColorStateList tintColor = a.getColorStateList(0);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifLayout.java126 a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary);
132 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor);
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
H A DContextCompatTest.java141 ContextCompat.getColorStateList(mContext, R.color.complex_unthemed_selector);
153 // calling theme-aware getColorStateList() in pre-v23 is undefined.
155 ContextCompat.getColorStateList(mContext, R.color.complex_themed_selector);
/frameworks/support/core/ktx/src/main/java/androidx/core/content/res/
H A DTypedArray.kt65 * @see TypedArray.getColorStateList
69 return checkNotNull(getColorStateList(index)) {
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
H A DResourcesCompatTest.java85 ResourcesCompat.getColorStateList(mResources, R.color.complex_unthemed_selector,
98 // calling theme-aware getColorStateList() in pre-v23 is undefined.
102 ResourcesCompat.getColorStateList(mResources, R.color.complex_themed_selector,
116 ResourcesCompat.getColorStateList(mResources, R.color.complex_themed_selector,

Completed in 334 milliseconds

1234