Lines Matching refs:resolveInfo
23 import android.content.pm.ResolveInfo;
66 public ResolveInfo resolveInfo;
73 ListItem(PackageManager pm, ResolveInfo resolveInfo, IconResizer resizer) {
74 this.resolveInfo = resolveInfo;
75 label = resolveInfo.loadLabel(pm);
76 ComponentInfo ci = resolveInfo.activityInfo;
77 if (ci == null) ci = resolveInfo.serviceInfo;
79 label = resolveInfo.activityInfo.name;
83 icon = resizer.createIconThumbnail(resolveInfo.loadIcon(pm));
167 item.icon = mIconResizer.createIconThumbnail(item.resolveInfo.loadIcon(getPackageManager()));
439 protected List<ResolveInfo> onQueryPackageManager(Intent queryIntent) {
446 protected void onSortResultList(List<ResolveInfo> results) {
447 Collections.sort(results, new ResolveInfo.DisplayNameComparator(mPackageManager));
455 List<ResolveInfo> list = onQueryPackageManager(mIntent);
461 ResolveInfo resolveInfo = list.get(i);
462 result.add(new ListItem(mPackageManager, resolveInfo, null));