Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperICS.java50 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
51 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title)); in add()
55 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
56 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
70 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
71 return getSubMenuWrapper(mWrappedObject.addSubMenu(groupId, itemId, order, title)); in addSubMenu()
75 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
77 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
81 public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, in addIntentOptions() argument
89 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); in addIntentOptions()
DSubMenuBuilder.java141 final int itemId = mItem != null ? mItem.getItemId() : 0; in getActionViewStatesKey() local
142 if (itemId == 0) { in getActionViewStatesKey()
145 return super.getActionViewStatesKey() + ":" + itemId; in getActionViewStatesKey()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DRemotePlayer.java57 String itemId, MediaItemStatus itemStatus) {
58 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus);
132 String itemId, MediaItemStatus itemStatus) { in play() argument
133 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); in play()
134 item.setRemoteItemId(itemId); in play()
174 String itemId, MediaItemStatus itemStatus) { in getStatus() argument
175 logStatus("getStatus: succeeded", sessionId, sessionStatus, itemId, itemStatus); in getStatus()
301 public PlaylistItem remove(String itemId) { in remove() argument
306 Log.d(TAG, "remove: itemId=" + itemId); in remove()
308 mClient.remove(itemId, null, new ItemActionCallback() { in remove()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java375 public void seek(String itemId, long positionMillis, Bundle extras, in seek() argument
377 if (itemId == null) { in seek()
384 performItemAction(intent, mSessionId, itemId, extras, callback); in seek()
407 public void getStatus(String itemId, Bundle extras, ItemActionCallback callback) { in getStatus() argument
408 if (itemId == null) { in getStatus()
414 performItemAction(intent, mSessionId, itemId, extras, callback); in getStatus()
439 public void remove(String itemId, Bundle extras, ItemActionCallback callback) { in remove() argument
440 if (itemId == null) { in remove()
447 performItemAction(intent, mSessionId, itemId, extras, callback); in remove()
652 final String sessionId, final String itemId, in performItemAction() argument
[all …]
/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/support/fragment/java/android/support/v4/app/
DFragmentPagerAdapter.java93 final long itemId = getItemId(position); in instantiateItem() local
96 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
99 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); in instantiateItem()
103 if (DEBUG) Log.v(TAG, "Adding item #" + itemId + ": f=" + fragment); in instantiateItem()
105 makeFragmentName(container.getId(), itemId)); in instantiateItem() local
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java59 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
63 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
65 groupId, itemId, 0, order, title); in add()
70 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions()
110 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
DSubMenuBuilder.java127 final int itemId = mItem != null ? mItem.getItemId() : 0; in getActionViewStatesKey() local
128 if (itemId == 0) { in getActionViewStatesKey()
131 return super.getActionViewStatesKey() + ":" + itemId; in getActionViewStatesKey()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java97 final long itemId = getItemId(position); in instantiateItem() local
100 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
103 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); in instantiateItem()
107 if (DEBUG) Log.v(TAG, "Adding item #" + itemId + ": f=" + fragment); in instantiateItem()
109 makeFragmentName(container.getId(), itemId)); in instantiateItem() local
/frameworks/support/media-compat/api23/android/support/v4/media/
DMediaBrowserServiceCompatApi23.java33 void onLoadItem(String itemId, ResultWrapper<Parcel> result); in onLoadItem() argument
43 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() argument
44 ((ServiceCompatProxy) mServiceProxy).onLoadItem(itemId, in onLoadItem()
DMediaBrowserCompatApi23.java37 void onError(@NonNull String itemId); in onError() argument
59 public void onError(@NonNull String itemId) { in onError() argument
60 mItemCallback.onError(itemId); in onError()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DStubMediaBrowserServiceCompat.java102 public void onLoadItem(String itemId, Result<MediaItem> result) { in onLoadItem() argument
103 if (MEDIA_ID_CHILDREN_DELAYED.equals(itemId)) { in onLoadItem()
110 if (MEDIA_ID_INVALID.equals(itemId)) { in onLoadItem()
116 if (id.equals(itemId)) { in onLoadItem()
123 super.onLoadItem(itemId, result); in onLoadItem()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableActionDrawerMenu.java71 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
72 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
76 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
78 new WearableActionDrawerMenuItem(mContext, itemId, title, mItemChangedListener); in add()
151 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
156 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
163 int itemId, in addIntentOptions() argument
/frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java101 public void onLoadItem(String itemId, Result<MediaItem> result) { in onLoadItem() argument
102 if (MEDIA_ID_CHILDREN_DELAYED.equals(itemId)) { in onLoadItem()
109 if (MEDIA_ID_INVALID.equals(itemId)) { in onLoadItem()
115 if (id.equals(itemId)) { in onLoadItem()
122 super.onLoadItem(itemId, result); in onLoadItem()
/frameworks/av/media/libstagefright/
DItemTable.cpp232 uint32_t itemId; in parse() local
233 if (!source()->getUInt32Var(offset, &itemId, itemIdSize)) { in parse()
237 ALOGV("primary id %d", itemId); in parse()
238 *primaryItemId = itemId; in parse()
258 itemId(item_id), in ItemLoc()
288 uint32_t itemId; member
471 uint32_t itemId() { return mItemId; } in itemId() function
592 uint32_t itemId; member
784 uint32_t itemId = 0; in parse() local
791 if (!source()->getUInt32Var(offset, &itemId, itemIdSize)) { in parse()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java495 long itemId; field in RemoteViewsAdapter.RemoteViewsIndexMetaData
497 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { in RemoteViewsIndexMetaData() argument
498 set(v, itemId); in RemoteViewsIndexMetaData()
502 itemId = id; in set()
568 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() argument
596 metaData.set(v, itemId); in insert()
598 mIndexMetaData.put(position, new RemoteViewsIndexMetaData(v, itemId)); in insert()
973 long itemId = 0; in updateRemoteViews() local
976 itemId = factory.getItemId(position); in updateRemoteViews()
1010 mCache.insert(position, remoteViews, itemId, visibleWindow); in updateRemoteViews()
[all …]
DAdapterViewAnimator.java221 long itemId; field in AdapterViewAnimator.ViewAndMetaData
223 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
227 this.itemId = itemId; in ViewAndMetaData()
546 long itemId = mAdapter.getItemId(adapterPosition); in showOnly() local
557 adapterPosition, itemId)); in showOnly()
654 viewData.itemId); in onTouchEvent()
DShareActionProvider.java299 final int itemId = item.getItemId(); in onMenuItemClick() local
300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java455 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() argument
708 private void performLoadItem(String itemId, final ConnectionRecord connection, in performLoadItem() argument
711 new Result<MediaBrowser.MediaItem>(itemId) { in performLoadItem()
717 + " been disconnected. pkg=" + connection.pkg + " id=" + itemId); in performLoadItem()
732 onLoadItem(itemId, result); in performLoadItem()
737 + " before returning for id=" + itemId); in performLoadItem()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationMenuView.java331 void tryRestoreSelectedItemId(int itemId) { in tryRestoreSelectedItemId() argument
335 if (itemId == item.getItemId()) { in tryRestoreSelectedItemId()
336 mSelectedItemId = itemId; in tryRestoreSelectedItemId()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java363 final int itemId = item.getItemId(); in onMenuItemClick() local
364 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java295 private int itemId; field in SupportMenuInflater.MenuState
387 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId); in readItem()
529 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle)); in addItem()
534 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java389 public void onLoadItem(String itemId, in onLoadItem() argument
392 = new Result<MediaBrowserCompat.MediaItem>(itemId) { in onLoadItem()
409 MediaBrowserServiceCompat.this.onLoadItem(itemId, result); in onLoadItem()
1118 public void onLoadItem(String itemId, @NonNull Result<MediaBrowserCompat.MediaItem> result) { in onLoadItem() argument
1387 void performLoadItem(String itemId, ConnectionRecord connection, in performLoadItem() argument
1390 new Result<MediaBrowserCompat.MediaItem>(itemId) { in performLoadItem()
1404 onLoadItem(itemId, result); in performLoadItem()
1409 + " before returning for id=" + itemId); in performLoadItem()
/frameworks/support/design/src/android/support/design/widget/
DBottomNavigationView.java336 public void setSelectedItemId(@IdRes int itemId) { in setSelectedItemId() argument
337 MenuItem item = mMenu.findItem(itemId); in setSelectedItemId()

12