Searched refs:mMenuRow (Results 1 – 2 of 2) sorted by relevance
64 @Mock private NotificationMenuRow mMenuRow; field in NotificationBlockingHelperManagerTest76 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 …]
192 private NotificationMenuRowPlugin mMenuRow; field in ExpandableNotificationRow471 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 …]