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.java249 protected synchronized <T> void addIconToDBAndMemCache(T object, CachingLogic<T> cachingLogic, in addIconToDBAndMemCache() argument
251 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache()
252 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache()
265 cachingLogic.loadIcon(mContext, object, entry); in addIconToDBAndMemCache()
267 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache()
306 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
308 return cacheLocked(componentName, user, infoProvider, cachingLogic, usePackageIcon, in cacheLocked()
314 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
334 cachingLogic.loadIcon(mContext, object, entry); in cacheLocked()
361 entry.title = cachingLogic.getLabel(object); in cacheLocked()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java199 @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument