/frameworks/base/core/java/android/content/res/ |
H A D | CompatResources.java | 61 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 D | ColorStateListTest.java | 44 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 D | ColoredHeaderMixin.java | 45 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AppCompatMenuItemIconTintingTest.java | 131 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 D | AppCompatResources.java | 62 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 D | TileColorPicker.java | 35 getColorStateList(R.color.tint_color_selector, context.getTheme());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
H A D | TileColorPickerTest.java | 42 getColorStateList(R.color.tint_color_selector, mContext.getTheme());
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/ |
H A D | DrawableCompatActivity.java | 81 ContextCompat.getColorStateList(this, R.color.tint_state_list));
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/ |
H A D | DrawableCompatActivity.java | 81 ContextCompat.getColorStateList(this, R.color.tint_state_list));
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/ |
H A D | AppCompatResourcesTestCase.java | 49 final ColorStateList result = AppCompatResources.getColorStateList(
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextHelper.java | 116 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 D | TintTypedArray.java | 170 public ColorStateList getColorStateList(int index) { method in class:TintTypedArray 175 AppCompatResources.getColorStateList(mContext, resourceId); 181 return mWrapped.getColorStateList(index);
|
H A D | AppCompatCompoundButtonHelper.java | 68 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
|
H A D | ThemeUtils.java | 75 return a.getColorStateList(0);
|
H A D | ResourcesWrapper.java | 161 public ColorStateList getColorStateList(int id) throws NotFoundException { method in class:ResourcesWrapper 162 return mResources.getColorStateList(id);
|
H A D | AppCompatDrawableManager.java | 21 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 D | AppCompatBaseViewTest.java | 122 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 D | AppCompatBaseImageViewTest.java | 97 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 D | ContextCompatTest.java | 65 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 D | TextAppearanceSpan.java | 63 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 D | ContextCompat.java | 387 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 D | ResourcesCompat.java | 153 * 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 D | BottomNavigationView.java | 144 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 D | ExpandableSwitchItem.java | 152 final ColorStateList tintColor = a.getColorStateList(0);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifLayout.java | 124 a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary); 130 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor);
|