Searched defs:mIconCache (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DAllAppsList.java45 private IconCache mIconCache; field in class:AllAppsList
51 mIconCache = iconCache;
94 add(new ApplicationInfo(info, user, mIconCache, null));
112 mIconCache.flush();
133 mIconCache.remove(component, user);
150 mIconCache, null));
152 mIconCache.remove(applicationInfo.componentName, user);
153 mIconCache.getTitleAndIcon(applicationInfo, info, null);
165 mIconCache.remove(component, user);
H A DLauncherApplication.java38 private IconCache mIconCache; field in class:LauncherApplication
55 mIconCache = new IconCache(this);
56 mModel = new LauncherModel(this, mIconCache);
115 return mIconCache;
H A DWidgetPreviewLoader.java135 private IconCache mIconCache; field in class:WidgetPreviewLoader
158 mIconCache = app.getIconCache();
528 icon = mIconCache.getFullResIcon(info.provider.getPackageName(),
634 Drawable icon = mIconCache.getFullResIcon(info, android.os.Process.myUserHandle());
H A DFolder.java74 private final IconCache mIconCache; field in class:Folder
122 mIconCache = ((LauncherApplication)context.getApplicationContext()).getIconCache();
525 new FastBitmapDrawable(item.getIcon(mIconCache)), null, null);
H A DAppsCustomizePagedView.java186 private IconCache mIconCache; field in class:AppsCustomizePagedView
255 mIconCache = ((LauncherApplication) context.getApplicationContext()).getIconCache();
749 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo,
H A DLauncherModel.java145 private IconCache mIconCache; field in class:LauncherModel
182 mIconCache = iconCache;
185 mIconCache.getFullResDefaultActivityIcon(), app);
1957 mIconCache, mLabelCache));
2215 icon = mIconCache.getIcon(componentName, lai, labelCache);
2303 mIconCache.getFullResIcon(resources, id, Process.myUserHandle()),
2449 mIconCache.getFullResIcon(resources, id, user),
2501 Bitmap loaded = info.getIcon(mIconCache);
H A DLauncher.java267 private IconCache mIconCache; field in class:Launcher
371 mIconCache = app.getIconCache();
531 mIconCache.flush();
1087 favorite.applyFromShortcutInfo(info, mIconCache);
1940 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache);
3533 (FolderInfo) item, mIconCache);
H A DWorkspace.java138 private IconCache mIconCache; field in class:Workspace
410 mIconCache = app.getIconCache();
3129 (FolderInfo) info, mIconCache);
3848 info.updateIcon(mIconCache);
3850 shortcut.applyFromShortcutInfo(info, mIconCache);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppState.java52 private final IconCache mIconCache; field in class:LauncherAppState
99 mIconCache = new IconCache(mContext, mInvariantDeviceProfile);
100 mWidgetCache = new WidgetPreviewLoader(mContext, mIconCache);
101 mModel = new LauncherModel(this, mIconCache, AppFilter.newInstance(mContext));
164 return mIconCache;
H A DAllAppsList.java56 private IconCache mIconCache; field in class:AllAppsList
64 mIconCache = iconCache;
81 mIconCache.getTitleAndIcon(info, activityInfo, true /* useLowResIcon */);
94 mIconCache.getTitleAndIcon(info, info.usingLowResIcon);
167 mIconCache.updateTitleAndIcon(info);
202 mIconCache.getTitleAndIcon(applicationInfo, info, true /* useLowResIcon */);
213 mIconCache.remove(applicationInfo.componentName, user);
H A DWidgetPreviewLoader.java72 private final IconCache mIconCache; field in class:WidgetPreviewLoader
82 mIconCache = iconCache;
415 Drawable icon = info.getIcon(launcher, mIconCache);
474 mutateOnMainThread(info.getFullResIcon(mIconCache)), mContext, 0);
H A DLauncher.java278 private IconCache mIconCache; field in class:Launcher
397 mIconCache = app.getIconCache();
3398 new PendingAppWidgetHostView(this, item, mIconCache, true);
3505 view = new PendingAppWidgetHostView(this, item, mIconCache, false);
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetsDiffReporter.java34 private final IconCache mIconCache; field in class:WidgetsDiffReporter
45 mIconCache = iconCache;
139 !mIconCache.isDefaultIcon(curInfo.iconBitmap, curInfo.user);
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
H A DWidgetsListAdapterTest.java57 @Mock private IconCache mIconCache; field in class:WidgetsListAdapterTest
72 WidgetsDiffReporter reporter = new WidgetsDiffReporter(mIconCache);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCachingIconLoader.java43 private final WeakHashMap<String, Entry> mIconCache; field in class:CachingIconLoader
52 mIconCache = new WeakHashMap<String, Entry>();
87 NowOrLater<Drawable.ConstantState> cached = mIconCache.get(drawableId);
96 mIconCache.put(resourceUri, drawable);
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DLoaderTask.java101 private final IconCache mIconCache; field in class:LoaderTask
117 mIconCache = mApp.getIconCache();
669 mIconCache.getTitleAndIconForApp(
733 mIconCache.getTitleAndIcon(info, false);
791 mIconCache.updateDbIcons(packagesToIgnore);
H A DLoaderCursor.java68 private final IconCache mIconCache; field in class:LoaderCursor
101 mIconCache = app.getIconCache();
157 info.iconBitmap = mIconCache.getDefaultIcon(info.user);
218 mIconCache.getTitleAndIcon(info, false /* useLowResIcon */);
271 mIconCache.getTitleAndIcon(info, lai, useLowResIcon);
272 if (mIconCache.isDefaultIcon(info.iconBitmap, user)) {

Completed in 260 milliseconds