Home
last modified time | relevance | path

Searched refs:ConstantState (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DResources.java31 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/
DSuggestionsAdapter.java71 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()
DSearchView.java176 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache =
177 new WeakHashMap<String, Drawable.ConstantState>();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java71 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()
DSearchView.java193 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache =
194 new WeakHashMap<String, Drawable.ConstantState>();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java113 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/
DColorDrawable.java261 public ConstantState getConstantState() { in getConstantState()
265 final static class ColorState extends ConstantState {
DClipDrawable.java256 public ConstantState getConstantState() { in getConstantState()
271 final static class ClipState extends ConstantState {
DScaleDrawable.java262 public ConstantState getConstantState() { in getConstantState()
279 final static class ScaleState extends ConstantState {
DAnimatedRotateDrawable.java248 public ConstantState getConstantState() { in getConstantState()
334 final static class AnimatedRotateState extends Drawable.ConstantState {
DRotateDrawable.java391 public ConstantState getConstantState() { in getConstantState()
492 final static class RotateState extends Drawable.ConstantState {
DAnimatedVectorDrawable.java161 public ConstantState getConstantState() { in getConstantState()
326 private static class AnimatedVectorDrawableState extends ConstantState {
DInsetDrawable.java356 public ConstantState getConstantState() { in getConstantState()
380 final static class InsetState extends ConstantState {
DDrawableContainer.java559 public ConstantState getConstantState() { in getConstantState()
582 public abstract static class DrawableContainerState extends ConstantState {
1034 private final ConstantState mConstantState;
DShapeDrawable.java482 public ConstantState getConstantState() { in getConstantState()
513 final static class ShapeState extends ConstantState {
DDrawable.java1180 public static abstract class ConstantState { class in Drawable
1236 public ConstantState getConstantState() { in getConstantState()
DNinePatchDrawable.java551 public ConstantState getConstantState() { in getConstantState()
583 final static class NinePatchState extends ConstantState {
DBitmapDrawable.java858 public final ConstantState getConstantState() { in getConstantState()
863 final static class BitmapState extends ConstantState {
DLayerDrawable.java921 public ConstantState getConstantState() { in getConstantState()
983 static class LayerState extends ConstantState {
DVectorDrawable.java241 public ConstantState getConstantState() { in getConstantState()
638 private static class VectorDrawableState extends ConstantState {
DRippleDrawable.java885 public ConstantState getConstantState() { in getConstantState()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java995 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/
DExtendedBitmapDrawable.java102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java452 … final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in validateMap()
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java139 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables(); in AssetAtlasService()

12