Home
last modified time | relevance | path

Searched refs:mIconCache (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java45 private IconCache mIconCache; field in AllAppsList
51 mIconCache = iconCache; in AllAppsList()
94 add(new ApplicationInfo(info, user, mIconCache, null)); in addPackage()
112 mIconCache.flush(); in removePackage()
133 mIconCache.remove(component, user); in updatePackage()
150 mIconCache, null)); in updatePackage()
152 mIconCache.remove(applicationInfo.componentName, user); in updatePackage()
153 mIconCache.getTitleAndIcon(applicationInfo, info, null); in updatePackage()
165 mIconCache.remove(component, user); in updatePackage()
DLauncherApplication.java38 private IconCache mIconCache; field in LauncherApplication
55 mIconCache = new IconCache(this); in onCreate()
56 mModel = new LauncherModel(this, mIconCache); in onCreate()
115 return mIconCache; in getIconCache()
DWidgetPreviewLoader.java135 private IconCache mIconCache; field in WidgetPreviewLoader
158 mIconCache = app.getIconCache(); in WidgetPreviewLoader()
528 icon = mIconCache.getFullResIcon(info.provider.getPackageName(), in generateWidgetPreview()
634 Drawable icon = mIconCache.getFullResIcon(info, android.os.Process.myUserHandle()); in generateShortcutPreview()
DLauncherModel.java145 private IconCache mIconCache; field in LauncherModel
182 mIconCache = iconCache; in LauncherModel()
185 mIconCache.getFullResDefaultActivityIcon(), app); in LauncherModel()
1957 mIconCache, mLabelCache)); in loadAllAppsByBatch()
2215 icon = mIconCache.getIcon(componentName, lai, labelCache); in getShortcutInfo()
2303 mIconCache.getFullResIcon(resources, id, Process.myUserHandle()), in getShortcutInfo()
2449 mIconCache.getFullResIcon(resources, id, user), in infoFromShortcutIntent()
2501 Bitmap loaded = info.getIcon(mIconCache); in updateSavedIcon()
DFolder.java74 private final IconCache mIconCache; field in Folder
122 mIconCache = ((LauncherApplication)context.getApplicationContext()).getIconCache(); in Folder()
525 new FastBitmapDrawable(item.getIcon(mIconCache)), null, null); in createAndAddShortcut()
DAppsCustomizePagedView.java186 private IconCache mIconCache; field in AppsCustomizePagedView
255 mIconCache = ((LauncherApplication) context.getApplicationContext()).getIconCache(); in AppsCustomizePagedView()
749 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo, in beginDraggingWidget()
DLauncher.java267 private IconCache mIconCache; field in Launcher
371 mIconCache = app.getIconCache(); in onCreate()
531 mIconCache.flush(); in checkForLocaleChange()
1087 favorite.applyFromShortcutInfo(info, mIconCache); in createShortcut()
1940 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
3533 (FolderInfo) item, mIconCache); in bindItems()
DWorkspace.java138 private IconCache mIconCache; field in Workspace
410 mIconCache = app.getIconCache(); in initWorkspace()
3129 (FolderInfo) info, mIconCache);
3848 info.updateIcon(mIconCache);
3850 shortcut.applyFromShortcutInfo(info, mIconCache);
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java50 private IconCache mIconCache; field in AllAppsList
58 mIconCache = iconCache; in AllAppsList()
104 add(new AppInfo(context, info, user, mIconCache)); in addPackage()
142 mIconCache.updateTitleAndIcon(info); in updateIconsAndLabels()
177 add(new AppInfo(context, info, user, mIconCache)); in updatePackage()
179 mIconCache.getTitleAndIcon(applicationInfo, info, true /* useLowResIcon */); in updatePackage()
191 mIconCache.remove(component, user); in updatePackage()
DLauncherAppState.java40 private final IconCache mIconCache; field in LauncherAppState
88 mIconCache = new IconCache(sContext, mInvariantDeviceProfile); in LauncherAppState()
89 mWidgetCache = new WidgetPreviewLoader(sContext, mIconCache); in LauncherAppState()
92 mModel = new LauncherModel(this, mIconCache, mAppFilter); in LauncherAppState()
146 return mIconCache; in getIconCache()
DLauncherBackupHelper.java154 private IconCache mIconCache; field in LauncherBackupHelper
225 mIconCache = app.getIconCache(); in performBackup()
349 mIconCache = new IconCache(mContext, mIdp); in restoreEntity()
595 Bitmap icon = mIconCache.getIcon(intent, myUserHandle); in backupIcons()
596 if (icon != null && !mIconCache.isDefaultIcon(icon, myUserHandle)) { in backupIcons()
642 mIconCache.preloadIcon(ComponentName.unflattenFromString(key.name), icon, res.dpi, in restoreIcon()
731 mIconCache.preloadIcon(ComponentName.unflattenFromString(widget.provider), in restoreWidget()
1020 … Drawable fullResIcon = mIconCache.getFullResIcon(info.provider.getPackageName(), info.icon); in packWidget()
DLauncherModel.java173 @Thunk IconCache mIconCache; field in LauncherModel
239 mIconCache = iconCache; in LauncherModel()
346 mIconCache.getTitleAndIcon(si, in updateSessionDisplayInfo()
351 si.updateIcon(mIconCache); in updateSessionDisplayInfo()
2300 info.updateIcon(mIconCache, false); in loadWorkspace()
2755 mIconCache.updateDbIcons(packagesToIgnore);
2824 mBgAllAppsList.add(new AppInfo(mContext, app, user, mIconCache, quietMode));
2909 si.updateIcon(mIconCache);
3021 mIconCache.updateIconsForPkg(packages[i], mUser);
3034 mIconCache.updateIconsForPkg(packages[i], mUser);
[all …]
DWidgetPreviewLoader.java66 private final IconCache mIconCache; field in WidgetPreviewLoader
77 mIconCache = iconCache; in WidgetPreviewLoader()
413 Drawable icon = mWidgetManager.loadIcon(info, mIconCache); in generateWidgetPreview()
446 Drawable icon = mutateOnMainThread(mIconCache.getFullResIcon(info.activityInfo)); in generateShortcutPreview()
DFolderPagedView.java67 private final IconCache mIconCache; field in FolderPagedView
96 mIconCache = app.getIconCache(); in FolderPagedView()
213 textView.applyFromShortcutInfo(item, mIconCache); in createNewView()
DLauncher.java290 private IconCache mIconCache; field in Launcher
429 mIconCache = app.getIconCache(); in onCreate()
1483 favorite.applyFromShortcutInfo(info, mIconCache); in createShortcut()
2362 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
3923 (FolderInfo) item, mIconCache); in bindItems()
3989 view.updateIcon(mIconCache); in bindSafeModeWidget()
4113 view.updateIcon(mIconCache); in bindAppWidget()
4709 return new AppInfo(this, activityInfo, user, mIconCache); in createAppDragInfo()
DWorkspace.java165 @Thunk IconCache mIconCache; field in Workspace
442 mIconCache = app.getIconCache(); in initWorkspace()
3644 (FolderInfo) info, mIconCache);
4431 shortcut.applyFromShortcutInfo(si, mIconCache,
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java43 private final WeakHashMap<String, Entry> mIconCache; field in CachingIconLoader
52 mIconCache = new WeakHashMap<String, Entry>(); in CachingIconLoader()
87 NowOrLater<Drawable.ConstantState> cached = mIconCache.get(drawableId);
96 mIconCache.put(resourceUri, drawable);
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java50 private final IconCache mIconCache; field in WidgetsModel
60 mIconCache = iconCache; in WidgetsModel()
76 mIconCache = model.mIconCache; in WidgetsModel()
206 mIconCache.getTitleAndIconForApp(packageName, userHandle, in setWidgetsAndShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsContainerView.java61 private IconCache mIconCache; field in WidgetsContainerView
86 mIconCache = (LauncherAppState.getInstance()).getIconCache(); in WidgetsContainerView()
218 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.activityInfo); in beginDraggingWidget()