Home
last modified time | relevance | path

Searched refs:NotificationKeyData (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java37 public class NotificationKeyData { class
44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() method in NotificationKeyData
52 public static NotificationKeyData fromNotification(StatusBarNotification sbn) { in fromNotification()
54 return new NotificationKeyData(sbn.getKey(), notif.getShortcutId(), notif.number, in fromNotification()
60 @NonNull List<NotificationKeyData> notificationKeys) { in extractKeysOnly()
62 for (NotificationKeyData notificationKeyData : notificationKeys) { in extractKeysOnly()
78 if (!(obj instanceof NotificationKeyData)) { in equals()
82 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey); in equals()
DNotificationListener.java184 Pair<PackageUserKey, NotificationKeyData> msg = (Pair) message.obj; in handleUiMessage()
191 Pair<PackageUserKey, NotificationKeyData> msg = (Pair) message.obj; in handleUiMessage()
304 public List<StatusBarNotification> getNotificationsForKeys(List<NotificationKeyData> keys) { in getNotificationsForKeys()
337 private static Pair<PackageUserKey, NotificationKeyData> toKeyPair(StatusBarNotification sbn) { in toKeyPair()
339 NotificationKeyData.fromNotification(sbn)); in toKeyPair()
344 NotificationKeyData notificationKey); in onNotificationPosted()
346 NotificationKeyData notificationKey); in onNotificationRemoved()
/packages/apps/Launcher3/src/com/android/launcher3/dot/
DDotInfo.java22 import com.android.launcher3.notification.NotificationKeyData;
38 private final List<NotificationKeyData> mNotificationKeys = new ArrayList<>();
49 public boolean addOrUpdateNotificationKey(NotificationKeyData notificationKey) { in addOrUpdateNotificationKey()
51 NotificationKeyData prevKey = indexOfPrevKey == -1 ? null in addOrUpdateNotificationKey()
73 public boolean removeNotificationKey(NotificationKeyData notificationKey) { in removeNotificationKey()
81 public List<NotificationKeyData> getNotificationKeys() { in getNotificationKeys()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java29 import com.android.launcher3.notification.NotificationKeyData;
81 NotificationKeyData notificationKey) { in onNotificationPosted()
94 NotificationKeyData notificationKey) { in onNotificationRemoved()
118 dotInfo.addOrUpdateNotificationKey(NotificationKeyData.fromNotification(notification)); in onNotificationFullRefresh()
172 List<NotificationKeyData> notifications = getNotificationsForItem( in getDotInfoForItem()
180 public @NonNull List<NotificationKeyData> getNotificationKeysForItem(ItemInfo info) { in getNotificationKeysForItem()
244 public static @NonNull List<NotificationKeyData> getNotificationsForItem( in getNotificationsForItem()
245 @NonNull ItemInfo info, @NonNull List<NotificationKeyData> notifications) { in getNotificationsForItem()
251 return notifications.stream().filter((NotificationKeyData notification) -> { in getNotificationsForItem()
DPopupPopulator.java35 import com.android.launcher3.notification.NotificationKeyData;
135 final List<NotificationKeyData> notificationKeys) { in createUpdateRunnable()
DPopupContainerWithArrow.java63 import com.android.launcher3.notification.NotificationKeyData;
244 … final List<NotificationKeyData> notificationKeys, List<SystemShortcut> systemShortcuts) { in populateAndShow()
607 NotificationKeyData.extractKeysOnly(dotInfo.getNotificationKeys()));