/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ScriptManager.java | 93 private static enum MenuId { enum in ScriptManager 206 menu.add(Menu.NONE, MenuId.RENAME.getId(), Menu.NONE, "Rename"); in onCreateContextMenu() 207 menu.add(Menu.NONE, MenuId.DELETE.getId(), Menu.NONE, "Delete"); in onCreateContextMenu() 221 if (itemId == MenuId.DELETE.getId()) { in onContextItemSelected() 224 } else if (itemId == MenuId.RENAME.getId()) { in onContextItemSelected() 270 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu() 272 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu() 274 menu.add(Menu.NONE, MenuId.REFRESH.getId(), Menu.NONE, "Refresh").setIcon( in onPrepareOptionsMenu() 283 subMenu.add(Menu.NONE, MenuId.INTERPRETER_MANAGER.getId(), Menu.NONE, "Interpreters"); in buildSwitchActivityMenu() 284 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 | 64 private static enum MenuId { enum in InterpreterManager 110 menu.add(Menu.NONE, MenuId.NETWORK.getId(), Menu.NONE, "Start Server").setIcon( in onPrepareOptionsMenu() 112 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu() 119 menu.addSubMenu(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in buildInstallLanguagesMenu() 121 int i = MenuId.values().length + Menu.FIRST; in buildInstallLanguagesMenu() 130 if (itemId == MenuId.NETWORK.getId()) { in onOptionsItemSelected() 139 } else if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected() 141 } else if (itemId >= MenuId.values().length + Menu.FIRST) { in onOptionsItemSelected() 142 int i = itemId - MenuId.values().length - Menu.FIRST; in onOptionsItemSelected()
|
D | ScriptEditor.java | 92 private static enum MenuId { enum in ScriptEditor 179 menu.add(0, MenuId.SAVE.getId(), 0, "Save & Exit").setIcon(android.R.drawable.ic_menu_save); in onCreateOptionsMenu() 180 menu.add(0, MenuId.SAVE_AND_RUN.getId(), 0, "Save & Run").setIcon( in onCreateOptionsMenu() 182 menu.add(0, MenuId.PREFERENCES.getId(), 0, "Preferences").setIcon( in onCreateOptionsMenu() 184 menu.add(0, MenuId.API_BROWSER.getId(), 0, "API Browser").setIcon( in onCreateOptionsMenu() 186 menu.add(0, MenuId.SHARE.getId(), 0, "Share").setIcon(android.R.drawable.ic_menu_share); in onCreateOptionsMenu() 187 menu.add(0, MenuId.GOTO.getId(), 0, "GoTo").setIcon(android.R.drawable.ic_menu_directions); in onCreateOptionsMenu() 188 menu.add(0, MenuId.SEARCH.getId(), 0, "Find").setIcon(android.R.drawable.ic_menu_search); in onCreateOptionsMenu() 194 if (item.getItemId() == MenuId.SAVE.getId()) { in onOptionsItemSelected() 197 } 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 696 menu.add(Menu.NONE, MenuId.COPY.getId(), Menu.NONE, R.string.terminal_menu_copy); in onCreateContextMenu() 698 menu.add(Menu.NONE, MenuId.PASTE.getId(), Menu.NONE, R.string.terminal_menu_paste); in onCreateContextMenu() 706 if (itemId == MenuId.COPY.getId()) { in onContextItemSelected() 718 } else if (itemId == MenuId.PASTE.getId()) { in onContextItemSelected()
|