Home
last modified time | relevance | path

Searched refs:mIconCache (Results 1 – 18 of 18) 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); in updatePackage()
150 mIconCache, null)); in updatePackage()
152 mIconCache.remove(applicationInfo.componentName); in updatePackage()
153 mIconCache.getTitleAndIcon(applicationInfo, info, null); in updatePackage()
165 mIconCache.remove(component); 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()
DLauncher.java265 private IconCache mIconCache; field in Launcher
366 mIconCache = app.getIconCache(); in onCreate()
505 mIconCache.flush(); in checkForLocaleChange()
1061 favorite.applyFromShortcutInfo(info, mIconCache); in createShortcut()
1914 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
3507 (FolderInfo) item, mIconCache); in bindItems()
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()
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.java47 private IconCache mIconCache; field in AllAppsList
55 mIconCache = iconCache; in AllAppsList()
101 add(new AppInfo(context, info, user, mIconCache, null)); in addPackage()
119 mIconCache.remove(packageName, user); in removePackage()
140 mIconCache.remove(component, user); in updatePackage()
153 add(new AppInfo(context, info, user, mIconCache, null)); in updatePackage()
155 mIconCache.remove(applicationInfo.componentName, user); in updatePackage()
156 mIconCache.getTitleAndIcon(applicationInfo, info, null); in updatePackage()
168 mIconCache.remove(component, user); in updatePackage()
DLauncherModel.java183 private IconCache mIconCache; field in LauncherModel
249 mIconCache = iconCache; in LauncherModel()
2848 mBgAllAppsList.add(new AppInfo(mContext, app, user, mIconCache, mLabelCache));
2980 mIconCache.remove(packages[i], mUser);
3116 si.iconResource.resourceName, mIconCache, context);
3129 mIconCache.deletePreloadedIcon(cn, mUser);
3162 si.updateIcon(mIconCache);
3167 si.updateIcon(mIconCache);
3342 mIconCache.getTitleAndIcon(info, intent, info.user, true);
3427 Bitmap icon = mIconCache.getIcon(componentName, lai, labelCache);
[all …]
DLauncherAppState.java50 private final IconCache mIconCache; field in LauncherAppState
104 mIconCache = new IconCache(sContext); in LauncherAppState()
108 mModel = new LauncherModel(this, mIconCache, mAppFilter); in LauncherAppState()
169 return mIconCache; in getIconCache()
DLauncherBackupHelper.java143 private IconCache mIconCache; field in LauncherBackupHelper
535 Bitmap icon = mIconCache.getIcon(intent, myUserHandle); in backupIcons()
536 if (icon != null && !mIconCache.isDefaultIcon(icon, myUserHandle)) { in backupIcons()
638 … writeRowToBackup(key, packWidget(dpi, previewLoader, mIconCache, provider), data); in backupWidgets()
1084 if (mIconCache != null) { in initializeIconCache()
1095 mIconCache = appState.getIconCache(); in initializeIconCache()
1096 return mIconCache != null; in initializeIconCache()
DWidgetPreviewLoader.java139 private final IconCache mIconCache; field in WidgetPreviewLoader
160 mIconCache = app.getIconCache(); in WidgetPreviewLoader()
580 Drawable icon = mManager.loadIcon(info, mIconCache); in generateWidgetPreview()
652 Drawable icon = mutateOnMainThread(mIconCache.getFullResIcon(info.activityInfo)); in generateShortcutPreview()
DLauncher.java302 private IconCache mIconCache; field in Launcher
413 mIconCache = app.getIconCache(); in onCreate()
414 mIconCache.flushInvalidIcons(grid); in onCreate()
589 mIconCache.flush(); in checkForLocaleChange()
1492 favorite.applyFromShortcutInfo(info, mIconCache, true); in createShortcut()
2424 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache); in addFolder()
4299 (FolderInfo) item, mIconCache); in bindItems()
4441 view.updateIcon(mIconCache); in bindAppWidget()
4605 getHotseat().addAllAppsFolder(mIconCache, apps, in bindAllApplications()
5024 return new AppInfo(this, activityInfo, myUser, mIconCache, null); in createAppDragInfo()
DWorkspace.java182 private IconCache mIconCache; field in Workspace
456 mIconCache = app.getIconCache(); in initWorkspace()
4003 (FolderInfo) info, mIconCache);
4709 shortcut.applyFromShortcutInfo(shortcutInfo, mIconCache, true, false);
4895 shortcut.applyFromShortcutInfo(si, mIconCache, true,
4927 mIconCache.getTitleAndIcon(shortcutInfo,
4931 shortcutInfo.updateIcon(mIconCache);
4934 shortcut.applyFromShortcutInfo(shortcutInfo, mIconCache, true, false);
DFolder.java82 private final IconCache mIconCache; field in Folder
147 mIconCache = app.getIconCache(); in Folder()
644 textView.applyFromShortcutInfo(item, mIconCache, false); in createAndAddShortcut()
DAppsCustomizePagedView.java174 private IconCache mIconCache; field in AppsCustomizePagedView
220 mIconCache = (LauncherAppState.getInstance()).getIconCache(); in AppsCustomizePagedView()
666 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo); in beginDraggingWidget()
/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);