Home
last modified time | relevance | path

Searched refs:MenuItem (Results 1 – 25 of 49) 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/opencv3/samples/android/tutorial-2-mixedprocessing/src/org/opencv/samples/tutorial2/
DTutorial2Activity.java17 import android.view.MenuItem;
33 private MenuItem mItemPreviewRGBA;
34 private MenuItem mItemPreviewGray;
35 private MenuItem mItemPreviewCanny;
36 private MenuItem mItemPreviewFeatures;
155 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/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/opencv3/samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/
DImageManipulationsActivity.java25 import android.view.MenuItem;
40 private MenuItem mItemPreviewRGBA;
41 private MenuItem mItemPreviewHist;
42 private MenuItem mItemPreviewCanny;
43 private MenuItem mItemPreviewSepia;
44 private MenuItem mItemPreviewSobel;
45 private MenuItem mItemPreviewZoom;
46 private MenuItem mItemPreviewPixelize;
47 private MenuItem mItemPreviewPosterize;
144 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/opencv3/samples/android/face-detection/src/org/opencv/samples/facedetect/
DFdActivity.java28 import android.view.MenuItem;
38 private MenuItem mItemFace50;
39 private MenuItem mItemFace40;
40 private MenuItem mItemFace30;
41 private MenuItem mItemFace20;
42 private MenuItem mItemType;
214 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/opencv3/samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/
DTutorial3Activity.java22 import android.view.MenuItem;
36 private MenuItem[] mEffectMenuItems;
38 private MenuItem[] mResolutionMenuItems;
126 mEffectMenuItems = new MenuItem[effects.size()]; in onCreateOptionsMenu()
138 mResolutionMenuItems = new MenuItem[mResolutionList.size()]; in onCreateOptionsMenu()
152 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/external/opencv3/samples/android/15-puzzle/src/org/opencv/samples/puzzle15/
DPuzzle15Activity.java15 import android.view.MenuItem;
26 private MenuItem mItemHideNumbers;
27 private MenuItem mItemStartNewGame;
103 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected()
/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;
268 MenuItem reset = menu.add("Reset"); in onCreateOptionsMenu()
273 public boolean onMenuItemClick(MenuItem arg0) { in onCreateOptionsMenu()
/external/opencv3/samples/android/tutorial-1-camerapreview/src/org/opencv/samples/tutorial1/
DTutorial1Activity.java15 import android.view.MenuItem;
25 private MenuItem mItemSwitchCamera = null;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DUiFacade.java25 import android.view.MenuItem;
507 MenuItem menuItem = menu.add(item.mmTitle); in onCreateContextMenu()
516 MenuItem menuItem = menu.add(MENU_GROUP_ID, Menu.NONE, Menu.NONE, item.mmTitle); in onPrepareOptionsMenu()
691 private final MenuItem.OnMenuItemClickListener mmListener;
698 mmListener = new MenuItem.OnMenuItemClickListener() { in UiMenuItem()
700 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;
138 public boolean onContextItemSelected(MenuItem item) { in onContextItemSelected()
173 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()
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
DCameraCalibrationActivity.java31 import android.view.MenuItem;
129 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()

12