/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 31 import android.graphics.drawable.Drawable.ConstantState; 94 private static final LongSparseArray<ConstantState>[] sPreloadedDrawables; 95 private static final LongSparseArray<ConstantState> sPreloadedColorDrawables 96 = new LongSparseArray<ConstantState>(); 112 private final ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> mDrawableCache = 113 new ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>>(); 114 …private final ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>> mColorDrawableCache = 115 new ArrayMap<String, LongSparseArray<WeakReference<ConstantState>>>(); 141 sPreloadedDrawables[0] = new LongSparseArray<ConstantState>(); 142 sPreloadedDrawables[1] = new LongSparseArray<ConstantState>(); [all …]
|
/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() 600 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() 645 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() 651 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
D | SearchView.java | 176 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache = 177 new WeakHashMap<String, Drawable.ConstantState>();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SuggestionsAdapter.java | 71 private WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache; 93 WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) { in SuggestionsAdapter() 553 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() 598 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() 604 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
D | SearchView.java | 193 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache = 194 new WeakHashMap<String, Drawable.ConstantState>();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 113 static class ConstantState extends Drawable.ConstantState { class in BackgroundManager.BitmapDrawable 129 private ConstantState mState = new ConstantState(); 173 public ConstantState getConstantState() { in getConstantState()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 261 public ConstantState getConstantState() { in getConstantState() 265 final static class ColorState extends ConstantState {
|
D | ClipDrawable.java | 256 public ConstantState getConstantState() { in getConstantState() 271 final static class ClipState extends ConstantState {
|
D | ScaleDrawable.java | 262 public ConstantState getConstantState() { in getConstantState() 279 final static class ScaleState extends ConstantState {
|
D | AnimatedRotateDrawable.java | 248 public ConstantState getConstantState() { in getConstantState() 334 final static class AnimatedRotateState extends Drawable.ConstantState {
|
D | RotateDrawable.java | 391 public ConstantState getConstantState() { in getConstantState() 492 final static class RotateState extends Drawable.ConstantState {
|
D | AnimatedVectorDrawable.java | 161 public ConstantState getConstantState() { in getConstantState() 326 private static class AnimatedVectorDrawableState extends ConstantState {
|
D | InsetDrawable.java | 356 public ConstantState getConstantState() { in getConstantState() 380 final static class InsetState extends ConstantState {
|
D | DrawableContainer.java | 559 public ConstantState getConstantState() { in getConstantState() 582 public abstract static class DrawableContainerState extends ConstantState { 1034 private final ConstantState mConstantState;
|
D | ShapeDrawable.java | 482 public ConstantState getConstantState() { in getConstantState() 513 final static class ShapeState extends ConstantState {
|
D | Drawable.java | 1180 public static abstract class ConstantState { class in Drawable 1236 public ConstantState getConstantState() { in getConstantState()
|
D | NinePatchDrawable.java | 551 public ConstantState getConstantState() { in getConstantState() 583 final static class NinePatchState extends ConstantState {
|
D | BitmapDrawable.java | 858 public final ConstantState getConstantState() { in getConstantState() 863 final static class BitmapState extends ConstantState {
|
D | LayerDrawable.java | 921 public ConstantState getConstantState() { in getConstantState() 983 static class LayerState extends ConstantState {
|
D | VectorDrawable.java | 241 public ConstantState getConstantState() { in getConstantState() 638 private static class VectorDrawableState extends ConstantState {
|
D | RippleDrawable.java | 885 public ConstantState getConstantState() { in getConstantState()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 995 WeakReference<Drawable.ConstantState> wr = sIconCache.get(name); in getCachedIcon() 999 Drawable.ConstantState state = wr.get(); in getCachedIcon() 1021 sIconCache.put(name, new WeakReference<Drawable.ConstantState>(dr.getConstantState())); in putCachedIcon() 1760 private static ArrayMap<ResourceName, WeakReference<Drawable.ConstantState>> sIconCache 1761 = new ArrayMap<ResourceName, WeakReference<Drawable.ConstantState>>();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 452 … final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in validateMap()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 139 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in AssetAtlasService()
|