Home
last modified time | relevance | path

Searched refs:MenuItem (Results 1 – 25 of 29) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestMenuItem.java10 public class TestMenuItem implements MenuItem {
50 public MenuItem setTitle(CharSequence title) { in setTitle()
56 public MenuItem setTitle(int title) { in setTitle()
66 public MenuItem setTitleCondensed(CharSequence title) { in setTitleCondensed()
76 public MenuItem setIcon(Drawable icon) { in setIcon()
81 public MenuItem setIcon(int iconRes) { in setIcon()
92 public MenuItem setIntent(Intent intent) { in setIntent()
103 public MenuItem setShortcut(char numericChar, char alphaChar) { in setShortcut()
108 public MenuItem setNumericShortcut(char numericChar) { in setNumericShortcut()
118 public MenuItem setAlphabeticShortcut(char alphaChar) { in setAlphabeticShortcut()
[all …]
DTestMenu.java8 import android.view.MenuItem;
15 private List<MenuItem> menuItems = new ArrayList<MenuItem>();
27 public MenuItem add(CharSequence title) { in add()
32 public MenuItem add(int titleRes) { in add()
37 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add()
46 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add()
94 Intent intent, int flags, MenuItem[] outSpecificItems) { in addIntentOptions()
100 MenuItem menuItem = findItem(id); in removeItem()
131 public MenuItem findItem(int id) { in findItem()
132 for (MenuItem item : menuItems) { in findItem()
[all …]
DTestSubMenu.java4 import android.view.MenuItem;
50 public MenuItem getItem() { in getItem()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DMenuLoaderTest.java19 import android.view.MenuItem;
22 import android.view.MenuItem.OnMenuItemClickListener;
62 public MenuItem add(CharSequence title) { in add()
67 public MenuItem add(int titleRes) { in add()
72 public MenuItem add(int groupId, int itemId, int order, in add()
78 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add()
107 int flags, MenuItem[] outSpecificItems) { in addIntentOptions()
148 public MenuItem findItem(int id) { in findItem()
159 public MenuItem getItem(int index) { in getItem()
DMenuResourceLoaderTest.java11 import android.view.MenuItem;
34 MenuItem mi = testMenu.findItem(R.id.test_submenu_1); in shouldParseSubItemCorrectly()
/external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
DSkiaSampleActivity.java21 import android.view.MenuItem;
127 ((MenuItem) menu.findItem(R.id.glcontext_menu)) in onPrepareOptionsMenu()
134 ((MenuItem) menu.findItem(R.id.glcontext_opengles)) in onPrepareOptionsMenu()
137 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengles)) in onPrepareOptionsMenu()
140 ((MenuItem) menu.findItem(R.id.glcontext_opengl)) in onPrepareOptionsMenu()
143 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengl)) in onPrepareOptionsMenu()
151 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java18 import java.awt.MenuItem;
137 MenuItem mitem; in initMenus()
142 menu.add(mitem = new MenuItem("Quit")); in initMenus()
219 MenuItem mItem = new MenuItem(fonts[i]); in initMenus()
228 MenuItem mItem = new MenuItem("" + sizes[i]); in initMenus()
238 translitMenu.add(convertSelectionItem = new MenuItem("Transliterate", in initMenus()
246 translitMenu.add(swapSelectionItem = new MenuItem("Reverse", in initMenus()
260 translitMenu.add(convertTypingItem = new MenuItem("No Typing Conversion", in initMenus()
288 helpMenu.add(mitem = new MenuItem("Help")); in initMenus()
307 helpMenu.add(mitem = new MenuItem("Hex...", in initMenus()
[all …]
/external/autotest/frontend/client/src/autotest/common/ui/
DContextMenu.java7 import com.google.gwt.user.client.ui.MenuItem;
36 public MenuItem addItem(String text, Command cmd) { in addItem()
41 for (MenuItem menuItem : getItems()) { in setEnabled()
/external/autotest/frontend/client/src/autotest/public/
Dstandard.css24 .gwt-MenuBar .gwt-MenuItem {
27 .gwt-MenuBar .gwt-MenuItem-selected {
34 .gwt-MenuBar-horizontal .gwt-MenuItem {
60 .gwt-MenuBar-vertical .gwt-MenuItem {
Dcommon.css29 body .menubar-hand-cursor .gwt-MenuItem {
/external/gptfdisk/
Dgptcurses.h32 struct MenuItem { struct
38 static struct MenuItem menuMain[] = { argument
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java12 import android.view.MenuItem;
15 import android.view.MenuItem.OnMenuItemClickListener;
267 MenuItem reset = menu.add("Reset"); in onCreateOptionsMenu()
272 public boolean onMenuItemClick(MenuItem arg0) { in onCreateOptionsMenu()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DTriggerManager.java27 import android.view.MenuItem;
98 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
116 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
DScriptProcessMonitor.java30 import android.view.MenuItem;
137 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
172 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
DApiBrowser.java28 import android.view.MenuItem;
168 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
205 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
DLogcatViewer.java26 import android.view.MenuItem;
130 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
DInterpreterManager.java32 import android.view.MenuItem;
128 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
DScriptManager.java36 import android.view.MenuItem;
215 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
320 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DUiFacade.java25 import android.view.MenuItem;
506 MenuItem menuItem = menu.add(item.mmTitle); in onCreateContextMenu()
515 MenuItem menuItem = menu.add(MENU_GROUP_ID, Menu.NONE, Menu.NONE, item.mmTitle); in onPrepareOptionsMenu()
690 private final MenuItem.OnMenuItemClickListener mmListener;
697 mmListener = new MenuItem.OnMenuItemClickListener() { in UiMenuItem()
699 public boolean onMenuItemClick(MenuItem item) { in UiMenuItem()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DMenuLoader.java17 import android.view.MenuItem;
169 MenuItem menuItem = root.add(groupId, attributes in addChildrenInGroup()
/external/replicaisland/src/com/replica/replicaisland/
DLevelSelectActivity.java27 import android.view.MenuItem;
295 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java24 import android.view.MenuItem;
161 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/theme/chrome/public/gwt/chrome/
Dchrome_rtl.css243 .gwt-MenuBar .gwt-MenuItem {
246 .gwt-MenuBar .gwt-MenuItem-selected {
249 .gwt-MenuBar .gwt-MenuItem-disabled {
256 .gwt-MenuBar-horizontal .gwt-MenuItem {
283 .gwt-MenuBar-vertical .gwt-MenuItem {
Dchrome.css243 .gwt-MenuBar .gwt-MenuItem {
246 .gwt-MenuBar .gwt-MenuItem-selected {
249 .gwt-MenuBar .gwt-MenuItem-disabled {
256 .gwt-MenuBar-horizontal .gwt-MenuItem {
283 .gwt-MenuBar-vertical .gwt-MenuItem {
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java48 import android.view.MenuItem;
610 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
704 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()

12