Searched refs:mDrawableCache (Results 1 – 4 of 4) sorted by relevance
58 private final SparseArray<Drawable> mDrawableCache = new SparseArray<>(); field in LockIcon107 mDrawableCache.clear(); in onConfigurationChanged()156 mDrawableCache.clear(); in updateColor()173 if (!mDrawableCache.contains(iconRes)) { in getIcon()174 mDrawableCache.put(iconRes, getContext().getDrawable(iconRes)); in getIcon()177 return mDrawableCache.get(iconRes); in getIcon()
112 LruCache<String, BitmapDrawable> mDrawableCache; field in CachedBluetoothDevice151 mDrawableCache = new LruCache<String, BitmapDrawable>(cacheSize) { in initDrawableCache()531 if (uri != null && mDrawableCache.get(uri.toString()) == null) { in refresh()532 mDrawableCache.put(uri.toString(), in refresh()1229 BitmapDrawable drawable = mDrawableCache.get(uri.toString()); in getDrawableWithDescription()1244 mDrawableCache.evictAll(); in releaseLruCache()
115 private final DrawableCache mDrawableCache = new DrawableCache(); field in ResourcesImpl470 mDrawableCache.onConfigurationChange(configChanges); in updateConfiguration()585 mDrawableCache.clear(); in clearAllCaches()637 caches = mDrawableCache; in loadDrawable()
968 mCachedDevice.mDrawableCache = lruCache; in getDrawableWithDescription_isAdvancedDevice_returnAdvancedIcon()1003 assertThat(mCachedDevice.mDrawableCache.size()).isEqualTo(0); in releaseLruCache_lruCacheShouldBeRelease()