Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java296 assertTrue(mStatusBar.shouldPeek(entry, sbn)); in testShouldPeek_nonSuppressedGroupSummary()
317 assertFalse(mStatusBar.shouldPeek(entry, sbn)); in testShouldPeek_suppressedGroupSummary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1572 boolean isHeadsUped = shouldPeek(shadeEntry); in addNotification()
1623 boolean isHeadsUped = shouldPeek(shadeEntry); in addEntry()
2711 protected void updateHeadsUp(String key, Entry entry, boolean shouldPeek, in updateHeadsUp() argument
2715 if (!shouldPeek) { in updateHeadsUp()
2721 } else if (shouldPeek && alertAgain) { in updateHeadsUp()
6827 boolean shouldPeek = shouldPeek(entry, notification);
6830 updateHeadsUp(key, entry, shouldPeek, alertAgain);
6875 protected boolean shouldPeek(Entry entry) {
6876 return shouldPeek(entry, entry.notification);
6879 protected boolean shouldPeek(Entry entry, StatusBarNotification sbn) {