Searched refs:shouldHeadsUp (Results 1 – 8 of 8) sorted by relevance
177 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 …]
86 if (mInterruptStateProvider.shouldHeadsUp(entry)) {122 boolean shouldHeadsUp = mInterruptStateProvider.shouldHeadsUp(entry); in updateHunState()125 if (shouldHeadsUp) { in updateHunState()131 } else if (shouldHeadsUp && hunAgain) { in updateHunState()
37 boolean shouldHeadsUp(NotificationEntry entry); in shouldHeadsUp() method
164 public boolean shouldHeadsUp(NotificationEntry entry) { in shouldHeadsUp() method in NotificationInterruptStateProviderImpl179 && (!shouldHeadsUp(entry) in shouldLaunchFullScreenIntentWhenAdded()
110 if (mNotificationInterruptStateProvider.shouldHeadsUp(entry)) {126 boolean shouldHeadsUp = mNotificationInterruptStateProvider.shouldHeadsUp(entry);129 if (shouldHeadsUp) {136 } else if (shouldHeadsUp && hunAgain) {
184 when(mNotificationInterruptStateProvider.shouldHeadsUp(mEntry)).thenReturn(true); in testShowHUNOnInflationFinished()200 when(mNotificationInterruptStateProvider.shouldHeadsUp(mEntry)).thenReturn(false); in testNoHUNOnInflationFinished()
618 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()
647 public void setHeadsUp(boolean shouldHeadsUp) { in setHeadsUp() argument648 if (row != null) row.setHeadsUp(shouldHeadsUp); in setHeadsUp()