Lines Matching defs:Theme

128     private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>();
154 com.android.internal.R.style.Theme,
261 * and updates all Theme references to new implementations as well.
275 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i);
276 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null;
789 * or {@link #getDrawable(int, Theme)} passing the desired theme.</p>
797 * @see #getDrawable(int, Theme)
798 * @deprecated Use {@link #getDrawable(int, Theme)} instead.
805 + "attributes! Consider using Resources.getDrawable(int, Theme) or "
825 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme)
842 * or {@link #getDrawableForDensity(int, int, Theme)} passing the desired
855 * @see #getDrawableForDensity(int, int, Theme)
856 * @deprecated Use {@link #getDrawableForDensity(int, int, Theme)} instead.
875 * This is equivalent to calling {@link #getDrawable(int, Theme)}.
883 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) {
895 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme)
932 * @deprecated Use {@link #getColor(int, Theme)} instead.
957 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException {
992 * @deprecated Use {@link #getColorStateList(int, Theme)} instead.
1001 + "Resources.getColorStateList(int, Theme) or "
1026 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme)
1039 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme)
1048 public ComplexColor loadComplexColor(@NonNull TypedValue value, int id, @Nullable Theme theme) {
1379 * In other words, a Theme is a set of values for resource attributes;
1383 * <p>The Theme's attributes come into play in two ways: (1) a styled
1387 * attribute's value in the Theme.
1392 public final class Theme {
1395 private Theme() {
1404 * specified by <var>resid</var> will be retrieved from this Theme's
1405 * resources, its values placed into the Theme object.
1430 * @param other The existing Theme to copy from.
1432 public void setTo(Theme other) {
1438 * <var>Theme</var> which are listed in <var>attrs</var>.
1541 * Retrieve the values for a set of attributes in the Theme. The
1561 * Retrieve the value of an attribute in the Theme. The contents of
1582 * Gets all of the attribute ids associated with this {@link Theme}. For debugging only.
1584 * @return The int array containing attribute ids associated with this {@link Theme}.
1602 * and styled for the Theme.
1660 * adjacent Theme data: resource name followed by whether or not it was
1771 * Generate a new Theme object for this set of Resources. It initially
1774 * @return Theme The newly created Theme container.
1776 public final Theme newTheme() {
1777 Theme theme = new Theme();
1803 * @see Theme#obtainStyledAttributes(AttributeSet, int[], int, int)
2199 Resources res, Theme theme, AttributeSet set, int[] attrs) {