Home
last modified time | relevance | path

Searched refs:getMenu (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DPopupMenuTest.java132 final Menu menu = mPopupMenu.getMenu(); in verifyMenuContent()
226 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testNestedDismissalViaAPI()
230 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testNestedDismissalViaAPI()
287 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_highlight, 0)); in testSimpleMenuItemClickViaAPI()
291 mPopupMenu.getMenu().findItem(R.id.action_highlight)); in testSimpleMenuItemClickViaAPI()
315 () -> mPopupMenu.getMenu().performIdentifierAction(R.id.action_share, 0)); in testSubMenuClickViaAPI()
319 mPopupMenu.getMenu().findItem(R.id.action_share)); in testSubMenuClickViaAPI()
323 () -> mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). in testSubMenuClickViaAPI()
328 mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu() in testSubMenuClickViaAPI()
345 Menu menu = mPopupMenu.getMenu(); in testItemViewAttributes()
[all …]
DActionMenuViewTest.java83 final Menu menu = mActionMenuView.getMenu(); in testMenuContent()
114 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowShowHide()
133 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowSubmenu()
146 final Menu menu = mActionMenuView.getMenu(); in testMenuOverflowSubmenu()
165 R.menu.toolbar_menu, mActionMenuView.getMenu())); in testMenuOverflowIcon()
180 mActivity.getMenuInflater().inflate(R.menu.toolbar_menu, mActionMenuView.getMenu()); in testPopupTheme()
DToolbarTest.java146 final Menu menu = mMainToolbar.getMenu(); in testMenuContent()
202 final Menu menu = mMainToolbar.getMenu(); in testMenuOverflowSubmenu()
240 final MenuItem searchMenuItem = mMainToolbar.getMenu().findItem(R.id.action_search); in testActionView()
296 final MenuItem searchMenuItem = mMainToolbar.getMenu().findItem(R.id.action_search); in testCollapseConfiguration()
521 Menu menu = mMainToolbar.getMenu(); in testItemViewAttributes()
546 mMainToolbar.getMenu().findItem(R.id.action_share).setOnMenuItemClickListener( in testKeyShortcuts()
/cts/tests/app/src/android/app/cts/
DActivityKeyboardShortcutsTest.java48 mMenu = new PopupMenu(mActivity, null).getMenu(); in setUp()
/cts/tests/tests/view/src/android/view/cts/
DMenuItemTest.java71 mMenu = mActivity.getMainToolbar().getMenu(); in setup()
DActionModeTest.java199 public Menu getMenu() { in getMenu() method in ActionModeTest.MockActionMode
DMenuTest.java70 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
DMenuInflaterTest.java80 mMenu = new PopupMenu(mActivity, null).getMenu(); in setup()
DViewGroupTest.java2685 public Menu getMenu() {
DViewTest.java5026 public Menu getMenu() {
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt50549 method public abstract android.view.Menu getMenu();
58580 method public android.view.Menu getMenu();
59871 method public android.view.Menu getMenu();
61218 method public android.view.Menu getMenu();