Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DMenu.java176 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument
193 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument
235 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument
250 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu() argument
303 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
DMenuInflater.java305 private int itemId; field in MenuInflater.MenuState
396 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem()
540 MenuItem item = menu.add(groupId, itemId, itemCategoryOrder, itemTitle); in addItem()
547 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java61 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
62 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
65 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
67 groupId, itemId, 0, order, title); in add()
72 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
91 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions()
112 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument
118 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
DSubMenuBuilder.java130 final int itemId = mItem != null ? mItem.getItemId() : 0; in getActionViewStatesKey() local
131 if (itemId == 0) { in getActionViewStatesKey()
134 return super.getActionViewStatesKey() + ":" + itemId; in getActionViewStatesKey()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp48 type(_type), itemId(_id), hidden(_hidden), in ImageItem()
68 uint32_t itemId; member
243 uint32_t itemId; in parse() local
244 if (!source()->getUInt32Var(offset, &itemId, itemIdSize)) { in parse()
248 ALOGV("primary id %d", itemId); in parse()
249 *primaryItemId = itemId; in parse()
269 itemId(item_id), in ItemLoc()
299 uint32_t itemId; member
480 uint32_t itemId() { return mItemId; } in itemId() function
671 uint32_t itemId; member
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java543 long itemId; field in RemoteViewsAdapter.RemoteViewsIndexMetaData
545 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { in RemoteViewsIndexMetaData() argument
546 set(v, itemId); in RemoteViewsIndexMetaData()
550 itemId = id; in set()
625 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() argument
653 metaData.set(v, itemId); in insert()
655 mIndexMetaData.put(position, new RemoteViewsIndexMetaData(v, itemId)); in insert()
992 final long itemId; in updateRemoteViews() local
995 itemId = factory.getItemId(position); in updateRemoteViews()
1034 mCache.insert(position, remoteViews, itemId, visibleWindow); in updateRemoteViews()
[all …]
DAdapterViewAnimator.java224 long itemId; field in AdapterViewAnimator.ViewAndMetaData
226 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
230 this.itemId = itemId; in ViewAndMetaData()
549 long itemId = mAdapter.getItemId(adapterPosition); in showOnly() local
560 adapterPosition, itemId)); in showOnly()
657 viewData.itemId); in onTouchEvent()
DShareActionProvider.java299 final int itemId = item.getItemId(); in onMenuItemClick() local
300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
DAbsListView.java2454 lp.itemId = mAdapter.getItemId(position); in setItemViewLayoutParams()
6713 long itemId = -1; field in AbsListView.FlingRunnable.LayoutParams
7029 mTransientStateViewsById.put(lp.itemId, scrap); in addScrapView()
7262 if (id == params.itemId) { in retrieveFromScrap()
DEditor.java4115 private MenuItem addAssistMenuItem(Menu menu, RemoteAction action, int itemId, int order, in addAssistMenuItem() argument
4117 final MenuItem item = menu.add(TextView.ID_ASSIST, itemId, order, action.getTitle()) in addAssistMenuItem()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java466 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() argument
734 private void performLoadItem(String itemId, final ConnectionRecord connection, in performLoadItem() argument
737 new Result<MediaBrowser.MediaItem>(itemId) { in performLoadItem()
743 + " been disconnected. pkg=" + connection.pkg + " id=" + itemId); in performLoadItem()
758 onLoadItem(itemId, result); in performLoadItem()
763 + " before returning for id=" + itemId); in performLoadItem()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h173 uint16_t itemId;
263 void addRefs_l(uint16_t itemId, const ItemRefs &);
289 void writeInfeBox(uint16_t itemId, const char *type, uint32_t flags);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); in readItem() local
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4454 writeInt16(mItems[i].itemId); in writeIlocBox()
4474 uint16_t itemId, const char *itemType, uint32_t flags) { in writeInfeBox() argument
4477 writeInt16(itemId); in writeInfeBox()
4497 writeInfeBox(mItems[i].itemId, mItems[i].itemType, in writeIinfBox()
4536 writeInt16(mItems[i].itemId); in writeIrefBox()
4616 writeInt16(mItems[itemIndex].itemId); in writeIpmaBox()
4650 mPrimaryItemId = mItems[index].itemId; in writeFileLevelMetaBox()
4653 firstImageItemId = mItems[index].itemId; in writeFileLevelMetaBox()
4656 firstVisibleItemId = mItems[index].itemId; in writeFileLevelMetaBox()
4720 mItems.editItemAt(index).itemId = index + kItemIdBase; in addItem_l()
[all …]
/frameworks/base/core/java/android/transition/
DTransition.java1509 long itemId = listview.getItemIdAtPosition(position); in addViewValues() local
1510 if (transitionValuesMaps.itemIdValues.indexOfKey(itemId) >= 0) { in addViewValues()
1512 View alreadyMatched = transitionValuesMaps.itemIdValues.get(itemId); in addViewValues()
1515 transitionValuesMaps.itemIdValues.put(itemId, null); in addViewValues()
1519 transitionValuesMaps.itemIdValues.put(itemId, view); in addViewValues()
/frameworks/base/core/java/android/app/
DActionBar.java1130 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java883 int itemId = 1; in testNvWriteItem() local
885 mRILUnderTest.nvWriteItem(itemId, itemValue, obtainMessage(), new WorkSource()); in testNvWriteItem()
887 item.itemId = itemId; in testNvWriteItem()
897 int itemId = 1; in testNvReadItem() local
898 mRILUnderTest.nvReadItem(itemId, obtainMessage(), new WorkSource()); in testNvReadItem()
899 verify(mRadioProxy).nvReadItem(mSerialNumberCaptor.capture(), eq(itemId)); in testNvReadItem()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java887 final int itemId = 1; in testResetMenuItemTitle() local
901 menu.removeItem(itemId); in testResetMenuItemTitle()
902 menu.add(Menu.NONE /* group */, itemId, 0 /* order */, title[0]); in testResetMenuItemTitle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3732 public void nvWriteItem(int itemId, String itemValue, Message result, WorkSource workSource) { in nvWriteItem() argument
3741 + " itemId = " + itemId + " itemValue = " + itemValue); in nvWriteItem()
3745 item.itemId = itemId; in nvWriteItem()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt81217 Landroid/view/MenuInflater$MenuState;->itemId:I
85796 Landroid/widget/AbsListView$LayoutParams;->itemId:J
86437 Landroid/widget/AdapterViewAnimator$ViewAndMetaData;->itemId:J
89751 Landroid/widget/RemoteViewsAdapter$RemoteViewsIndexMetaData;->itemId:J