Searched refs:styleResId (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | Themes.java | 36 public static int getAttrColor(Context context, @StyleRes int styleResId, int attr) { in getAttrColor() argument 37 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrColor() 57 public static ColorStateList getAttrColorStateList(Context context, @StyleRes int styleResId, in getAttrColorStateList() argument 59 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrColorStateList() 73 public static boolean getAttrBoolean(Context context, @StyleRes int styleResId, int attr) { in getAttrBoolean() argument 74 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrBoolean() 86 public static Drawable getAttrDrawable(Context context, @StyleRes int styleResId, int attr) { in getAttrDrawable() argument 87 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrDrawable() 99 public static int getAttrInteger(Context context, @StyleRes int styleResId, int attr) { in getAttrInteger() argument 100 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrInteger() [all …]
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/ |
D | CarUiUtils.java | 66 public static int getAttrResourceId(Context context, @StyleRes int styleResId, int attr) { in getAttrResourceId() argument 67 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrResourceId()
|