Home
last modified time | relevance | path

Searched refs:Menu (Results 1 – 25 of 162) sorted by relevance

1234567

/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java34 import android.view.Menu;
98 return ordinal() + Menu.FIRST; in getId()
207 menu.add(Menu.NONE, MenuId.RENAME.getId(), Menu.NONE, "Rename"); in onCreateContextMenu()
208 menu.add(Menu.NONE, MenuId.DELETE.getId(), Menu.NONE, "Delete"); in onCreateContextMenu()
265 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
271 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu()
273 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
275 menu.add(Menu.NONE, MenuId.REFRESH.getId(), Menu.NONE, "Refresh").setIcon( in onPrepareOptionsMenu()
280 private void buildSwitchActivityMenu(Menu menu) { in buildSwitchActivityMenu()
281 Menu subMenu = in buildSwitchActivityMenu()
[all …]
DInterpreterManager.java31 import android.view.Menu;
68 return ordinal() + Menu.FIRST; in getId()
108 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
111 menu.add(Menu.NONE, MenuId.NETWORK.getId(), Menu.NONE, "Start Server").setIcon( in onPrepareOptionsMenu()
113 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
118 private void buildInstallLanguagesMenu(Menu menu) { in buildInstallLanguagesMenu()
120 menu.addSubMenu(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in buildInstallLanguagesMenu()
122 int i = MenuId.values().length + Menu.FIRST; in buildInstallLanguagesMenu()
124 installMenu.add(Menu.NONE, i++, Menu.NONE, interpreterName); in buildInstallLanguagesMenu()
142 } else if (itemId >= MenuId.values().length + Menu.FIRST) { in onOptionsItemSelected()
[all …]
DLogcatViewer.java25 import android.view.Menu;
55 return ordinal() + Menu.FIRST; in getId()
109 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
110 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onCreateOptionsMenu()
112 menu.add(Menu.NONE, MenuId.JUMP_TO_BOTTOM.getId(), Menu.NONE, "Jump to Bottom").setIcon( in onCreateOptionsMenu()
114 menu.add(Menu.NONE, MenuId.SHARE.getId(), Menu.NONE, "Share").setIcon( in onCreateOptionsMenu()
116 menu.add(Menu.NONE, MenuId.COPY.getId(), Menu.NONE, "Copy").setIcon( in onCreateOptionsMenu()
DTriggerManager.java26 import android.view.Menu;
63 return ordinal() + Menu.FIRST; in getId()
70 return ordinal() + Menu.FIRST; in getId()
89 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
90 menu.add(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in onCreateOptionsMenu()
92 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onCreateOptionsMenu()
102 } else if (itemId != Menu.NONE) { in onOptionsItemSelected()
112 menu.add(Menu.NONE, ContextMenuId.REMOVE.getId(), Menu.NONE, "Remove"); in onCreateContextMenu()
DApiBrowser.java27 import android.view.Menu;
71 return ordinal() + Menu.FIRST; in getId()
78 return ordinal() + Menu.FIRST; in getId()
155 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
158 menu.add(Menu.NONE, MenuId.EXPAND_ALL.getId(), Menu.NONE, "Expand All").setIcon( in onPrepareOptionsMenu()
160 menu.add(Menu.NONE, MenuId.COLLAPSE_ALL.getId(), Menu.NONE, "Collapse All").setIcon( in onPrepareOptionsMenu()
162 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu()
200 menu.add(Menu.NONE, ContextMenuId.INSERT_TEXT.getId(), Menu.NONE, "Insert"); in onCreateContextMenu()
201 menu.add(Menu.NONE, ContextMenuId.PROMPT_PARAMETERS.getId(), Menu.NONE, "Prompt"); in onCreateContextMenu()
DScriptProcessMonitor.java29 import android.view.Menu;
134 menu.add(Menu.NONE, 0, Menu.NONE, "Stop"); in onCreateContextMenu()
162 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
166 menu.add(Menu.NONE, 0, Menu.NONE, R.string.stop_all).setIcon( in onPrepareOptionsMenu()
/external/python/cpython2/Lib/plat-mac/
DMiniAEFrame.py18 from Carbon import Menu
38 Menu.ClearMenuBar()
39 self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024")
44 self.quitmenu = Menu.NewMenu(self.quitid, "File")
48 Menu.DrawMenuBar()
93 result = Menu.MenuSelect(where)
99 elif item > 1 and hasattr(Menu, 'OpenDeskAcc'):
101 Menu.OpenDeskAcc(name)
106 Menu.HiliteMenu(0)
/external/python/cpython2/Demo/tkinter/guido/
Dnewmenubardemo.py12 self.menubar = Menu(self.master)
14 self.filemenu = Menu(self.menubar)
22 self.editmenu = Menu(self.menubar)
28 self.helpmenu = Menu(self.menubar, name='help')
/external/python/cpython2/Demo/tkinter/matt/
Dmenu-all-types-of-entries.py64 Command_button.menu = Menu(Command_button)
107 Cascade_button.menu = Menu(Cascade_button)
110 Cascade_button.menu.choices = Menu(Cascade_button.menu)
113 Cascade_button.menu.choices.weirdones = Menu(Cascade_button.menu.choices)
147 Checkbutton_button.menu = Menu(Checkbutton_button)
190 Radiobutton_button.menu = Menu(Radiobutton_button)
Dmenu-simple.py48 File_button.menu = Menu(File_button)
73 Edit_button.menu = Menu(Edit_button)
/external/llvm-project/lldb/source/Core/
DIOHandlerCursesGUI.cpp88 class Menu;
92 typedef std::shared_ptr<Menu> MenuSP;
875 virtual MenuActionResult MenuDelegateAction(Menu &menu) = 0;
878 class Menu : public WindowDelegate { class
883 Menu(Type type);
886 Menu(const char *name, const char *key_name, int key_value,
889 ~Menu() override = default;
909 MenuActionResult ActionPrivate(Menu &menu) { in ActionPrivate()
967 Menu *m_parent;
975 Menu::Menu(Type type) in Menu() function in curses::Menu
[all …]
/external/python/cpython2/Lib/idlelib/
DmacosxSupport.py128 from Tkinter import Menu
146 menubar = Menu(root)
150 menudict['windows'] = menu = Menu(menubar, name='windows', tearoff=0)
195 menudict['application'] = menu = Menu(menubar, name='apple',
/external/libxkbcommon/test/data/symbols/
Dgroup48 // The right Menu key (while pressed) chooses the second keyboard group.
49 // while Shift+Menu acts as Menu.
53 symbols[Group1] = [ Mode_switch, Menu ],
109 // pressing the right Win or the Menu key selects the last group.
299 // Pressing the Menu key switches to the next group,
300 // while Shift+Menu acts as Menu.
303 key <MENU> { [ ISO_Next_Group, Menu ] };
448 // Control_R+Menu selects the second group (presumably Rus).
457 symbols[Group1] = [ Menu, ISO_Last_Group ]
Daltwin71 // Menu is mapped to the Menu key.
74 key <MENU> { [ Menu ] };
77 // Menu is mapped to the right Win key.
/external/llvm-project/llvm/test/tools/llvm-rc/
Dparser.test26 ; PGOOD-NEXT: Menu (LLVMTest):
28 ; PGOOD-NEXT: Menu list starts
30 ; PGOOD-NEXT: Menu list starts
31 ; PGOOD-NEXT: Popup ("Menu&1"):
32 ; PGOOD-NEXT: Menu list starts
37 ; PGOOD-NEXT: Menu list ends
38 ; PGOOD-NEXT: Popup ("Menu&2"):
39 ; PGOOD-NEXT: Menu list starts
42 ; PGOOD-NEXT: Menu list ends
43 ; PGOOD-NEXT: Menu list ends
[all …]
/external/python/cpython3/Lib/idlelib/
Dmacosx.py164 from tkinter import Menu
182 menubar = Menu(root)
186 menudict['window'] = menu = Menu(menubar, name='window', tearoff=0)
236 menudict['application'] = menu = Menu(menubar, name='apple',
/external/dokka/runners/gradle-integration-tests/testData/androidApp/app/src/main/kotlin/org/example/kotlin/mixed/
DKotlinActivity.kt6 import android.view.Menu
23 override fun onCreateOptionsMenu(menu: Menu?): Boolean { in onCreateOptionsMenu()
/external/dokka/runners/gradle-integration-tests/testData/androidAppJavadoc/app/src/main/kotlin/org/example/kotlin/mixed/
DKotlinActivity.kt6 import android.view.Menu
23 override fun onCreateOptionsMenu(menu: Menu?): Boolean { in onCreateOptionsMenu()
/external/dokka/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/src/main/kotlin/org/example/kotlin/mixed/
DKotlinActivity.kt6 import android.view.Menu
23 override fun onCreateOptionsMenu(menu: Menu?): Boolean { in onCreateOptionsMenu()
/external/dokka/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/src/main/java/org/example/kotlin/mixed/
DJavaActivity.java6 import android.view.Menu;
28 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/external/dokka/runners/gradle-integration-tests/testData/androidApp/app/src/main/java/org/example/kotlin/mixed/
DJavaActivity.java6 import android.view.Menu;
28 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/external/dokka/runners/gradle-integration-tests/testData/androidAppJavadoc/app/src/main/java/org/example/kotlin/mixed/
DJavaActivity.java6 import android.view.Menu;
28 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/example-app/app/src/main/java/com/example/app/
DMainActivity.kt10 import android.view.Menu
25 override fun onCreateOptionsMenu(menu: Menu): Boolean { in onCreateOptionsMenu()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java18 import java.awt.Menu;
91 Menu translitMenu;
134 Menu menu; in initMenus()
139 mbar.add(menu = new Menu("File")); in initMenus()
214 Menu fontMenu = new Menu("Font"); in initMenus()
223 Menu sizeMenu = new Menu("Size"); in initMenus()
234 mbar.add(translitMenu = new Menu("Transliterator")); in initMenus()
274 translitMenu.add(historyMenu = new Menu("Recent")); in initMenus()
284 Menu helpMenu; in initMenus()
285 mbar.add(helpMenu = new Menu("Extras")); in initMenus()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/future/
DFutureActivityTask.java24 import android.view.Menu;
69 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()

1234567