Home
last modified time | relevance | path

Searched refs:PackageItemInfo (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java41 private final MultiHashMap<PackageItemInfo, WidgetItem> mWidgetsList = new MultiHashMap<>();
45 public synchronized MultiHashMap<PackageItemInfo, WidgetItem> getWidgetsMap() { in getWidgetsMap()
97 HashMap<String, PackageItemInfo> tmpPackageItemInfos = new HashMap<>(); in setWidgetsAndShortcuts()
104 PackageItemInfo packageItem = null; in setWidgetsAndShortcuts()
105 for (PackageItemInfo item : mWidgetsList.keySet()) { in setWidgetsAndShortcuts()
158 PackageItemInfo pInfo = tmpPackageItemInfos.get(packageName); in setWidgetsAndShortcuts()
160 pInfo = new PackageItemInfo(packageName); in setWidgetsAndShortcuts()
172 for (PackageItemInfo p : tmpPackageItemInfos.values()) { in setWidgetsAndShortcuts()
DPackageItemInfo.java24 public class PackageItemInfo extends ItemInfoWithIcon { class
31 public PackageItemInfo(String packageName) { in PackageItemInfo() method in PackageItemInfo
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DWidgetsListAdapterTest.java33 import com.android.launcher3.model.PackageItemInfo;
128 private MultiHashMap<PackageItemInfo, WidgetItem> generateSampleMap(int num) { in generateSampleMap()
129 MultiHashMap<PackageItemInfo, WidgetItem> newMap = new MultiHashMap(); in generateSampleMap()
138 PackageItemInfo pInfo = new PackageItemInfo(wi.componentName.getPackageName()); in generateSampleMap()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAppInfo.java23 import android.content.pm.PackageItemInfo;
39 public final PackageItemInfo packageItemInfo;
61 public DefaultAppInfo(PackageManagerWrapper pm, PackageItemInfo info, String summary, in DefaultAppInfo()
71 public DefaultAppInfo(PackageManagerWrapper pm, PackageItemInfo info) { in DefaultAppInfo()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetListRowEntry.java19 import com.android.launcher3.model.PackageItemInfo;
29 public final PackageItemInfo pkgItem;
39 public WidgetListRowEntry(PackageItemInfo pkgItem, ArrayList<WidgetItem> items) { in WidgetListRowEntry()
DWidgetsDiffReporter.java22 import com.android.launcher3.model.PackageItemInfo;
137 private boolean isSamePackageItemInfo(PackageItemInfo curInfo, PackageItemInfo newInfo) { in isSamePackageItemInfo()
DWidgetsListAdapter.java31 import com.android.launcher3.model.PackageItemInfo;
107 public void setWidgets(MultiHashMap<PackageItemInfo, WidgetItem> widgets) { in setWidgets() argument
111 for (Map.Entry<PackageItemInfo, ArrayList<WidgetItem>> entry : widgets.entrySet()) { in setWidgets()
DWidgetsContainerView.java42 import com.android.launcher3.model.PackageItemInfo;
241 public void setWidgets(MultiHashMap<PackageItemInfo, WidgetItem> model) { in setWidgets() argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java21 import android.content.pm.PackageItemInfo;
157 PackageItemInfo groupInfo = getGroupInfo(mGroupName); in loadPermissionApps()
250 private PackageItemInfo getGroupInfo(String groupName) { in getGroupInfo()
283 PackageItemInfo info; in loadGroupInfo()
DPermissionGroups.java25 import android.content.pm.PackageItemInfo;
230 private CharSequence loadItemInfoLabel(PackageItemInfo itemInfo) { in loadItemInfoLabel()
238 private Drawable loadItemInfoIcon(PackageItemInfo itemInfo) { in loadItemInfoIcon()
DAppPermissionGroup.java23 import android.content.pm.PackageItemInfo;
80 PackageItemInfo groupInfo = permissionInfo; in create()
105 PackageItemInfo groupInfo, List<PermissionInfo> permissionInfos, in create()
173 private static CharSequence loadGroupDescription(Context context, PackageItemInfo group) { in loadGroupDescription()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java26 import android.content.pm.PackageItemInfo;
114 public WebViewAppInfo(PackageManagerWrapper pm, PackageItemInfo packageItemInfo, in WebViewAppInfo()
133 DefaultAppInfo createDefaultAppInfo(PackageManagerWrapper pm, PackageItemInfo packageItemInfo, in createDefaultAppInfo()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java25 import android.content.pm.PackageItemInfo;
168 PackageItemInfo group = getGroup(perm.group, pm); in updateUi()
226 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
240 PackageItemInfo group, PackageManager pm) { in getPreference()
/packages/apps/Settings/tests/robotests/src/android/util/
DIconDrawableFactory.java20 import android.content.pm.PackageItemInfo;
41 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon()
/packages/apps/StorageManager/robotests/src/android/util/
DIconDrawableFactory.java20 import android.content.pm.PackageItemInfo;
39 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java53 import com.android.launcher3.model.PackageItemInfo;
210 public void applyFromPackageItemInfo(PackageItemInfo info) { in applyFromPackageItemInfo()
611 } else if (info instanceof PackageItemInfo) { in reapplyItemInfo()
612 applyFromPackageItemInfo((PackageItemInfo) info); in reapplyItemInfo()
DLauncherAppWidgetInfo.java24 import com.android.launcher3.model.PackageItemInfo;
102 public PackageItemInfo pendingItemInfo;
DIconCache.java48 import com.android.launcher3.model.PackageItemInfo;
406 } else if (info instanceof PackageItemInfo) { in updateIconInBackground()
407 getTitleAndIconForApp((PackageItemInfo) info, false); in updateIconInBackground()
477 PackageItemInfo infoInOut, boolean useLowResIcon) { in getTitleAndIconForApp()
DPendingAppWidgetHostView.java37 import com.android.launcher3.model.PackageItemInfo;
84 info.pendingItemInfo = new PackageItemInfo(info.providerName.getPackageName()); in PendingAppWidgetHostView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DDefaultAppInfoTest.java25 import android.content.pm.PackageItemInfo;
44 private PackageItemInfo mPackageItemInfo;
/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java24 import android.content.pm.PackageItemInfo;
346 PackageItemInfo mockPackageItemInfo = mock(PackageItemInfo.class); in testWebViewVersionAddedAfterLabel()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherIcons.java47 import com.android.launcher3.model.PackageItemInfo;
381 PackageItemInfo pkgInfo = new PackageItemInfo(shortcutInfo.getPackage()); in getShortcutInfoBadge()
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java26 import android.content.pm.PackageItemInfo;
1091 static private boolean packageNameEquals(PackageItemInfo info1, PackageItemInfo info2) { in packageNameEquals()
1109 PackageItemInfo lastInfo = null; in removeDuplicateIgnoringUser()
1112 PackageItemInfo info = appEntry.info; in removeDuplicateIgnoringUser()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java30 import android.content.pm.PackageItemInfo;
118 Collections.sort(services, new PackageItemInfo.DisplayNameComparator(mPm)); in updateList()
/packages/apps/Settings/src/com/android/settings/notification/
DZenAccessSettings.java31 import android.content.pm.PackageItemInfo;
134 Collections.sort(apps, new PackageItemInfo.DisplayNameComparator(mPkgMan)); in reloadList()

12