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.java221 private final ConstantState mState;
225 this(r, new ConstantState(b));
228 private WallpaperDrawable(Resources r, ConstantState state) {
279 public ConstantState getConstantState() {
283 static class ConstantState extends Drawable.ConstantState { class in class:LockscreenWallpaper.WallpaperDrawable
287 ConstantState(Bitmap background) { method in class:LockscreenWallpaper.WallpaperDrawable.ConstantState
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1121 * @see ConstantState
1376 * share a unique bitmap stored in their ConstantState.
1380 * from this ConstantState.
1383 * Use {@link Drawable#getConstantState()} to retrieve the ConstantState of a Drawable. Calling
1384 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
1387 public static abstract class ConstantState { class in class:Drawable
1452 * Return a {@link ConstantState} instance that holds the shared state of this Drawable.
1454 * @return The ConstantState associated to that Drawable.
1455 * @see ConstantState
1458 public @Nullable ConstantState getConstantStat
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java115 static final class ConstantState extends Drawable.ConstantState { class in class:BackgroundManager.BitmapDrawable
120 ConstantState(Bitmap bitmap, Matrix matrix) { method in class:BackgroundManager.BitmapDrawable.ConstantState
126 ConstantState(ConstantState copyFrom) { method in class:BackgroundManager.BitmapDrawable.ConstantState
149 ConstantState mState;
157 mState = new ConstantState(bitmap, matrix);
160 BitmapDrawable(ConstantState state) {
210 public ConstantState getConstantState() {
219 mState = new ConstantState(mStat
[all...]

Completed in 3194 milliseconds