Searched refs:styleResId (Results 1 – 4 of 4) 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 | 62 public static int getAttrResourceId(Context context, @StyleRes int styleResId, int attr) { in getAttrResourceId() argument 63 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[]{attr}); in getAttrResourceId()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarTabLayout.java | 346 private static Typeface createStyledTypeface(Context context, @StyleRes int styleResId) { in createStyledTypeface() argument 348 int textStyle = Themes.getAttrInteger(context, styleResId, android.R.attr.textStyle); in createStyledTypeface() 350 int textFontWeight = Themes.getAttrInteger(context, styleResId, in createStyledTypeface()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | TabLayout.java | 288 private static Typeface createStyledTypeface(Context context, @StyleRes int styleResId) { in createStyledTypeface() argument 289 TypedArray ta = context.obtainStyledAttributes(styleResId, new int[] { in createStyledTypeface()
|