Home
last modified time | relevance | path

Searched refs:shouldHeadsUp (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java177 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUpAwake()
190 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUpAwake_flteredOut()
213 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUp_suppressedForGroups()
221 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUpWhenDozing()
234 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUpWhenDozing_pulseDisabled()
247 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUpWhenDozing_notDozing()
263 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUpWhenDozing_suppressingAmbient()
273 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldNotHeadsUpWhenDozing_lessImportant()
281 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUp()
295 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(createBubble())).isFalse(); in testShouldNotHeadsUp_bubble()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DHeadsUpController.java86 if (mInterruptStateProvider.shouldHeadsUp(entry)) {
122 boolean shouldHeadsUp = mInterruptStateProvider.shouldHeadsUp(entry); in updateHunState()
125 if (shouldHeadsUp) { in updateHunState()
131 } else if (shouldHeadsUp && hunAgain) { in updateHunState()
DNotificationInterruptStateProvider.java37 boolean shouldHeadsUp(NotificationEntry entry); in shouldHeadsUp() method
DNotificationInterruptStateProviderImpl.java164 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in NotificationInterruptStateProviderImpl
179 && (!shouldHeadsUp(entry) in shouldLaunchFullScreenIntentWhenAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.java110 if (mNotificationInterruptStateProvider.shouldHeadsUp(entry)) {
126 boolean shouldHeadsUp = mNotificationInterruptStateProvider.shouldHeadsUp(entry);
129 if (shouldHeadsUp) {
136 } else if (shouldHeadsUp && hunAgain) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.java184 when(mNotificationInterruptStateProvider.shouldHeadsUp(mEntry)).thenReturn(true); in testShowHUNOnInflationFinished()
200 when(mNotificationInterruptStateProvider.shouldHeadsUp(mEntry)).thenReturn(false); in testNoHUNOnInflationFinished()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java618 assertTrue(mNotificationInterruptStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_nonSuppressedGroupSummary()
642 assertFalse(mNotificationInterruptStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedGroupSummary()
663 assertFalse(mNotificationInterruptStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedHeadsUp()
683 assertTrue(mNotificationInterruptStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java647 public void setHeadsUp(boolean shouldHeadsUp) { in setHeadsUp() argument
648 if (row != null) row.setHeadsUp(shouldHeadsUp); in setHeadsUp()