Home
last modified time | relevance | path

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

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java97 public <T> void updateIcons(List<T> apps, CachingLogic<T> cachingLogic, in updateIcons() argument
104 UserHandle userHandle = cachingLogic.getUser(app); in updateIcons()
110 componentMap.put(cachingLogic.getComponent(app), app); in updateIcons()
114 updateIconsPerUser(entry.getKey(), entry.getValue(), cachingLogic, onUpdateCallback); in updateIcons() local
128 CachingLogic<T> cachingLogic, OnUpdateCallback onUpdateCallback) { in updateIconsPerUser() argument
201 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser()
250 Stack<T> appsToAdd, Stack<T> appsToUpdate, CachingLogic<T> cachingLogic, in SerializedIconUpdateTask() argument
256 mCachingLogic = cachingLogic; in SerializedIconUpdateTask()
DBaseIconCache.java252 protected synchronized <T> void addIconToDBAndMemCache(T object, CachingLogic<T> cachingLogic, in addIconToDBAndMemCache() argument
254 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache()
255 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache()
268 cachingLogic.loadIcon(mContext, object, entry); in addIconToDBAndMemCache()
274 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache()
276 if (cachingLogic.addToMemCache()) mCache.put(key, entry); in addIconToDBAndMemCache()
279 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache()
313 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
320 if (cachingLogic.addToMemCache()) { in cacheLocked()
333 cachingLogic.loadIcon(mContext, object, entry); in cacheLocked()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java198 @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument