Lines Matching defs:Theme

124     private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>();
142 com.android.internal.R.style.Theme,
249 * and updates all Theme references to new implementations as well.
263 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i);
264 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null;
729 * or {@link #getDrawable(int, Theme)} passing the desired theme.</p>
737 * @see #getDrawable(int, Theme)
738 * @deprecated Use {@link #getDrawable(int, Theme)} instead.
745 + "attributes! Consider using Resources.getDrawable(int, Theme) or "
765 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme)
789 * or {@link #getDrawableForDensity(int, int, Theme)} passing the desired
800 * @see #getDrawableForDensity(int, int, Theme)
801 * @deprecated Use {@link #getDrawableForDensity(int, int, Theme)} instead.
823 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) {
856 Drawable loadDrawable(@NonNull TypedValue value, int id, @Nullable Theme theme)
893 * @deprecated Use {@link #getColor(int, Theme)} instead.
918 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException {
953 * @deprecated Use {@link #getColorStateList(int, Theme)} instead.
962 + "Resources.getColorStateList(int, Theme) or "
987 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme)
1000 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme)
1009 public ComplexColor loadComplexColor(@NonNull TypedValue value, int id, @Nullable Theme theme) {
1338 * In other words, a Theme is a set of values for resource attributes;
1342 * <p>The Theme's attributes come into play in two ways: (1) a styled
1346 * attribute's value in the Theme.
1351 public final class Theme {
1354 private Theme() {
1363 * specified by <var>resid</var> will be retrieved from this Theme's
1364 * resources, its values placed into the Theme object.
1389 * @param other The existing Theme to copy from.
1391 public void setTo(Theme other) {
1397 * <var>Theme</var> which are listed in <var>attrs</var>.
1497 * Retrieve the values for a set of attributes in the Theme. The
1516 * Retrieve the value of an attribute in the Theme. The contents of
1537 * Gets all of the attribute ids associated with this {@link Theme}. For debugging only.
1539 * @return The int array containing attribute ids associated with this {@link Theme}.
1557 * and styled for the Theme.
1615 * adjacent Theme data: resource name followed by whether or not it was
1726 * Generate a new Theme object for this set of Resources. It initially
1729 * @return Theme The newly created Theme container.
1731 public final Theme newTheme() {
1732 Theme theme = new Theme();
1748 * @see Theme#obtainStyledAttributes(AttributeSet, int[], int, int)
2145 Resources res, Theme theme, AttributeSet set, int[] attrs) {