Home
last modified time | relevance | path

Searched refs:mPackageManager (Results 1 – 5 of 5) sorted by relevance

/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListActivity.java58 private PackageManager mPackageManager; field in LiveWallpaperListActivity
69 mPackageManager = getPackageManager(); in onCreate()
79 List<ResolveInfo> list = mPackageManager.queryIntentServices( in findLiveWallpapers()
105 return mCollator.compare(info1.loadLabel(mPackageManager), in findLiveWallpapers()
106 info2.loadLabel(mPackageManager)); in findLiveWallpapers()
133 Drawable thumb = info.loadThumbnail(mPackageManager); in findLiveWallpapers()
149 String title = info.loadLabel(mPackageManager).toString(); in findLiveWallpapers()
224 CharSequence author = info.loadAuthor(mPackageManager); in getView()
226 info.loadLabel(mPackageManager), author)); in getView()
228 holder.titleAuthor.setText(info.loadLabel(mPackageManager)); in getView()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DApplicationsAdapter.java34 private final PackageManager mPackageManager; field in ApplicationsAdapter
38 mPackageManager = context.getPackageManager(); in ApplicationsAdapter()
51 info.icon = AppInfoCache.getIconDrawable(mPackageManager, info); in getView()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java115 private final RestrictionMockPackageManager mPackageManager; field in ContactsActor.RestrictionMockContext
128 mPackageManager = new RestrictionMockPackageManager(); in RestrictionMockContext()
129 mPackageManager.addPackage(1000, PACKAGE_GREY); in RestrictionMockContext()
130 mPackageManager.addPackage(2000, PACKAGE_RED); in RestrictionMockContext()
131 mPackageManager.addPackage(3000, PACKAGE_GREEN); in RestrictionMockContext()
132 mPackageManager.addPackage(4000, PACKAGE_BLUE); in RestrictionMockContext()
144 return mPackageManager; in getPackageManager()
/packages/apps/Settings/src/com/android/settings/
DAppWidgetPickActivity.java49 private PackageManager mPackageManager; field in AppWidgetPickActivity
60 mPackageManager = getPackageManager(); in onCreate()
178 icon = mPackageManager.getDrawable(info.provider.getPackageName(), info.icon, null); in putAppWidgetItems()
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java906 private PackageManager mPackageManager; field in QuickContactWindow.ResolveCache
921 mPackageManager = context.getPackageManager(); in ResolveCache()
936 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, in getEntry()
949 final Drawable icon = bestResolve.loadIcon(mPackageManager); in getEntry()
971 final ResolveInfo foundResolve = mPackageManager.resolveActivity(intent, in getBestResolve()
1017 return info.loadLabel(mPackageManager); in getDescription()