Searched refs:cachingLogic (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 245 public synchronized <T> void addIconToDBAndMemCache(T object, CachingLogic<T> cachingLogic, in addIconToDBAndMemCache() argument 247 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() 248 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache() 261 entry.bitmap = cachingLogic.loadIcon(mContext, object); in addIconToDBAndMemCache() 267 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache() 269 if (cachingLogic.addToMemCache()) mCache.put(key, entry); in addIconToDBAndMemCache() 272 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache() 274 cachingLogic.getLastUpdatedTime(object, info)); in addIconToDBAndMemCache() 307 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument 314 if (cachingLogic.addToMemCache()) { in cacheLocked() [all …]
|
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()
|