Lines Matching refs:theme
712 * Applies the specified theme to this Drawable and its children.
1018 public static Drawable createFromXml(Resources r, XmlPullParser parser, Theme theme)
1032 Drawable drawable = createFromXmlInner(r, parser, attrs, theme);
1058 Theme theme) throws XmlPullParserException, IOException {
1128 drawable.inflate(r, parser, attrs, theme);
1155 * Inflate this Drawable from an XML resource. Does not apply a theme.
1165 * Inflate this Drawable from an XML resource optionally styled by a theme.
1170 * @param theme Theme to apply, may be null
1174 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme)
1177 if (theme != null) {
1178 a = theme.obtainStyledAttributes(
1235 * implemented for drawables that can have a theme applied.
1237 public Drawable newDrawable(Resources res, Theme theme) {
1261 * Return whether this constant state can have a theme applied.
1310 * Obtains styled attributes from the theme, if available, or unstyled
1311 * resources if the theme is null.
1314 Resources res, Theme theme, AttributeSet set, int[] attrs) {
1315 if (theme == null) {
1318 return theme.obtainStyledAttributes(set, attrs, 0, 0);