Home
last modified time | relevance | path

Searched refs:MenuItem (Results 1 – 25 of 42) 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java20 import java.awt.MenuItem;
135 MenuItem mitem; in initMenus()
140 menu.add(mitem = new MenuItem("Quit")); in initMenus()
217 MenuItem mItem = new MenuItem(fonts[i]); in initMenus()
226 MenuItem mItem = new MenuItem("" + sizes[i]); in initMenus()
236 translitMenu.add(convertSelectionItem = new MenuItem("Transliterate", in initMenus()
244 translitMenu.add(swapSelectionItem = new MenuItem("Reverse", in initMenus()
258 translitMenu.add(convertTypingItem = new MenuItem("No Typing Conversion", in initMenus()
286 helpMenu.add(mitem = new MenuItem("Help")); in initMenus()
305 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;
35 public MenuItem addItem(String text, Command cmd) { in addItem()
40 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/Common/src/com/googlecode/android_scripting/facade/ui/
DUiFacade.java25 import android.view.MenuItem;
504 MenuItem menuItem = menu.add(item.mmTitle); in onCreateContextMenu()
513 MenuItem menuItem = menu.add(MENU_GROUP_ID, Menu.NONE, Menu.NONE, item.mmTitle); in onPrepareOptionsMenu()
688 private final MenuItem.OnMenuItemClickListener mmListener;
695 mmListener = new MenuItem.OnMenuItemClickListener() { in UiMenuItem()
697 public boolean onMenuItemClick(MenuItem item) { in UiMenuItem()
/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.java35 import android.view.MenuItem;
211 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
316 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
DScriptEditor.java39 import android.view.MenuItem;
193 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java18 import android.view.MenuItem;
52 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/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()
DAndouKun.java38 import android.view.MenuItem;
439 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/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