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/notification/row/
DNotificationGutsManager.java240 NotificationGuts guts = row.getGuts(); in initializeSnoozeView() local
246 guts.setHeightChangedListener((NotificationGuts g) -> { in initializeSnoozeView()
260 NotificationGuts guts = row.getGuts(); in initializeAppOpsInfo() local
269 guts.resetFalsingCheck(); in initializeAppOpsInfo()
286 NotificationGuts guts = row.getGuts(); in initializeNotificationInfo() local
299 guts.resetFalsingCheck(); in initializeNotificationInfo()
309 guts.resetFalsingCheck(); in initializeNotificationInfo()
362 public void setExposedGuts(NotificationGuts guts) { in setExposedGuts() argument
363 mNotificationGutsExposed = guts; in setExposedGuts()
433 NotificationGuts guts = row.getGuts(); in openGutsInternal() local
[all …]
DAppOpsInfo.java177 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument
178 mGutsContainer = guts; in setGutsParent()
DNotificationGuts.java110 public void onGutsClosed(NotificationGuts guts); in onGutsClosed() argument
114 public void onHeightChanged(NotificationGuts guts); in onHeightChanged() argument
DNotificationSnooze.java411 public void setGutsParent(NotificationGuts guts) { in setGutsParent() argument
412 mGutsContainer = guts; in setGutsParent()
DNotificationInfo.java759 public void setGutsParent(NotificationGuts guts) {
760 mGutsContainer = guts;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java134 NotificationGuts guts = spy(new NotificationGuts(mContext)); in testOpenAndCloseGuts() local
135 when(guts.post(any())).thenAnswer(invocation -> { in testOpenAndCloseGuts()
141 doNothing().when(guts).openControls( in testOpenAndCloseGuts()
153 when(row.getGuts()).thenReturn(guts); in testOpenAndCloseGuts()
156 assertEquals(View.INVISIBLE, guts.getVisibility()); in testOpenAndCloseGuts()
158 verify(guts).openControls( in testOpenAndCloseGuts()
165 assertEquals(View.VISIBLE, guts.getVisibility()); in testOpenAndCloseGuts()
168 verify(guts).closeControls(anyBoolean(), anyBoolean(), anyInt(), anyInt(), anyBoolean()); in testOpenAndCloseGuts()
174 NotificationGuts guts = spy(new NotificationGuts(mContext)); in testChangeDensityOrFontScale() local
175 when(guts.post(any())).thenAnswer(invocation -> { in testChangeDensityOrFontScale()
[all …]
DNotificationInfoTest.java891 NotificationGuts guts = spy(new NotificationGuts(mContext, null)); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper() local
892 when(guts.getWindowToken()).thenReturn(mock(IBinder.class)); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper()
893 doNothing().when(guts).animateClose(anyInt(), anyInt(), anyBoolean()); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper()
894 doNothing().when(guts).setExposed(anyBoolean(), anyBoolean()); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper()
895 guts.setGutsContent(mNotificationInfo); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper()
896 mNotificationInfo.setGutsParent(guts); in testCloseControls_nonNullCheckSaveListenerDoesntDelayKeepShowing_BlockingHelper()
982 NotificationGuts guts = mock(NotificationGuts.class); in testCloseControls_blockingHelperDismissedIfShown() local
983 doCallRealMethod().when(guts).closeControls(anyInt(), anyInt(), anyBoolean(), anyBoolean()); in testCloseControls_blockingHelperDismissedIfShown()
984 mNotificationInfo.setGutsParent(guts); in testCloseControls_blockingHelperDismissedIfShown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3698 NotificationGuts guts = mNotificationGutsManager.getExposedGuts();
3699 if (guts != null && !NotificationSwipeHelper.isTouchInView(ev, guts)
3700 && guts.getGutsContent() instanceof NotificationSnooze) {
3701 NotificationSnooze ns = (NotificationSnooze) guts.getGutsContent();
3992 NotificationGuts guts = mNotificationGutsManager.getExposedGuts();
3993 if (!NotificationSwipeHelper.isTouchInView(ev, guts) && isUp && !swipeWantsIt &&
4242 NotificationGuts guts = mNotificationGutsManager.getExposedGuts();
4246 if (guts != null && !guts.getGutsContent().isLeavebehind()) {
4248 view = guts;