Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGutsManager.java197 NotificationGuts guts = row.getGuts(); in initializeSnoozeView() local
203 guts.setHeightChangedListener((NotificationGuts g) -> { in initializeSnoozeView()
217 NotificationGuts guts = row.getGuts(); in initializeAppOpsInfo() local
226 guts.resetFalsingCheck(); in initializeAppOpsInfo()
244 NotificationGuts guts = row.getGuts(); in initializeNotificationInfo() local
257 guts.resetFalsingCheck(); in initializeNotificationInfo()
266 guts.resetFalsingCheck(); in initializeNotificationInfo()
318 public void setExposedGuts(NotificationGuts guts) { in setExposedGuts() argument
319 mNotificationGutsExposed = guts; in setExposedGuts()
359 NotificationGuts guts = row.getGuts(); in openGuts() local
[all …]
DAppOpsInfo.java179 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument
180 mGutsContainer = guts; in setGutsParent()
DNotificationGuts.java104 public void onGutsClosed(NotificationGuts guts); in onGutsClosed() argument
108 public void onHeightChanged(NotificationGuts guts); in onHeightChanged() argument
DNotificationSnooze.java407 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument
408 mGutsContainer = guts; in setGutsParent()
DNotificationInfo.java481 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument
482 mGutsContainer = guts; in setGutsParent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationGutsManagerTest.java112 NotificationGuts guts = spy(new NotificationGuts(mContext)); in testOpenAndCloseGuts() local
113 when(guts.post(any())).thenAnswer(invocation -> { in testOpenAndCloseGuts()
119 doNothing().when(guts).openControls( in testOpenAndCloseGuts()
131 when(row.getGuts()).thenReturn(guts); in testOpenAndCloseGuts()
134 assertEquals(View.INVISIBLE, guts.getVisibility()); in testOpenAndCloseGuts()
136 verify(guts).openControls( in testOpenAndCloseGuts()
143 assertEquals(View.VISIBLE, guts.getVisibility()); in testOpenAndCloseGuts()
146 verify(guts).closeControls(anyBoolean(), anyBoolean(), anyInt(), anyInt(), anyBoolean()); in testOpenAndCloseGuts()
152 NotificationGuts guts = spy(new NotificationGuts(mContext)); in testChangeDensityOrFontScale() local
153 when(guts.post(any())).thenAnswer(invocation -> { in testChangeDensityOrFontScale()
[all …]
DNotificationInfoTest.java495 NotificationGuts guts = spy(new NotificationGuts(mContext, null)); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications() local
496 when(guts.getWindowToken()).thenReturn(mock(IBinder.class)); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications()
497 doNothing().when(guts).animateClose(anyInt(), anyInt(), anyBoolean()); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications()
498 doNothing().when(guts).setExposed(anyBoolean(), anyBoolean()); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications()
499 guts.setGutsContent(mNotificationInfo); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications()
500 mNotificationInfo.setGutsParent(guts); in testCloseControls_blockingHelperSavesImportanceForMultipleChannelNotifications()
523 NotificationGuts guts = spy(new NotificationGuts(mContext, null)); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing() local
524 when(guts.getWindowToken()).thenReturn(mock(IBinder.class)); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing()
525 doNothing().when(guts).animateClose(anyInt(), anyInt(), anyBoolean()); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing()
526 doNothing().when(guts).setExposed(anyBoolean(), anyBoolean()); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1535 NotificationGuts guts = mStatusBar.getGutsManager().getExposedGuts();
1536 if (guts != null && !isTouchInView(ev, guts)
1537 && guts.getGutsContent() instanceof NotificationSnooze) {
1538 NotificationSnooze ns = (NotificationSnooze) guts.getGutsContent();
2705 NotificationGuts guts = mStatusBar.getGutsManager().getExposedGuts();
2706 if (!isTouchInView(ev, guts) && isUp && !swipeWantsIt && !expandWantsIt
4804 NotificationGuts guts = mStatusBar.getGutsManager().getExposedGuts();
4806 if (guts != null && !guts.getGutsContent().isLeavebehind()) {
4808 view = guts;