Searched refs:getMenuItem (Results 1 – 4 of 4) sorted by relevance
111 mLauncher.getOptionsPopupMenu().getMenuItem("Home settings") in testOpenHomeSettingsFromWorkspace()304 final AppIconMenuItem menuItem = menu.getMenuItem(1); in testLaunchMenuItem()347 final AppIconMenuItem menuItem0 = menu.getMenuItem(0); in testDragShortcut()348 final AppIconMenuItem menuItem2 = menu.getMenuItem(2); in testDragShortcut()
337 v -> getMenuItem(item -> item.setVisible(!item.isVisible())))); in onCreate()340 v -> getMenuItem(item -> item.setEnabled(!item.isEnabled())))); in onCreate()343 v -> getMenuItem(MenuItem::performClick))); in onCreate()348 getMenuItem(item -> { in onCreate()382 private void getMenuItem(MenuItem.OnClickListener listener) { in getMenuItem() method in ToolbarActivity
36 public OptionsPopupMenuItem getMenuItem(@NonNull final String label) { in getMenuItem() method in OptionsPopupMenu
41 public AppIconMenuItem getMenuItem(int itemNumber) { in getMenuItem() method in AppIconMenu