Home
last modified time | relevance | path

Searched refs:packageUserKey (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java112 PackageUserKey packageUserKey = PackageUserKey.fromNotification(notification); in onNotificationFullRefresh() local
113 DotInfo dotInfo = mPackageUserToDotInfos.get(packageUserKey); in onNotificationFullRefresh()
116 mPackageUserToDotInfos.put(packageUserKey, dotInfo); in onNotificationFullRefresh()
122 for (PackageUserKey packageUserKey : mPackageUserToDotInfos.keySet()) { in onNotificationFullRefresh()
123 DotInfo prevDot = updatedDots.get(packageUserKey); in onNotificationFullRefresh()
124 DotInfo newDot = mPackageUserToDotInfos.get(packageUserKey); in onNotificationFullRefresh()
127 updatedDots.put(packageUserKey, newDot); in onNotificationFullRefresh()
132 updatedDots.remove(packageUserKey); in onNotificationFullRefresh()
232 public List<WidgetItem> getWidgetsForPackageUser(PackageUserKey packageUserKey) { in getWidgetsForPackageUser() argument
235 && row.mPkgItem.packageName.equals(packageUserKey.mPackageName)) in getWidgetsForPackageUser()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetsPredictionUpdateTask.java67 PackageUserKey packageUserKey = new PackageUserKey(app.getPackageName(), in execute() local
69 if (allWidgets.containsKey(packageUserKey)) { in execute()
70 List<WidgetItem> notAddedWidgets = allWidgets.get(packageUserKey).stream() in execute()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListAdapter.java403 public void onHeaderClicked(boolean showWidgets, PackageUserKey packageUserKey) { in onHeaderClicked() argument
405 if (!showWidgets && !packageUserKey.equals(mWidgetsContentVisiblePackageUserKey)) return; in onHeaderClicked()
410 mWidgetsContentVisiblePackageUserKey = packageUserKey; in onHeaderClicked()
418 mPendingClickHeader = packageUserKey; in onHeaderClicked()
DOnHeaderClickListener.java27 void onHeaderClicked(boolean showWidgets, PackageUserKey packageUserKey); in onHeaderClicked() argument
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java48 public final PackageUserKey packageUserKey; field in NotificationInfo
66 packageUserKey = PackageUserKey.fromNotification(statusBarNotification); in NotificationInfo()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java289 .keySet().forEach(packageUserKey -> packages.add(packageUserKey.mPackageName)); in getInvalidWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java348 .forEach(packageUserKey -> validPackages.add(packageUserKey.mPackageName)); in getValidPackages()
DGridSizeMigrationTask.java1013 .forEach(packageUserKey -> validPackages.add(packageUserKey.mPackageName));
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java3174 final PackageUserKey packageUserKey = new PackageUserKey(null, null); in updateNotificationDots() local
3175 Predicate<ItemInfo> matcher = info -> !packageUserKey.updateFromItemInfo(info) in updateNotificationDots()
3176 || updatedDots.test(packageUserKey); in updateNotificationDots()