Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java107 public <T> void updateIcons(List<T> apps, CachingLogic<T> cachingLogic, in updateIcons() argument
114 UserHandle userHandle = cachingLogic.getUser(app); in updateIcons()
120 componentMap.put(cachingLogic.getComponent(app), app); in updateIcons()
124 updateIconsPerUser(entry.getKey(), entry.getValue(), cachingLogic, onUpdateCallback); in updateIcons() local
139 CachingLogic<T> cachingLogic, OnUpdateCallback onUpdateCallback) { in updateIconsPerUser() argument
186 && updateTime == cachingLogic.getLastUpdatedTime(app, info) in updateIconsPerUser()
215 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser()
263 ArrayDeque<T> appsToAdd, ArrayDeque<T> appsToUpdate, CachingLogic<T> cachingLogic, in SerializedIconUpdateTask() argument
269 mCachingLogic = cachingLogic; in SerializedIconUpdateTask()
DBaseIconCache.java321 @NonNull final CachingLogic<T> cachingLogic, @NonNull final PackageInfo info, in addIconToDBAndMemCache() argument
323 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache()
324 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache()
337 entry.bitmap = cachingLogic.loadIcon(mContext, object); in addIconToDBAndMemCache()
344 CharSequence entryTitle = cachingLogic.getLabel(object); in addIconToDBAndMemCache()
347 Log.wtf(TAG, "No label returned from caching logic instance: " + cachingLogic); in addIconToDBAndMemCache()
354 if (cachingLogic.addToMemCache()) mCache.put(key, entry); in addIconToDBAndMemCache()
357 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache()
359 cachingLogic.getLastUpdatedTime(object, info)); in addIconToDBAndMemCache()
412 @NonNull final Supplier<T> infoProvider, @NonNull final CachingLogic<T> cachingLogic, in cacheLocked() argument
[all …]