Searched defs:ConstantState (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/res/
H A DConstantState.java32 abstract public class ConstantState<T> { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java214 private final ConstantState mState;
218 this(r, new ConstantState(b));
221 private WallpaperDrawable(Resources r, ConstantState state) {
266 public ConstantState getConstantState() {
270 static class ConstantState extends Drawable.ConstantState { class in class:LockscreenWallpaper.WallpaperDrawable
274 ConstantState(Bitmap background) { method in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1078 * @see ConstantState
1293 * share a unique bitmap stored in their ConstantState.
1297 * from this ConstantState.
1300 * Use {@link Drawable#getConstantState()} to retrieve the ConstantState of a Drawable. Calling
1301 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
1304 public static abstract class ConstantState { class in class:Drawable
1382 * Return a {@link ConstantState} instance that holds the shared state of this Drawable.
1384 * @return The ConstantState associated to that Drawable.
1385 * @see ConstantState
1388 public @Nullable ConstantState getConstantStat
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java132 static class ConstantState extends Drawable.ConstantState { class in class:BackgroundManager.BitmapDrawable
148 private ConstantState mState = new ConstantState();
203 public ConstantState getConstantState() {
516 private WeakReference<Drawable.ConstantState> mLastThemeDrawableState;
555 Drawable.ConstantState drawableState = mLastThemeDrawableState.get();
564 mLastThemeDrawableState = new WeakReference<Drawable.ConstantState>(

Completed in 737 milliseconds