Searched refs:shouldShowMenu (Results 1 – 5 of 5) sorted by relevance
63 if (!mParams.shouldShowMenu) return false; in onCreateOptionsMenu()92 return mParams.shouldShowMenu; in onPrepareOptionsMenu()149 private boolean shouldShowMenu = true; field in MenuScenario.Params154 public Params setShouldShowMenu(boolean shouldShowMenu) { in setShouldShowMenu() argument155 this.shouldShowMenu = shouldShowMenu; in setShouldShowMenu()
235 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithoutMenu_dismiss()251 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithoutMenu_snapback()268 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithOpenMenu_dismissed()285 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithOpenMenu_snapback()303 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithClosedMenu_dismissed()320 when(mMenuRow.shouldShowMenu()).thenReturn(true); in testHandleUpEvent_menuRowWithClosedMenu_snapback()
148 public boolean shouldShowMenu(); in shouldShowMenu() method
211 if (!menuRow.shouldShowMenu()) { in handleMenuRowSwipe()
203 public boolean shouldShowMenu() { in shouldShowMenu() method in NotificationMenuRow