Searched refs:mMenuRow (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBlockingHelperManagerTest.java | 69 @Mock private NotificationMenuRow mMenuRow; field in NotificationBlockingHelperManagerTest 82 when(mMenuRow.getLongpressMenuItem(any(Context.class))).thenReturn(mMenuItem); in setUp() 131 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_shown() 147 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(groupRow, mMenuRow)); in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup() 157 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(groupRow, mMenuRow)); in testPerhapsShowBlockingHelper_shownForLargeGroup() 173 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(childRow, mMenuRow)); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification() 183 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment() 192 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment() 202 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToShadeVisibility() 211 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToNonblockability() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 220 private NotificationMenuRowPlugin mMenuRow; field in ExpandableNotificationRow 556 if (mMenuRow != null) { in onNotificationUpdated() 557 mMenuRow.onNotificationUpdated(mStatusBarNotification); in onNotificationUpdated() 558 mMenuRow.setAppName(mAppName); in onNotificationUpdated() 588 if (mMenuRow != null) { in onNotificationRankingUpdated() 589 mMenuRow.onNotificationUpdated(mStatusBarNotification); in onNotificationRankingUpdated() 739 if (mMenuRow != null && mMenuRow.getMenuView() != null) { 740 mMenuRow.setAppName(mAppName); 859 if (mMenuRow != null && mMenuRow.isMenuVisible()) { 1140 boolean existed = mMenuRow != null && mMenuRow.getMenuView() != null; [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelperTest.java | 69 private NotificationMenuRowPlugin mMenuRow; field in NotificationSwipeHelperTest 84 mMenuRow = mock(NotificationMenuRowPlugin.class); in setUp() 129 mSwipeHelper.setCurrentMenuRow(mMenuRow); in testSetCurrentMenuRow() 130 assertEquals("currentMenuRow set correctly after setCurrentMenuRow", mMenuRow, in testSetCurrentMenuRow() 178 when(mSwipeHelper.getCurrentMenuRow()).thenReturn(mMenuRow); in testOnMoveUpdate_menuRow() 185 verify(mMenuRow, times(1)).onTouchMove(10); in testOnMoveUpdate_menuRow() 206 when(mSwipeHelper.getCurrentMenuRow()).thenReturn(mMenuRow); in testHandleUpEvent_menuRow() 207 doNothing().when(mSwipeHelper).handleMenuRowSwipe(mEvent, mView, 0, mMenuRow); in testHandleUpEvent_menuRow() 211 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRow() 212 verify(mSwipeHelper, times(1)).handleMenuRowSwipe(mEvent, mView, 0, mMenuRow); in testHandleUpEvent_menuRow()
|