Home
last modified time | relevance | path

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

/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
DSimpleMenu.java65 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
66 return addInternal(itemId, order, title); in add()
69 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
70 return addInternal(itemId, order, mResources.getString(titleRes)); in add()
76 private MenuItem addInternal(int itemId, int order, CharSequence title) { in addInternal() argument
77 final SimpleMenuItem item = new SimpleMenuItem(this, itemId, order, title); in addInternal()
106 public void removeItem(int itemId) { in removeItem() argument
107 removeItemAtInt(findItemIndex(itemId)); in removeItem()
151 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
155 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
DActionBarHelperBase.java169 final int itemId = item.getItemId(); in addActionItemCompatFromMenuItem() local
178 itemId == android.R.id.home in addActionItemCompatFromMenuItem()
183 itemId == android.R.id.home in addActionItemCompatFromMenuItem()
187 if (itemId == R.id.menu_refresh) { in addActionItemCompatFromMenuItem()
257 int itemId; in loadActionBarMetadata() local
268 itemId = parser.getAttributeResourceValue(MENU_RES_NAMESPACE, in loadActionBarMetadata()
270 if (itemId == 0) { in loadActionBarMetadata()
278 mActionItemIds.add(itemId); in loadActionBarMetadata()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java185 long itemId = mAdapter.getItemId(position); in animateRemoval() local
186 mItemIdTopMap.put(itemId, child.getTop()); in animateRemoval()
202 long itemId = mAdapter.getItemId(position); in animateRemoval()
203 Integer startTop = mItemIdTopMap.get(itemId); in animateRemoval()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java85 final int itemId = R.layout.widget_item; in getViewAt() local
86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); in getViewAt()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DCompatActionBarNavHandler.java65 public boolean onNavigationItemSelected(int itemPosition, long itemId) { in onNavigationItemSelected() argument
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java449 public Item(int itemId, int layoutResourceId) { in Item() argument
450 mItemId = itemId; in Item()
479 public Heading(int itemId, String label) { in Heading() argument
480 super(itemId, R.layout.game_controller_input_heading); in Heading()
497 public TextColumn(int itemId, String label) { in TextColumn() argument
498 super(itemId, R.layout.game_controller_input_text_column); in TextColumn()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java270 long itemId = mAdapter.getItemId(position); in animateOtherViews() local
272 mItemIdTopMap.put(itemId, child.getTop()); in animateOtherViews()
290 long itemId = mAdapter.getItemId(position); in animateOtherViews()
291 Integer startTop = mItemIdTopMap.get(itemId); in animateOtherViews()