Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 2 of 2) sorted by relevance

/appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/
DResourceManagerInternal.java161 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); in onConfigurationChanged() local
162 if (cache != null) { in onConfigurationChanged()
164 cache.clear(); in onConfigurationChanged()
315 final LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); in getCachedDrawable() local
316 if (cache == null) { in getCachedDrawable()
320 final WeakReference<ConstantState> wr = cache.get(key); in getCachedDrawable()
328 cache.remove(key); in getCachedDrawable()
338 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context); in addDrawableToCache() local
339 if (cache == null) { in addDrawableToCache()
340 cache = new LongSparseArray<>(); in addDrawableToCache()
[all …]
/appcompat/appcompat/src/main/java/androidx/appcompat/app/
DResourcesFlusher.java165 private static void flushThemedResourcesCache(final @NonNull Object cache) { in flushThemedResourcesCache() argument
199 sThemedResourceCache_mUnthemedEntriesField.get(cache); in flushThemedResourcesCache()