Home | History | Annotate | Download | only in res

Lines Matching refs:Theme

123                 com.android.internal.R.style.Theme,
1070 * This class holds the current attribute values for a particular theme.
1071 * In other words, a Theme is a set of values for resource attributes;
1075 * <p>The Theme's attributes come into play in two ways: (1) a styled
1076 * attribute can explicit reference a value in the theme through the
1079 * attribute's value in the Theme.
1082 * retrieve XML attributes with style and theme information applied.
1084 public final class Theme {
1086 * Place new attribute values into the theme. The style resource
1087 * specified by <var>resid</var> will be retrieved from this Theme's
1088 * resources, its values placed into the Theme object.
1092 * the theme will be copied from the system resource; otherwise, if
1093 * any of the style's attributes are already defined in the theme, the
1094 * current values in the theme will be overwritten.
1099 * used in the theme; otherwise, they will only be used
1100 * if not already defined in the theme.
1107 * Set this theme to hold the same contents as the theme
1111 * they have in common will be set in this theme.
1113 * @param other The existing Theme to copy from.
1115 public void setTo(Theme other) {
1121 * <var>Theme</var> which are listed in <var>attrs</var>.
1223 * <li> The base values in this theme.
1235 * @param defStyleAttr An attribute in the current theme that contains a
1242 * in the theme. Can be 0 to not look for defaults.
1303 * Retrieve the value of an attribute in the Theme. The contents of
1307 * @param resid The resource identifier of the desired theme
1332 * Print contents of this theme out to the log. For debugging only.
1347 /*package*/ Theme() {
1357 * Generate a new Theme object for this set of Resources. It initially
1360 * @return Theme The newly created Theme container.
1362 public final Theme newTheme() {
1363 return new Theme();
1368 * performing styling of them using a theme and/or style resources.
1376 * @see Theme#obtainStyledAttributes(AttributeSet, int[], int, int)