Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationBlockingHelperManagerTest.java64 @Mock private NotificationMenuRow mMenuRow; field in NotificationBlockingHelperManagerTest
76 when(mMenuRow.getLongpressMenuItem(any(Context.class))).thenReturn(mMenuItem); in setUp()
125 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_shown()
136 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(groupRow, mMenuRow)); in testPerhapsShowBlockingHelper_shownForLargeGroup()
151 assertTrue(mBlockingHelperManager.perhapsShowBlockingHelper(childRow, mMenuRow)); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
161 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment()
170 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment()
180 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToShadeVisibility()
189 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(row, mMenuRow)); in testPerhapsShowBlockingHelper_notShownDueToNonblockability()
202 assertFalse(mBlockingHelperManager.perhapsShowBlockingHelper(childRow, mMenuRow)); in testPerhapsShowBlockingHelper_notShownAsNotificationIsInMultipleChildGroup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java192 private NotificationMenuRowPlugin mMenuRow; field in ExpandableNotificationRow
471 if (mMenuRow != null) { in onNotificationUpdated()
472 mMenuRow.onNotificationUpdated(mStatusBarNotification); in onNotificationUpdated()
473 mMenuRow.setAppName(mAppName); in onNotificationUpdated()
615 if (mMenuRow != null && mMenuRow.getMenuView() != null) {
616 mMenuRow.setAppName(mAppName);
733 if (mMenuRow != null && mMenuRow.isMenuVisible()) {
1006 boolean existed = mMenuRow.getMenuView() != null;
1008 removeView(mMenuRow.getMenuView());
1010 mMenuRow = plugin;
[all …]