/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ScriptManager.java | 94 private static enum MenuId { enum in ScriptManager 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() 222 if (itemId == MenuId.DELETE.getId()) { in onContextItemSelected() 225 } else if (itemId == MenuId.RENAME.getId()) { in onContextItemSelected() 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() 284 subMenu.add(Menu.NONE, MenuId.INTERPRETER_MANAGER.getId(), Menu.NONE, "Interpreters"); in buildSwitchActivityMenu() 285 subMenu.add(Menu.NONE, MenuId.TRIGGER_MANAGER.getId(), Menu.NONE, "Triggers"); in buildSwitchActivityMenu() [all …]
|
D | LogcatViewer.java | 52 private static enum MenuId { enum in LogcatViewer 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() 132 if (itemId == MenuId.JUMP_TO_BOTTOM.getId()) { in onOptionsItemSelected() 134 } else if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected() 136 } else if (itemId == MenuId.SHARE.getId()) { in onOptionsItemSelected() 142 } else if (itemId == MenuId.COPY.getId()) { in onOptionsItemSelected()
|
D | InterpreterManager.java | 65 private static enum MenuId { enum in InterpreterManager 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() 120 menu.addSubMenu(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in buildInstallLanguagesMenu() 122 int i = MenuId.values().length + Menu.FIRST; in buildInstallLanguagesMenu() 131 if (itemId == MenuId.NETWORK.getId()) { in onOptionsItemSelected() 140 } else if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected() 142 } else if (itemId >= MenuId.values().length + Menu.FIRST) { in onOptionsItemSelected() 143 int i = itemId - MenuId.values().length - Menu.FIRST; in onOptionsItemSelected()
|
D | ScriptEditor.java | 93 private static enum MenuId { enum in ScriptEditor 180 menu.add(0, MenuId.SAVE.getId(), 0, "Save & Exit").setIcon(android.R.drawable.ic_menu_save); in onCreateOptionsMenu() 181 menu.add(0, MenuId.SAVE_AND_RUN.getId(), 0, "Save & Run").setIcon( in onCreateOptionsMenu() 183 menu.add(0, MenuId.PREFERENCES.getId(), 0, "Preferences").setIcon( in onCreateOptionsMenu() 185 menu.add(0, MenuId.API_BROWSER.getId(), 0, "API Browser").setIcon( in onCreateOptionsMenu() 187 menu.add(0, MenuId.SHARE.getId(), 0, "Share").setIcon(android.R.drawable.ic_menu_share); in onCreateOptionsMenu() 188 menu.add(0, MenuId.GOTO.getId(), 0, "GoTo").setIcon(android.R.drawable.ic_menu_directions); in onCreateOptionsMenu() 189 menu.add(0, MenuId.SEARCH.getId(), 0, "Find").setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu() 195 if (item.getItemId() == MenuId.SAVE.getId()) { in onOptionsItemSelected() 198 } else if (item.getItemId() == MenuId.SAVE_AND_RUN.getId()) { in onOptionsItemSelected() [all …]
|
D | ApiBrowser.java | 68 private static enum MenuId { enum in ApiBrowser 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() 171 if (itemId == MenuId.EXPAND_ALL.getId()) { in onOptionsItemSelected() 175 } else if (itemId == MenuId.COLLAPSE_ALL.getId()) { in onOptionsItemSelected() 177 } else if (itemId == MenuId.SEARCH.getId()) { in onOptionsItemSelected()
|
D | TriggerManager.java | 67 private static enum MenuId { enum in TriggerManager 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() 100 if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected() 187 if (requestCode == MenuId.ADD.getId()) { in onActivityResult()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | ConsoleActivity.java | 129 private static enum MenuId { enum in ConsoleActivity 697 menu.add(Menu.NONE, MenuId.COPY.getId(), Menu.NONE, R.string.terminal_menu_copy); in onCreateContextMenu() 699 menu.add(Menu.NONE, MenuId.PASTE.getId(), Menu.NONE, R.string.terminal_menu_paste); in onCreateContextMenu() 707 if (itemId == MenuId.COPY.getId()) { in onContextItemSelected() 719 } else if (itemId == MenuId.PASTE.getId()) { in onContextItemSelected()
|