/frameworks/base/core/java/android/content/res/ |
D | DrawableCache.java | 25 class DrawableCache extends ThemedResourceCache<Drawable.ConstantState> { 42 final Drawable.ConstantState entry = get(key, theme); in getInstance() 51 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { in shouldInvalidateEntry()
|
D | ConfigurationBoundResourceCache.java | 28 public class ConfigurationBoundResourceCache<T> extends ThemedResourceCache<ConstantState<T>> { 44 final ConstantState<T> entry = get(key, theme); in getInstance() 53 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { in shouldInvalidateEntry()
|
D | ConstantState.java | 32 abstract public class ConstantState<T> { class
|
D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState()
|
D | ResourcesImpl.java | 112 private static final LongSparseArray<Drawable.ConstantState>[] sPreloadedDrawables; 114 private static final LongSparseArray<Drawable.ConstantState> sPreloadedColorDrawables 117 private static final LongSparseArray<android.content.res.ConstantState<ComplexColor>> 635 final Drawable.ConstantState cs; in loadDrawable() 686 Drawable.ConstantState state = dr.getConstantState(); in loadDrawable() 716 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable() 1006 final android.content.res.ConstantState<ComplexColor> factory = in loadComplexColorFromName() 1105 final android.content.res.ConstantState<ComplexColor> factory = in getColorStateListFromInt() 1312 LongSparseArray<Drawable.ConstantState> getPreloadedDrawables() { in getPreloadedDrawables()
|
D | ColorStateList.java | 680 public ConstantState<ComplexColor> getConstantState() { in getConstantState() 687 private static class ColorStateListFactory extends ConstantState<ComplexColor> {
|
D | GradientColor.java | 501 public ConstantState<ComplexColor> getConstantState() { in getConstantState() 508 private static class GradientColorFactory extends ConstantState<ComplexColor> {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 240 private final ConstantState mState; 244 this(r, new ConstantState(b)); in WallpaperDrawable() 247 private WallpaperDrawable(Resources r, ConstantState state) { in WallpaperDrawable() 298 public ConstantState getConstantState() { in getConstantState() 302 static class ConstantState extends Drawable.ConstantState { class in LockscreenWallpaper.WallpaperDrawable 306 ConstantState(Bitmap background) { in ConstantState() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 143 public ConstantState getConstantState() { in getConstantState() 164 private static class MyConstantState extends ConstantState { 168 final ConstantState mChildState; 170 MyConstantState(Bitmap shadow, ConstantState childState) { in MyConstantState()
|
/frameworks/base/core/java/android/animation/ |
D | Animator.java | 22 import android.content.res.ConstantState; 392 public ConstantState<Animator> createConstantState() { in createConstantState() 654 private static class AnimatorConstantState extends ConstantState<Animator> {
|
D | StateListAnimator.java | 20 import android.content.res.ConstantState; 269 public ConstantState<StateListAnimator> createConstantState() { in createConstantState() 309 extends ConstantState<StateListAnimator> {
|
D | AnimatorInflater.java | 24 import android.content.res.ConstantState; 129 final ConstantState<Animator> constantState = animator.createConstantState(); in loadAnimator() 173 final ConstantState<StateListAnimator> constantState = animator in loadStateListAnimator()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 101 public ConstantState getConstantState() { in getConstantState() 106 static class AdaptiveConstantState extends ConstantState {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 95 public ConstantState getConstantState() { in getConstantState() 137 private static class BluetoothDeviceLayerDrawableState extends ConstantState {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 640 public ConstantState getConstantState() { in getConstantState() 684 public abstract static class DrawableContainerState extends ConstantState { 692 SparseArray<ConstantState> mDrawableFutures; 800 final SparseArray<ConstantState> origDf = orig.mDrawableFutures; in DrawableContainerState() 813 final ConstantState cs = origDr[i].getConstantState(); in DrawableContainerState() 879 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in createAllFutures() 918 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in getChild() 1006 final ConstantState future = mDrawableFutures.get(i); in canApplyTheme()
|
D | ColorStateListDrawable.java | 188 public @NonNull ConstantState getConstantState() { in getConstantState() 242 static final class ColorStateListDrawableState extends ConstantState {
|
D | DrawableWrapper.java | 399 public ConstantState getConstantState() { in getConstantState() 472 abstract static class DrawableWrapperState extends Drawable.ConstantState { 486 Drawable.ConstantState mDrawableState;
|
D | ColorDrawable.java | 343 public ConstantState getConstantState() { in getConstantState() 347 final static class ColorState extends ConstantState {
|
D | ShapeDrawable.java | 512 public ConstantState getConstantState() { in getConstantState() 538 static final class ShapeState extends ConstantState {
|
D | AdaptiveIconDrawable.java | 843 public ConstantState getConstantState() { in getConstantState() 896 final ConstantState cs = dr.getConstantState(); in ChildDrawable() 929 static class LayerState extends ConstantState {
|
D | NinePatchDrawable.java | 545 public ConstantState getConstantState() { in getConstantState() 591 final static class NinePatchState extends ConstantState {
|
D | Drawable.java | 1494 public static abstract class ConstantState { class 1565 public @Nullable ConstantState getConstantState() { in getConstantState()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 71 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache; 100 WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) { in SuggestionsAdapter() 625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() 670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() 676 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonDrawable.java | 196 public ConstantState getConstantState() { in getConstantState() 373 private static class ShadowDrawableState extends ConstantState { 391 ConstantState mChildState;
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 207 static class DummyFloatConstantState extends ConstantState<Float> {
|