Home
last modified time | relevance | path

Searched refs:packageUser (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java84 …ublic List<ComponentWithLabel> update(LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() argument
96 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(packageUser)) { in update()
107 .getCustomShortcutActivityList(packageUser)) { in update()
111 setWidgetsAndShortcuts(widgetsAndShortcuts, app, packageUser); in update()
123 app.getWidgetCache().removeObsoletePreviews(widgetsAndShortcuts, packageUser); in update()
128 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts() argument
138 if (packageUser == null) { in setWidgetsAndShortcuts()
144 if (item.packageName.equals(packageUser.mPackageName)) { in setWidgetsAndShortcuts()
157 if (nextWidget.componentName.getPackageName().equals(packageUser.mPackageName) in setWidgetsAndShortcuts()
158 && nextWidget.user.equals(packageUser.mUser)) { in setWidgetsAndShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatVL.java53 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument
57 if (packageUser == null) { in getAllProviders()
67 .getInstalledProvidersForProfile(packageUser.mUser)); in getAllProviders()
70 if (!iterator.next().provider.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()
75 if (Process.myUserHandle().equals(packageUser.mUser) in getAllProviders()
76 && mContext.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()
DAppWidgetManagerCompatVO.java37 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument
41 if (packageUser == null) { in getAllProviders()
44 return mAppWidgetManager.getInstalledProvidersForPackage(packageUser.mPackageName, in getAllProviders()
45 packageUser.mUser); in getAllProviders()
DLauncherAppsCompatVL.java197 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
199 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()
205 if (packageUser == null || packageUser.mPackageName in getCustomShortcutActivityList()
DLauncherAppsCompatVO.java66 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
72 if (packageUser == null) { in getCustomShortcutActivityList()
77 users.add(packageUser.mUser); in getCustomShortcutActivityList()
78 packageName = packageUser.mPackageName; in getCustomShortcutActivityList()
DAppWidgetManagerCompat.java73 @Nullable PackageUserKey packageUser); in getAllProviders()
DLauncherAppsCompat.java92 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java181 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews() argument
197 long passedUserId = packageUser == null ? 0 in removeObsoletePreviews()
198 : mUserManager.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
211 if (packageUser != null && (!pkg.equals(packageUser.mPackageName) in removeObsoletePreviews()
DLauncherModel.java529 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts() argument
533 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts()
DLauncher.java2453 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser() argument
2454 mModel.refreshAndBindWidgetsAndShortcuts(packageUser); in refreshAndBindWidgetsForPackageUser()
/packages/apps/Launcher3/go/src/com/android/launcher3/model/
DWidgetsModel.java59 @Nullable PackageUserKey packageUser) { in update() argument
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java498 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);
499 if (updatedDots.test(packageUser)) {