Home
last modified time | relevance | path

Searched refs:setOnMenuItemClickListener (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java218 menu.add("Animate!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
228 menu.add("Bind!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
250 menu.add("Start!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
257 … menu.add("Rebind Isolated!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
285 menu.add("Send!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
293 menu.add("Call!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
311 … menu.add("Send to user 0!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
320 menu.add("Send to user " + mSecondUser + "!").setOnMenuItemClickListener( in onCreateOptionsMenu()
330 … menu.add("Bind to user 0!").setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateOptionsMenu()
352 menu.add("Bind to user " + mSecondUser + "!").setOnMenuItemClickListener( in onCreateOptionsMenu()
[all …]
/frameworks/base/core/java/android/widget/
DShareActionProvider.java213 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
225 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
DPopupMenu.java248 public void setOnMenuItemClickListener(OnMenuItemClickListener listener) { in setOnMenuItemClickListener() method in PopupMenu
DEditor.java2787 .setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in onCreateContextMenu()
2800 .setOnMenuItemClickListener(mOnContextMenuItemClickListener) in onCreateContextMenu()
2804 .setOnMenuItemClickListener(mOnContextMenuItemClickListener) in onCreateContextMenu()
2810 .setOnMenuItemClickListener(mOnContextMenuItemClickListener) in onCreateContextMenu()
2815 .setOnMenuItemClickListener(mOnContextMenuItemClickListener) in onCreateContextMenu()
2821 .setOnMenuItemClickListener(mOnContextMenuItemClickListener); in onCreateContextMenu()
2825 .setOnMenuItemClickListener(mOnContextMenuItemClickListener); in onCreateContextMenu()
2829 .setOnMenuItemClickListener(mOnContextMenuItemClickListener); in onCreateContextMenu()
2834 .setOnMenuItemClickListener(mOnContextMenuItemClickListener); in onCreateContextMenu()
2838 .setOnMenuItemClickListener(mOnContextMenuItemClickListener); in onCreateContextMenu()
DActionMenuView.java137 public void setOnMenuItemClickListener(OnMenuItemClickListener listener) { in setOnMenuItemClickListener() method in ActionMenuView
DToolbar.java1177 mMenuView.setOnMenuItemClickListener(mMenuViewItemClickListener); in ensureMenuView()
1210 public void setOnMenuItemClickListener(OnMenuItemClickListener listener) { in setOnMenuItemClickListener() method in Toolbar
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java161 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in looksClick()
183 popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in dataClick()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java78 item.setOnMenuItemClickListener(this); in onCreateOptionsMenu()
/frameworks/base/core/java/android/view/
DMenuItem.java644 …public MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener menuItemClickListener); in setOnMenuItemClickListener() method
DMenuInflater.java503 item.setOnMenuItemClickListener( in setItem()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DOrbitActivity.java258 mInfoOverlayButton.setOnMenuItemClickListener((MenuItem item) -> { in onCreateOptionsMenu()
266 settingsButton.setOnMenuItemClickListener((MenuItem) -> { in onCreateOptionsMenu()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java114 helpMenuItem.setOnMenuItemClickListener(new OnMenuItemClickListener() { in prepareHelpMenuItem()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java265 public MenuItem setOnMenuItemClickListener(OnMenuItemClickListener menuItemClickListener) { in setOnMenuItemClickListener() method in ActionMenuItem
DMenuItemImpl.java635 public MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener clickListener) { in setOnMenuItemClickListener() method in MenuItemImpl
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java604 item.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { in setMenuItemAsDisabledByAdmin()
612 item.setOnMenuItemClickListener(null); in setMenuItemAsDisabledByAdmin()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java123 .setOnMenuItemClickListener(item -> mMenu.performItemAction(item, 0)); in setFloatingToolbar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java101 mToolbar.setOnMenuItemClickListener(this); in QSCustomizer()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java73 toolbar.setOnMenuItemClickListener(mMenuClicker); in ToolbarActionBar()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java332 menu.add(0, ID_HORIZONTALLINE, 0, STR_HORIZONTALLINE).setOnMenuItemClickListener( in onCreateContextMenu()
337 .setOnMenuItemClickListener(handler); in onCreateContextMenu()
341 .setOnMenuItemClickListener(handler).setAlphabeticShortcut('v'); in onCreateContextMenu()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java175 public FloatingToolbar setOnMenuItemClickListener( in setOnMenuItemClickListener() method in FloatingToolbar
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...