Searched refs:mMenuRow (Results 1 – 3 of 3) sorted by relevance
83 private NotificationMenuRowPlugin mMenuRow; field in NotificationSwipeHelperTest110 mMenuRow = mock(NotificationMenuRowPlugin.class); in setUp()155 mSwipeHelper.setCurrentMenuRow(mMenuRow); in testSetCurrentMenuRow()156 assertEquals("currentMenuRow set correctly after setCurrentMenuRow", mMenuRow, in testSetCurrentMenuRow()204 when(mSwipeHelper.getCurrentMenuRow()).thenReturn(mMenuRow); in testOnMoveUpdate_menuRow()211 verify(mMenuRow, times(1)).onTouchMove(10); in testOnMoveUpdate_menuRow()235 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithoutMenu_dismiss()236 mSwipeHelper.setCurrentMenuRow(mMenuRow); in testHandleUpEvent_menuRowWithoutMenu_dismiss()240 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithoutMenu_dismiss()251 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithoutMenu_snapback()[all …]
265 private NotificationMenuRowPlugin mMenuRow; field in ExpandableNotificationRow589 if (mMenuRow != null) { in onNotificationUpdated()590 mMenuRow.onNotificationUpdated(mEntry.getSbn()); in onNotificationUpdated()591 mMenuRow.setAppName(mAppName); in onNotificationUpdated()652 if (mMenuRow != null) { in onNotificationRankingUpdated()653 mMenuRow.onNotificationUpdated(mEntry.getSbn()); in onNotificationRankingUpdated()1300 boolean existed = mMenuRow != null && mMenuRow.getMenuView() != null;1302 removeView(mMenuRow.getMenuView());1307 mMenuRow = plugin;1308 if (mMenuRow.shouldUseDefaultMenuItems()) {[all …]
62 private NotificationMenuRow mMenuRow = mock(NotificationMenuRow.class); field in ExpandableNotificationRowDragControllerTest83 when(mMenuRow.getLongpressMenuItem(any(Context.class))).thenReturn(mMenuItem); in setUp()