Searched refs:packageUser (Results 1 – 12 of 12) sorted by relevance
84 …ublic List<ComponentWithLabel> update(LauncherAppState app, @Nullable PackageUserKey packageUser) { in update() argument96 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() argument138 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()
53 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument57 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()
37 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() argument41 if (packageUser == null) { in getAllProviders()44 return mAppWidgetManager.getInstalledProvidersForPackage(packageUser.mPackageName, in getAllProviders()45 packageUser.mUser); in getAllProviders()
197 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()199 if (packageUser != null && !packageUser.mUser.equals(Process.myUserHandle())) { in getCustomShortcutActivityList()205 if (packageUser == null || packageUser.mPackageName in getCustomShortcutActivityList()
66 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()72 if (packageUser == null) { in getCustomShortcutActivityList()77 users.add(packageUser.mUser); in getCustomShortcutActivityList()78 packageName = packageUser.mPackageName; in getCustomShortcutActivityList()
73 @Nullable PackageUserKey packageUser); in getAllProviders()
92 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
181 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews() argument197 long passedUserId = packageUser == null ? 0 in removeObsoletePreviews()198 : mUserManager.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()211 if (packageUser != null && (!pkg.equals(packageUser.mPackageName) in removeObsoletePreviews()
529 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts() argument533 dataModel.widgetsModel.update(app, packageUser); in refreshAndBindWidgetsAndShortcuts()
2453 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser() argument2454 mModel.refreshAndBindWidgetsAndShortcuts(packageUser); in refreshAndBindWidgetsForPackageUser()
59 @Nullable PackageUserKey packageUser) { in update() argument
498 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);499 if (updatedDots.test(packageUser)) {