/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());
|
H A D | TypedArray.java | 538 public ColorStateList getColorStateList(@StyleableRes int index) { method in class:TypedArray
|
H A D | Resources.java | 992 * @deprecated Use {@link #getColorStateList(int, Theme)} instead. 996 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { method in class:Resources 997 final ColorStateList csl = getColorStateList(id, null); 1001 + "Resources.getColorStateList(int, Theme) or " 1002 + "Context.getColorStateList(int).", new RuntimeException()); 1026 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) method in class:Resources
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/ |
H A D | AppCompatResources.java | 63 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/support/compat/src/main/java/androidx/core/content/ |
H A D | ContextCompat.java | 498 public static ColorStateList getColorStateList(@NonNull Context context, method in class:ContextCompat 501 return context.getColorStateList(id); 503 return context.getResources().getColorStateList(id);
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
H A D | ResourcesCompat.java | 157 * 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/base/test-mock/src/android/test/mock/ |
H A D | MockResources.java | 142 public ColorStateList getColorStateList(int id) throws NotFoundException { method in class:MockResources
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 221 public static ColorStateList getColorStateList(@NonNull ResourceValue resValue, method in class:ResourceHelper
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | TintTypedArray.java | 166 public ColorStateList getColorStateList(int index) { method in class:TintTypedArray 171 AppCompatResources.getColorStateList(mContext, resourceId); 177 return mWrapped.getColorStateList(index);
|
H A D | ResourcesWrapper.java | 162 public ColorStateList getColorStateList(int id) throws NotFoundException { method in class:ResourcesWrapper 163 return mResources.getColorStateList(id);
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 299 ColorStateList colorStateList = ResourceHelper.getColorStateList( 309 public ColorStateList getColorStateList(int index) { method in class:BridgeTypedArray 314 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme);
|
H A D | Resources_Delegate.java | 244 // Suppress possible NPE. getColorStateList will never return null, it will instead 247 return getColorStateList(resources, id, theme).getDefaultColor(); 251 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { method in class:Resources_Delegate 252 return getColorStateList(resources, id, null); 256 static ColorStateList getColorStateList(Resources resources, int id, Theme theme) method in class:Resources_Delegate 262 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(),
|
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 641 public final ColorStateList getColorStateList(@ColorRes int id) { method in class:Context 642 return getResources().getColorStateList(id, getTheme());
|