Home
last modified time | relevance | path

Searched refs:HeadsUpEntry (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java121 private final Map<String, HeadsUpEntry> mActiveHeadsUpNotifications = new ConcurrentHashMap<>();
135 private final Map<HeadsUpEntry,
248 HeadsUpEntry currentActiveHeadsUpNotification = getActiveHeadsUpEntry(alertEntry); in maybeShowHeadsUp()
316 HeadsUpEntry currentActiveHeadsUpNotification = getActiveHeadsUpEntry(alertEntry); in scheduleRemoveHeadsUp()
391 private HeadsUpEntry addNewHeadsUpEntry(AlertEntry alertEntry) { in addNewHeadsUpEntry()
393 HeadsUpEntry newActiveHeadsUpNotification = new HeadsUpEntry( in addNewHeadsUpEntry()
403 HeadsUpEntry currentActiveHeadsUpNotification = getActiveHeadsUpEntry(alertEntry); in addNewHeadsUpEntry()
435 HeadsUpEntry currentNotification = addNewHeadsUpEntry(alertEntry); in showHeadsUp()
522 private void resetViewTreeListenersEntry(HeadsUpEntry headsUpEntry) { in resetViewTreeListenersEntry()
536 HeadsUpEntry currentNotification, boolean panelExpanded) { in setInternalInsetsInfo()
[all …]
DHeadsUpEntry.java30 public class HeadsUpEntry extends AlertEntry { class
42 HeadsUpEntry(StatusBarNotification statusBarNotification) { in HeadsUpEntry() method in HeadsUpEntry
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DHeadsUpEntryTest.java56 private HeadsUpEntry mHeadsUpEntry;
73 mHeadsUpEntry = new HeadsUpEntry(mNotification1); in setupBaseActivityAndLayout()
80 mHeadsUpEntry = new HeadsUpEntry(mNotification1); in headsUpEntry_shouldInitializePostTime()
107 mHeadsUpEntry = new HeadsUpEntry(mNotification1); in setNotificationView_shouldSetNotificationView()
119 mHeadsUpEntry = new HeadsUpEntry(mNotification1); in setViewHolder_shouldSetViewHolder()
DCarHeadsUpNotificationManagerTest.java389 Map<String, HeadsUpEntry> activeHeadsUpNotifications = in getActiveHeadsUpNotifications_shouldReturnOne()
411 Map<String, HeadsUpEntry> activeHeadsUpNotifications = in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()
431 Map<String, HeadsUpEntry> activeHeadsUpNotifications = in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()
473 HeadsUpEntry notification1 = createMockHeadsUpEntry("key1"); in clearCache_viewsRemovedFromCarHeadsUpNotificationContainer()
474 HeadsUpEntry notification2 = createMockHeadsUpEntry("key2"); in clearCache_viewsRemovedFromCarHeadsUpNotificationContainer()
518 private HeadsUpEntry createMockHeadsUpEntry(String key) { in createMockHeadsUpEntry()
519 HeadsUpEntry headsUpEntry = mock(HeadsUpEntry.class); in createMockHeadsUpEntry()