Home
last modified time | relevance | path

Searched refs:getHunContent (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
H A DCarHeadsUpNotificationContainerTest.java93 assertThat(mCarHeadsUpNotificationContainer.getHunContent().getChildCount()).isEqualTo(1); in displayNotification_emptyContent_notificationOnlyChildInContentView()
95 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(0).getTag()).isEqualTo( in displayNotification_emptyContent_notificationOnlyChildInContentView()
108 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(1).getTag()).isEqualTo( in displayNotification_lowerImportanceContent_higherImportanceOnTop()
121 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(0).getTag()).isEqualTo( in displayNotification_higherImportanceContent_lowerImportanceBehind()
133 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(1).getTag()).isEqualTo( in displayNotification_allImportancePresent_newOtherImportance_newIndex1()
145 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(2).getTag()).isEqualTo( in displayNotification_allImportancePresent_newCallImportance_newIndex2()
157 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(3).getTag()).isEqualTo( in displayNotification_allImportancePresent_newNavigationImportance_newIndex3()
169 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(4).getTag()).isEqualTo( in displayNotification_allImportancePresent_newWarningImportance_newIndex4()
181 mCarHeadsUpNotificationContainer.getHunContent().getChildAt(5).getTag()).isEqualTo( in displayNotification_allImportancePresent_newEmergencyImportance_newIndex5()
192 assertThat(mCarHeadsUpNotificationContainer.getHunContent().getChildCount()).isEqualTo(0); in removeNotification_oneViewInContent_contentEmpty()
[all …]
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
H A DCarHeadsUpNotificationContainer.java77 getHunContent().addView(notificationView); in displayNotificationInner()
87 getHunContent().addView(notificationView, index); in displayNotificationInner()
92 getHunContent().addView(notificationView); in displayNotificationInner()
106 if (getHunContent().getChildCount() == 0) return; in removeNotification()
108 int index = getHunContent().indexOfChild(notificationView); in removeNotification()
111 getHunContent().removeViewAt(index); in removeNotification()
123 return getHunContent().getChildCount() == 0; in shouldHideHunPanel()
143 protected final ViewGroup getHunContent() { in getHunContent() method in CarHeadsUpNotificationContainer