/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageUserKey.java | 12 public class PackageUserKey { class 18 public static PackageUserKey fromItemInfo(ItemInfo info) { in fromItemInfo() 19 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); in fromItemInfo() 22 public static PackageUserKey fromNotification(StatusBarNotification notification) { in fromNotification() 23 return new PackageUserKey(notification.getPackageName(), notification.getUser()); in fromNotification() 26 public PackageUserKey(String packageName, UserHandle user) { in PackageUserKey() method in PackageUserKey 55 if (!(obj instanceof PackageUserKey)) return false; in equals() 56 PackageUserKey otherKey = (PackageUserKey) obj; in equals()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 34 import com.android.launcher3.util.PackageUserKey; 63 private Map<PackageUserKey, BadgeInfo> mPackageUserToBadgeInfos = new HashMap<>(); 70 public void onNotificationPosted(PackageUserKey postedPackageUserKey, in onNotificationPosted() 96 public void onNotificationRemoved(PackageUserKey removedPackageUserKey, in onNotificationRemoved() 116 HashMap<PackageUserKey, BadgeInfo> updatedBadges = new HashMap<>(mPackageUserToBadgeInfos); in onNotificationFullRefresh() 119 PackageUserKey packageUserKey = PackageUserKey.fromNotification(notification); in onNotificationFullRefresh() 130 for (PackageUserKey packageUserKey : mPackageUserToBadgeInfos.keySet()) { in onNotificationFullRefresh() 152 private void updateLauncherIconBadges(Set<PackageUserKey> updatedBadges) { in updateLauncherIconBadges() 164 private void updateLauncherIconBadges(Set<PackageUserKey> updatedBadges, in updateLauncherIconBadges() 166 Iterator<PackageUserKey> iterator = updatedBadges.iterator(); in updateLauncherIconBadges() [all …]
|
D | PopupContainerWithArrow.java | 73 import com.android.launcher3.util.PackageUserKey; 569 public void updateNotificationHeader(Set<PackageUserKey> updatedBadges) { in updateNotificationHeader() 571 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo); in updateNotificationHeader() 586 public void trimNotifications(Map<PackageUserKey, BadgeInfo> updatedBadges) { in trimNotifications() argument 591 BadgeInfo badgeInfo = updatedBadges.get(PackageUserKey.fromItemInfo(originalInfo)); in trimNotifications()
|
D | SystemShortcut.java | 15 import com.android.launcher3.util.PackageUserKey; 58 final List<WidgetItem> widgets = launcher.getWidgetsForPackageUser(new PackageUserKey( in getOnClickListener()
|
D | PopupPopulator.java | 41 import com.android.launcher3.util.PackageUserKey; 231 PackageUserKey.fromItemInfo(originalInfo)); in createUpdateRunnable()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 32 import com.android.launcher3.util.PackageUserKey; 96 Pair<PackageUserKey, NotificationKeyData> pair 97 = (Pair<PackageUserKey, NotificationKeyData>) message.obj; 166 PackageUserKey packageUserKey; 171 packageUserKey = PackageUserKey.fromNotification(sbn); in NotificationPostedMsg() 180 Pair<PackageUserKey, NotificationKeyData> packageUserKeyAndNotificationKey in onNotificationRemoved() 181 = new Pair<>(PackageUserKey.fromNotification(sbn), in onNotificationRemoved() 240 void onNotificationPosted(PackageUserKey postedPackageUserKey, in onNotificationPosted() 242 void onNotificationRemoved(PackageUserKey removedPackageUserKey, in onNotificationRemoved()
|
D | NotificationInfo.java | 34 import com.android.launcher3.util.PackageUserKey; 45 public final PackageUserKey packageUserKey; 62 packageUserKey = PackageUserKey.fromNotification(statusBarNotification); in NotificationInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/badge/ |
D | BadgeInfo.java | 29 import com.android.launcher3.util.PackageUserKey; 42 private PackageUserKey mPackageUserKey; 65 public BadgeInfo(PackageUserKey packageUserKey) { in BadgeInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 23 import com.android.launcher3.util.PackageUserKey; 64 public ArrayList<WidgetItem> update(Context context, @Nullable PackageUserKey packageUser) { in update() 99 Context context, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts()
|
D | PackageUpdatedTask.java | 47 import com.android.launcher3.util.PackageUserKey; 380 new PackageUserKey(packages[i], mUser) /* packageUser */); in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 61 import com.android.launcher3.util.PackageUserKey; 487 public void updateIconBadges(Set<PackageUserKey> updatedBadges) { in updateIconBadges() 488 final PackageUserKey packageUserKey = new PackageUserKey(null, null); in updateIconBadges()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AppWidgetManagerCompatVO.java | 23 import com.android.launcher3.util.PackageUserKey; 34 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders()
|
D | AppWidgetManagerCompat.java | 33 import com.android.launcher3.util.PackageUserKey; 74 @Nullable PackageUserKey packageUser); in getAllProviders()
|
D | LauncherAppsCompatVO.java | 32 import com.android.launcher3.util.PackageUserKey; 63 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
|
D | AppWidgetManagerCompatVL.java | 34 import com.android.launcher3.util.PackageUserKey; 51 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders()
|
D | LauncherAppsCompat.java | 36 import com.android.launcher3.util.PackageUserKey; 89 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
|
D | LauncherAppsCompatVL.java | 36 import com.android.launcher3.util.PackageUserKey; 182 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsContainerView.java | 43 import com.android.launcher3.util.PackageUserKey; 249 public List<WidgetItem> getWidgetsForPackageUser(PackageUserKey packageUserKey) { in getWidgetsForPackageUser()
|
D | WidgetsListAdapter.java | 34 import com.android.launcher3.util.PackageUserKey; 106 public List<WidgetItem> copyWidgetsForPackageUser(PackageUserKey packageUserKey) { in copyWidgetsForPackageUser()
|
D | WidgetsBottomSheet.java | 50 import com.android.launcher3.util.PackageUserKey; 117 List<WidgetItem> widgets = mLauncher.getWidgetsForPackageUser(new PackageUserKey( in onWidgetsBound()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WidgetPreviewLoader.java | 41 import com.android.launcher3.util.PackageUserKey; 181 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews()
|
D | Launcher.java | 124 import com.android.launcher3.util.PackageUserKey; 1573 public void updateIconBadges(final Set<PackageUserKey> updatedBadges) { in updateIconBadges() 3934 public List<WidgetItem> getWidgetsForPackageUser(PackageUserKey packageUserKey) { in getWidgetsForPackageUser() 3949 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser()
|
D | Workspace.java | 84 import com.android.launcher3.util.PackageUserKey; 3991 public void updateIconBadges(final Set<PackageUserKey> updatedBadges) { 3992 final PackageUserKey packageUserKey = new PackageUserKey(null, null);
|
D | LauncherModel.java | 78 import com.android.launcher3.util.PackageUserKey; 1949 final boolean bindFirst, @Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts()
|