Searched refs:getMenu (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupMenuTest.java | 92 final Menu menu = mPopupMenu.getMenu(); in verifyMenuContent() 175 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testNestedDismissalViaAPI() 179 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testNestedDismissalViaAPI() 228 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_highlight, 0)); in testSimpleMenuItemClickViaAPI() 232 mPopupMenu.getMenu().findItem(R.id.action_highlight)); in testSimpleMenuItemClickViaAPI() 253 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testSubMenuClickViaAPI() 257 mPopupMenu.getMenu().findItem(R.id.action_share)); in testSubMenuClickViaAPI() 261 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testSubMenuClickViaAPI() 266 mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu() in testSubMenuClickViaAPI() 280 Menu menu = mPopupMenu.getMenu(); in testItemViewAttributes() [all …]
|
D | ActionMenuViewTest.java | 74 final Menu menu = mActionMenuView.getMenu(); in testMenuContent() 105 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowShowHide() 124 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowSubmenu() 137 final Menu menu = mActionMenuView.getMenu(); in testMenuOverflowSubmenu() 156 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowIcon() 171 mActivity.getMenuInflater().inflate(R.menu.toolbar_menu, mActionMenuView.getMenu()); in testPopupTheme()
|
D | ToolbarTest.java | 136 final Menu menu = mMainToolbar.getMenu(); in testMenuContent() 195 final Menu menu = mMainToolbar.getMenu(); in testMenuOverflowSubmenu() 234 final MenuItem searchMenuItem = mMainToolbar.getMenu().findItem(R.id.action_search); in testActionView() 483 Menu menu = mMainToolbar.getMenu(); in testItemViewAttributes() 508 mMainToolbar.getMenu().findItem(R.id.action_share).setOnMenuItemClickListener( in testKeyShortcuts()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityKeyboardShortcutsTest.java | 47 mMenu = new PopupMenu(mActivity, null).getMenu(); in setUp()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuItemTest.java | 59 mMenu = mActivity.getMainToolbar().getMenu(); in setup()
|
D | ActionModeTest.java | 187 public Menu getMenu() { in getMenu() method in ActionModeTest.MockActionMode
|
D | MenuTest.java | 58 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
|
D | MenuInflaterTest.java | 69 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
|
D | ViewGroupTest.java | 2501 public Menu getMenu() {
|
D | ViewTest.java | 4440 public Menu getMenu() {
|