Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java259 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUpWhenDozing_true()
271 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_pulseDisabled()
283 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_notDozing()
297 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_suppressingAmbient()
309 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUpWhenDozing_false_lessImportant()
320 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isTrue(); in testShouldHeadsUp_true()
335 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_noHunsAllowed()
347 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_dozing()
361 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(createBubble())).isFalse(); in testShouldHeadsUp_false_bubble()
374 assertThat(mNotifInterruptionStateProvider.shouldHeadsUp(entry)).isFalse(); in testShouldHeadsUp_false_alertCommonFalse()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/
DCarNotificationInterruptionStateProvider.java44 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in CarNotificationInterruptionStateProvider
52 return super.shouldHeadsUp(entry); in shouldHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationAlertingManager.java103 if (mNotificationInterruptionStateProvider.shouldHeadsUp(entry)) { in showAlertingView()
118 shouldAlert = mNotificationInterruptionStateProvider.shouldHeadsUp(entry); in updateAlertState()
DNotificationInterruptionStateProvider.java211 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in NotificationInterruptionStateProvider
428 && (!shouldHeadsUp(entry) in shouldLaunchFullScreenIntentWhenAdded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java427 assertTrue(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_nonSuppressedGroupSummary()
448 assertFalse(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedGroupSummary()
466 assertFalse(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_suppressedHeadsUp()
483 assertTrue(mNotificationInterruptionStateProvider.shouldHeadsUp(entry)); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java588 public void setHeadsUp(boolean shouldHeadsUp) { in setHeadsUp() argument
589 if (row != null) row.setHeadsUp(shouldHeadsUp); in setHeadsUp()
DNotificationRowBinderImpl.java259 if (mNotificationInterruptionStateProvider.shouldHeadsUp(entry)) { in updateNotification()