Searched refs:guts (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationGutsManager.java | 197 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 …]
|
D | AppOpsInfo.java | 179 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument 180 mGutsContainer = guts; in setGutsParent()
|
D | NotificationGuts.java | 104 public void onGutsClosed(NotificationGuts guts); in onGutsClosed() argument 108 public void onHeightChanged(NotificationGuts guts); in onHeightChanged() argument
|
D | NotificationSnooze.java | 407 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument 408 mGutsContainer = guts; in setGutsParent()
|
D | NotificationInfo.java | 481 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument 482 mGutsContainer = guts; in setGutsParent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationGutsManagerTest.java | 112 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 …]
|
D | NotificationInfoTest.java | 495 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/ |
D | NotificationStackScrollLayout.java | 1535 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;
|