/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AllAppsList.java | 45 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()
|
D | LauncherApplication.java | 38 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()
|
D | WidgetPreviewLoader.java | 135 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()
|
D | LauncherModel.java | 145 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()
|
D | Folder.java | 74 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()
|
D | AppsCustomizePagedView.java | 186 private IconCache mIconCache; field in AppsCustomizePagedView 255 mIconCache = ((LauncherApplication) context.getApplicationContext()).getIconCache(); in AppsCustomizePagedView() 749 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo, in beginDraggingWidget()
|
D | Launcher.java | 267 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()
|
D | Workspace.java | 138 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/ |
D | AllAppsList.java | 56 private IconCache mIconCache; field in AllAppsList 64 mIconCache = iconCache; in AllAppsList() 81 mIconCache.getTitleAndIcon(info, activityInfo, true /* useLowResIcon */); in add() 94 mIconCache.getTitleAndIcon(info, info.usingLowResIcon); in addPromiseApp() 167 mIconCache.updateTitleAndIcon(info); in updateIconsAndLabels() 202 mIconCache.getTitleAndIcon(applicationInfo, info, true /* useLowResIcon */); in updatePackage() 213 mIconCache.remove(applicationInfo.componentName, user); in updatePackage()
|
D | LauncherAppState.java | 52 private final IconCache mIconCache; field in 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;
|
D | WidgetPreviewLoader.java | 72 private final IconCache mIconCache; field in WidgetPreviewLoader 82 mIconCache = iconCache; in WidgetPreviewLoader() 415 Drawable icon = info.getIcon(launcher, mIconCache); in generateWidgetPreview() 474 mutateOnMainThread(info.getFullResIcon(mIconCache)), mContext, 0); in generateShortcutPreview()
|
D | Launcher.java | 278 private IconCache mIconCache; field in Launcher 397 mIconCache = app.getIconCache(); in onCreate() 3398 new PendingAppWidgetHostView(this, item, mIconCache, true); 3505 view = new PendingAppWidgetHostView(this, item, mIconCache, false);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 43 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/ |
D | LoaderCursor.java | 68 private final IconCache mIconCache; field in LoaderCursor 101 mIconCache = app.getIconCache(); in LoaderCursor() 157 info.iconBitmap = mIconCache.getDefaultIcon(info.user); in loadSimpleShortcut() 218 mIconCache.getTitleAndIcon(info, false /* useLowResIcon */); in getRestoredItemInfo() 271 mIconCache.getTitleAndIcon(info, lai, useLowResIcon); in getAppShortcutInfo() 272 if (mIconCache.isDefaultIcon(info.iconBitmap, user)) { in getAppShortcutInfo()
|
D | LoaderTask.java | 101 private final IconCache mIconCache; field in LoaderTask 117 mIconCache = mApp.getIconCache(); in LoaderTask() 669 mIconCache.getTitleAndIconForApp( in loadWorkspace() 733 mIconCache.getTitleAndIcon(info, false); in loadWorkspace() 791 mIconCache.updateDbIcons(packagesToIgnore); in updateIconCache()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsDiffReporter.java | 34 private final IconCache mIconCache; field in WidgetsDiffReporter 45 mIconCache = iconCache; in WidgetsDiffReporter() 139 !mIconCache.isDefaultIcon(curInfo.iconBitmap, curInfo.user); in isSamePackageItemInfo()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/ |
D | WidgetsListAdapterTest.java | 57 @Mock private IconCache mIconCache; field in WidgetsListAdapterTest 72 WidgetsDiffReporter reporter = new WidgetsDiffReporter(mIconCache); in setup()
|