Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java83 private NotificationMenuRowPlugin mMenuRow; field in NotificationSwipeHelperTest
110 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java265 private NotificationMenuRowPlugin mMenuRow; field in ExpandableNotificationRow
589 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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowDragControllerTest.java62 private NotificationMenuRow mMenuRow = mock(NotificationMenuRow.class); field in ExpandableNotificationRowDragControllerTest
83 when(mMenuRow.getLongpressMenuItem(any(Context.class))).thenReturn(mMenuItem); in setUp()