Home
last modified time | relevance | path

Searched refs:MenuItem (Results 1 – 25 of 40) 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/python/cpython2/Mac/Demo/mlte/
Dmlted.py180 self.newitem = MenuItem(m, "New window", "N", self.open)
181 self.openitem = MenuItem(m, "Open...", "O", self.openfile)
182 self.closeitem = MenuItem(m, "Close", "W", self.closewin)
184 self.saveitem = MenuItem(m, "Save", "S", self.save)
185 self.saveasitem = MenuItem(m, "Save as...", "", self.saveas)
187 self.quititem = MenuItem(m, "Quit", "Q", self.quit)
190 self.undoitem = MenuItem(m, "Undo", "Z", self.undo)
191 self.redoitem = MenuItem(m, "Redo", None, self.redo)
193 self.cutitem = MenuItem(m, "Cut", "X", self.cut)
194 self.copyitem = MenuItem(m, "Copy", "C", self.copy)
[all …]
/external/python/cpython2/Mac/Demo/textedit/
Dped.py190 self.newitem = MenuItem(m, "New window", "N", self.open)
191 self.openitem = MenuItem(m, "Open...", "O", self.openfile)
192 self.closeitem = MenuItem(m, "Close", "W", self.closewin)
194 self.saveitem = MenuItem(m, "Save", "S", self.save)
195 self.saveasitem = MenuItem(m, "Save as...", "", self.saveas)
197 self.quititem = MenuItem(m, "Quit", "Q", self.quit)
200 self.undoitem = MenuItem(m, "Undo", "Z", self.undo)
201 self.cutitem = MenuItem(m, "Cut", "X", self.cut)
202 self.copyitem = MenuItem(m, "Copy", "C", self.copy)
203 self.pasteitem = MenuItem(m, "Paste", "V", self.paste)
[all …]
/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/python/cpython2/Mac/Demo/imgbrowse/
Dimgbrowse.py39 self.openitem = FrameWork.MenuItem(m, "Open...", "O", self.opendoc)
40 self.infoitem = FrameWork.MenuItem(m, "Info", "I", self.info)
41 self.quititem = FrameWork.MenuItem(m, "Quit", "Q", self.quit)
/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()
/external/python/cpython2/Lib/plat-mac/
DFrameWork.py132 self._quititem = MenuItem(m, "Quit", "Q", self._quit)
664 class MenuItem: class
699 class RadioItem(MenuItem):
701 MenuItem.__init__(self, menu, title, shortcut, callback, 'radio')
703 class CheckItem(MenuItem):
705 MenuItem.__init__(self, menu, title, shortcut, callback, 'check')
1089 self.saveitem = MenuItem(m, "Save", "S", self.save)
1096 self.itemeh = MenuItem(m, "Enable Help", None, self.enablehelp)
1097 self.itemdbg = MenuItem(m, "Debug", None, self.debug)
1099 self.quititem = MenuItem(m, "Quit", "Q", self.quit)
[all …]
/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/python/cpython2/Mac/Demo/example2/
Ddnslookup-2.py36 self.quititem = FrameWork.MenuItem(m, "Quit", "Q", self.quit)
/external/replicaisland/src/com/replica/replicaisland/
DLevelSelectActivity.java27 import android.view.MenuItem;
295 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected()

12