Searched refs:getMenu (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupMenuTest.java | 121 final Menu menu = mPopupMenu.getMenu(); in verifyMenuContent() 215 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testNestedDismissalViaAPI() 219 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testNestedDismissalViaAPI() 276 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_highlight, 0)); in testSimpleMenuItemClickViaAPI() 280 mPopupMenu.getMenu().findItem(R.id.action_highlight)); in testSimpleMenuItemClickViaAPI() 304 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testSubMenuClickViaAPI() 308 mPopupMenu.getMenu().findItem(R.id.action_share)); in testSubMenuClickViaAPI() 312 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testSubMenuClickViaAPI() 317 mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu() in testSubMenuClickViaAPI() 334 Menu menu = mPopupMenu.getMenu(); in testItemViewAttributes() [all …]
|
D | ActionMenuViewTest.java | 75 final Menu menu = mActionMenuView.getMenu(); in testMenuContent() 106 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowShowHide() 125 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowSubmenu() 138 final Menu menu = mActionMenuView.getMenu(); in testMenuOverflowSubmenu() 157 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowIcon() 172 mActivity.getMenuInflater().inflate(R.menu.toolbar_menu, mActionMenuView.getMenu()); in testPopupTheme()
|
D | ToolbarTest.java | 138 final Menu menu = mMainToolbar.getMenu(); in testMenuContent() 194 final Menu menu = mMainToolbar.getMenu(); in testMenuOverflowSubmenu() 232 final MenuItem searchMenuItem = mMainToolbar.getMenu().findItem(R.id.action_search); in testActionView() 288 final MenuItem searchMenuItem = mMainToolbar.getMenu().findItem(R.id.action_search); in testCollapseConfiguration() 513 Menu menu = mMainToolbar.getMenu(); in testItemViewAttributes() 538 mMainToolbar.getMenu().findItem(R.id.action_share).setOnMenuItemClickListener( in testKeyShortcuts()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityKeyboardShortcutsTest.java | 49 mMenu = new PopupMenu(mActivity, null).getMenu(); in setUp()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuItemTest.java | 60 mMenu = mActivity.getMainToolbar().getMenu(); in setup()
|
D | ActionModeTest.java | 188 public Menu getMenu() { in getMenu() method in ActionModeTest.MockActionMode
|
D | MenuTest.java | 59 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
|
D | MenuInflaterTest.java | 70 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
|
D | ViewGroupTest.java | 2654 public Menu getMenu() {
|
D | ViewTest.java | 4695 public Menu getMenu() {
|