Searched refs:themedCache (Results 1 – 2 of 2) sorted by relevance
56 LongSparseArray<WeakReference<ConstantState<T>>> themedCache; in put() local58 themedCache = mCache.get(themeKey); in put()59 if (themedCache == null) { in put()60 themedCache = new LongSparseArray<WeakReference<ConstantState<T>>>(1); in put()61 mCache.put(themeKey, themedCache); in put()63 themedCache.put(key, new WeakReference<ConstantState<T>>(constantState)); in put()78 final LongSparseArray<WeakReference<ConstantState<T>>> themedCache; in get() local81 themedCache = mCache.get(themeKey); in get()82 if (themedCache == null) { in get()85 wr = themedCache.get(key); in get()[all …]
2426 LongSparseArray<WeakReference<ConstantState>> themedCache = caches.get(themeKey); in cacheDrawable() local2427 if (themedCache == null) { in cacheDrawable()2428 themedCache = new LongSparseArray<WeakReference<ConstantState>>(1); in cacheDrawable()2429 caches.put(themeKey, themedCache); in cacheDrawable()2431 themedCache.put(key, new WeakReference<ConstantState>(cs)); in cacheDrawable()2494 final LongSparseArray<WeakReference<ConstantState>> themedCache = caches.get(themeKey); in getCachedDrawable() local2495 if (themedCache != null) { in getCachedDrawable()2496 final Drawable themedDrawable = getCachedDrawableLocked(themedCache, key); in getCachedDrawable()