Searched refs:getColorStateList (Results 1 - 25 of 84) 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/tests/src/android/support/v7/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/android/support/v7/content/res/
H A DAppCompatResources.java62 public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) { method in class:AppCompatResources
65 return context.getColorStateList(resId);
82 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/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java81 ContextCompat.getColorStateList(this, R.color.tint_state_list));
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java81 ContextCompat.getColorStateList(this, R.color.tint_state_list));
/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
H A DAppCompatResourcesTestCase.java49 final ColorStateList result = AppCompatResources.getColorStateList(
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextHelper.java116 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
119 textColorHint = a.getColorStateList(
123 textColorLink = a.getColorStateList(
141 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
144 textColorHint = a.getColorStateList(
148 textColorLink = a.getColorStateList(
236 = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
H A DTintTypedArray.java170 public ColorStateList getColorStateList(int index) { method in class:TintTypedArray
175 AppCompatResources.getColorStateList(mContext, resourceId);
181 return mWrapped.getColorStateList(index);
H A DAppCompatCompoundButtonHelper.java68 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
H A DThemeUtils.java75 return a.getColorStateList(0);
H A DResourcesWrapper.java161 public ColorStateList getColorStateList(int id) throws NotFoundException { method in class:ResourcesWrapper
162 return mResources.getColorStateList(id);
H A DAppCompatDrawableManager.java21 import static android.support.v7.content.res.AppCompatResources.getColorStateList;
530 tint = getColorStateList(context, R.color.abc_tint_edittext);
532 tint = getColorStateList(context, R.color.abc_tint_switch_track);
543 tint = getColorStateList(context, R.color.abc_tint_spinner);
547 tint = getColorStateList(context, R.color.abc_tint_default);
549 tint = getColorStateList(context, R.color.abc_tint_btn_checkable);
551 tint = getColorStateList(context, R.color.abc_tint_seek_thumb);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatBaseViewTest.java122 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
166 final ColorStateList lilacColor = ResourcesCompat.getColorStateList(
221 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
241 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
302 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
322 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
378 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
447 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
570 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
636 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
[all...]
H A DAppCompatBaseImageViewTest.java97 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
118 final ColorStateList oceanColor = ResourcesCompat.getColorStateList(
176 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
297 final ColorStateList emeraldColor = ResourcesCompat.getColorStateList(
381 final ColorStateList lilacColor = ResourcesCompat.getColorStateList(
403 final ColorStateList sandColor = ResourcesCompat.getColorStateList(
/frameworks/support/compat/tests/java/android/support/v4/content/
H A DContextCompatTest.java65 ContextCompat.getColorStateList(mContext, R.color.complex_unthemed_selector);
77 // calling theme-aware getColorStateList() in pre-v23 is undefined.
79 ContextCompat.getColorStateList(mContext, R.color.complex_themed_selector);
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java63 textColor = a.getColorStateList(com.android.internal.R.styleable.
65 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable.
102 textColor = a.getColorStateList(colorList);
/frameworks/support/compat/java/android/support/v4/content/
H A DContextCompat.java387 public static final ColorStateList getColorStateList(Context context, @ColorRes int id) { method in class:ContextCompat
389 return context.getColorStateList(id);
391 return context.getResources().getColorStateList(id);
/frameworks/support/compat/java/android/support/v4/content/res/
H A DResourcesCompat.java153 * calls through to {@link Resources#getColorStateList(int)}.
168 public static ColorStateList getColorStateList(@NonNull Resources res, @ColorRes int id, method in class:ResourcesCompat
171 return res.getColorStateList(id, theme);
173 return res.getColorStateList(id);
/frameworks/support/design/src/android/support/design/widget/
H A DBottomNavigationView.java144 a.getColorStateList(R.styleable.BottomNavigationView_itemIconTint));
151 a.getColorStateList(R.styleable.BottomNavigationView_itemTextColor));
399 ColorStateList baseColor = AppCompatResources.getColorStateList(
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
H A DExpandableSwitchItem.java152 final ColorStateList tintColor = a.getColorStateList(0);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifLayout.java124 a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary);
130 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor);

Completed in 498 milliseconds

1234