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.java52 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument
56 if (packageUser == null) { in getAllProviders()
69 .getInstalledProvidersForProfile(packageUser.mUser)); in getAllProviders()
72 if (!iterator.next().provider.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()
77 if (FeatureFlags.ENABLE_CUSTOM_WIDGETS && Process.myUserHandle().equals(packageUser.mUser) in getAllProviders()
78 && 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.java188 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
190 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()
196 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.java76 @Nullable PackageUserKey packageUser); in getAllProviders()
DLauncherAppsCompat.java88 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java184 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews() argument
200 long passedUserId = packageUser == null ? 0 in removeObsoletePreviews()
201 : mUserManager.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
214 if (packageUser != null && (!pkg.equals(packageUser.mPackageName) in removeObsoletePreviews()
DLauncherModel.java558 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts() argument
562 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts()
DLauncher.java2427 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser() argument
2428 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.java496 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);
497 if (updatedDots.test(packageUser)) {