Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java48 private IconCache mIconCache; field in AllAppsList
54 mIconCache = iconCache; in AllAppsList()
95 add(new ApplicationInfo(info, mIconCache)); in addPackage()
114 mIconCache.flush(); in removePackage()
131 mIconCache.remove(component); in updatePackage()
146 add(new ApplicationInfo(info, mIconCache)); in updatePackage()
148 mIconCache.remove(applicationInfo.componentName); in updatePackage()
149 mIconCache.getTitleAndIcon(applicationInfo, info); in updatePackage()
160 mIconCache.remove(component); in updatePackage()
DLauncherApplication.java29 public IconCache mIconCache; field in LauncherApplication
37 mIconCache = new IconCache(this); in onCreate()
38 mModel = new LauncherModel(this, mIconCache); in onCreate()
86 return mIconCache; in getIconCache()
DShortcutsAdapter.java36 private final IconCache mIconCache; field in ShortcutsAdapter
41 mIconCache = ((LauncherApplication)context.getApplicationContext()).getIconCache(); in ShortcutsAdapter()
54 new FastBitmapDrawable(info.getIcon(mIconCache)), null, null); in getView()
DLauncherModel.java91 private IconCache mIconCache; field in LauncherModel
116 mIconCache = iconCache; in LauncherModel()
1119 mAllAppsList.add(new ApplicationInfo(apps.get(i), mIconCache)); in loadAllAppsByBatch()
1237 mIconCache.remove(info.intent.getComponent()); in run()
1317 icon = mIconCache.getIcon(componentName, resolveInfo); in getShortcutInfo()
1524 Bitmap loaded = info.getIcon(mIconCache); in updateSavedIcon()
DWorkspace.java99 private IconCache mIconCache; field in Workspace
197 mIconCache = app.getIconCache(); in initWorkspace()
1456 info.setIcon(mIconCache.getIcon(info.intent)); in updateShortcuts()
1458 new FastBitmapDrawable(info.getIcon(mIconCache)), in updateShortcuts()
DLauncher.java202 private IconCache mIconCache; field in Launcher
225 mIconCache = app.getIconCache(); in onCreate()
304 mIconCache.flush(); in checkForLocaleChange()
846 new FastBitmapDrawable(info.getIcon(mIconCache)), in createShortcut()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java37 private final WeakHashMap<String, Drawable.ConstantState> mIconCache; field in CachingIconLoader
46 mIconCache = new WeakHashMap<String, Drawable.ConstantState>(); in CachingIconLoader()
68 Drawable.ConstantState cached = mIconCache.get(drawableId); in checkIconCache()
78 mIconCache.put(resourceUri, drawable.getConstantState()); in storeInIconCache()