Lines Matching refs:theme
57 * styled for the specified theme. Various types of objects will be
61 * Prior to API level 21, the theme will not be applied and this method
67 * @param theme The theme used to style the drawable attributes, may be
76 @Nullable Theme theme) throws NotFoundException {
78 return res.getDrawable(id, theme);
87 * the given screen density in DPI and styled for the specified theme.
89 * Prior to API level 15, the theme and density will not be applied and
92 * Prior to API level 21, the theme will not be applied and this method
100 * @param theme The theme used to style the drawable attributes, may be
109 int density, @Nullable Theme theme) throws NotFoundException {
111 return res.getDrawableForDensity(id, density, theme);
124 * Prior to API level 23, the theme will not be applied and this method
130 * @param theme The theme used to style the color attributes, may be
138 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme)
141 return res.getColor(id, theme);
152 * Prior to API level 23, the theme will not be applied and this method
159 * @param theme The theme used to style the color attributes, may be
169 @Nullable Theme theme) throws NotFoundException {
171 return res.getColorStateList(id, theme);