Searched refs:cachingLogic (Results 1 – 2 of 2) sorted by relevance
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | IconCacheUpdateHandler.java | 106 public <T> void updateIcons(List<T> apps, CachingLogic<T> cachingLogic, in updateIcons() argument 113 UserHandle userHandle = cachingLogic.getUser(app); in updateIcons() 119 componentMap.put(cachingLogic.getComponent(app), app); in updateIcons() 123 updateIconsPerUser(entry.getKey(), entry.getValue(), cachingLogic, onUpdateCallback); in updateIcons() local 137 CachingLogic<T> cachingLogic, OnUpdateCallback onUpdateCallback) { in updateIconsPerUser() argument 211 new SerializedIconUpdateTask(userSerial, user, appsToAdd, appsToUpdate, cachingLogic, in updateIconsPerUser() 259 Stack<T> appsToAdd, Stack<T> appsToUpdate, CachingLogic<T> cachingLogic, in SerializedIconUpdateTask() argument 265 mCachingLogic = cachingLogic; in SerializedIconUpdateTask()
|
D | BaseIconCache.java | 256 public synchronized <T> void addIconToDBAndMemCache(T object, CachingLogic<T> cachingLogic, in addIconToDBAndMemCache() argument 258 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() 259 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache() 272 entry.bitmap = cachingLogic.loadIcon(mContext, object); in addIconToDBAndMemCache() 278 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache() 280 if (cachingLogic.addToMemCache()) mCache.put(key, entry); in addIconToDBAndMemCache() 283 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache() 285 cachingLogic.getLastUpdatedTime(object, info)); in addIconToDBAndMemCache() 318 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument 325 if (cachingLogic.addToMemCache()) { in cacheLocked() [all …]
|