Home
last modified time | relevance | path

Searched refs:itemId (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestMenu.java37 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
40 menuItem.setItemId(itemId); in add()
46 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
47 return add(groupId, itemId, order, context.getResources().getString(titleRes)); in add()
71 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
75 menuItem.setItemId(itemId); in addSubMenu()
82 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
86 menuItem.setItemId(itemId); in addSubMenu()
93 …public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] spe… in addIntentOptions() argument
DTestMenuItem.java12 private int itemId; field in TestMenuItem
25 public TestMenuItem(int itemId) { in TestMenuItem() argument
27 this.itemId = itemId; in TestMenuItem()
30 public void setItemId(int itemId) { in setItemId() argument
31 this.itemId = itemId; in setItemId()
36 return itemId; in getItemId()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java158 …public Item createItem(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset… in createItem() argument
159 return new Item(itemId, constructionMethod, dataReferenceIndex, baseOffset, extents); in createItem()
167 public int itemId; field in ItemLocationBox.Item
174 itemId = IsoTypeReader.readUInt16(in); in Item()
195 …public Item(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Exte… in Item() argument
196 this.itemId = itemId; in Item()
226 IsoTypeWriter.writeUInt16(bb, itemId); in getContent()
254 if (itemId != item.itemId) return false; in equals()
262 int result = itemId; in hashCode()
274 ", itemId=" + itemId + in toString()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
DMenuLoaderTest.java72 public MenuItem add(int groupId, int itemId, int order, in add() argument
78 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
93 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument
99 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument
105 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java225 int itemId = item.getItemId(); in onContextItemSelected() local
226 if (itemId == MenuId.DELETE.getId()) { in onContextItemSelected()
229 } else if (itemId == MenuId.RENAME.getId()) { in onContextItemSelected()
322 int itemId = item.getItemId(); in onOptionsItemSelected() local
323 if (itemId == MenuId.INTERPRETER_MANAGER.getId()) { in onOptionsItemSelected()
327 } else if (mAddMenuIds.containsKey(itemId)) { in onOptionsItemSelected()
330 Interpreter interpreter = mAddMenuIds.get(itemId); in onOptionsItemSelected()
339 } else if (itemId == MenuId.QRCODE_ADD.getId()) { in onOptionsItemSelected()
346 } else if (itemId == MenuId.FOLDER_ADD.getId()) { in onOptionsItemSelected()
348 } else if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected()
[all …]
DLogcatViewer.java131 int itemId = item.getItemId(); in onOptionsItemSelected() local
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()
DInterpreterManager.java129 int itemId = item.getItemId(); in onOptionsItemSelected() local
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()
DTriggerManager.java99 int itemId = item.getItemId(); in onOptionsItemSelected() local
100 if (itemId == MenuId.PREFERENCES.getId()) { in onOptionsItemSelected()
102 } else if (itemId != Menu.NONE) { in onOptionsItemSelected()
105 startActivityForResult(intent, itemId); in onOptionsItemSelected()
DApiBrowser.java170 int itemId = item.getItemId(); in onOptionsItemSelected() local
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()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java706 int itemId = item.getItemId(); in onContextItemSelected() local
707 if (itemId == MenuId.COPY.getId()) { in onContextItemSelected()
719 } else if (itemId == MenuId.PASTE.getId()) { in onContextItemSelected()
/external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
DSkiaSampleActivity.java87 public boolean onNavigationItemSelected(int position, long itemId) { in setupActionBar()