Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperICS.java49 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title)); in add()
54 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
55 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
69 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
70 return getSubMenuWrapper(mWrappedObject.addSubMenu(groupId, itemId, order, title)); in addSubMenu()
74 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
76 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
80 public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, in addIntentOptions() argument
88 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); in addIntentOptions()
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/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/base/core/java/android/view/
DMenu.java169 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument
186 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument
228 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument
243 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu() argument
296 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
DMenuInflater.java302 private int itemId; field in MenuInflater.MenuState
386 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem()
493 MenuItem item = menu.add(groupId, itemId, itemCategoryOrder, itemTitle); in addItem()
500 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java377 public void seek(String itemId, long positionMillis, Bundle extras, in seek() argument
379 if (itemId == null) { in seek()
386 performItemAction(intent, mSessionId, itemId, extras, callback); in seek()
409 public void getStatus(String itemId, Bundle extras, ItemActionCallback callback) { in getStatus() argument
410 if (itemId == null) { in getStatus()
416 performItemAction(intent, mSessionId, itemId, extras, callback); in getStatus()
441 public void remove(String itemId, Bundle extras, ItemActionCallback callback) { in remove() argument
442 if (itemId == null) { in remove()
449 performItemAction(intent, mSessionId, itemId, extras, callback); in remove()
654 final String sessionId, final String itemId, in performItemAction() argument
[all …]
/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/fragment/java/android/support/v4/app/
DFragmentPagerAdapter.java92 final long itemId = getItemId(position); in instantiateItem() local
95 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
98 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); in instantiateItem()
102 if (DEBUG) Log.v(TAG, "Adding item #" + itemId + ": f=" + fragment); in instantiateItem()
104 makeFragmentName(container.getId(), itemId)); in instantiateItem() local
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java96 final long itemId = getItemId(position); in instantiateItem() local
99 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
102 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); in instantiateItem()
106 if (DEBUG) Log.v(TAG, "Adding item #" + itemId + ": f=" + fragment); in instantiateItem()
108 makeFragmentName(container.getId(), itemId)); in instantiateItem() local
/frameworks/support/media-compat/api23/android/support/v4/media/
DMediaBrowserServiceCompatApi23.java31 void onLoadItem(String itemId, ResultWrapper<Parcel> result); in onLoadItem() argument
41 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() argument
42 ((ServiceCompatProxy) mServiceProxy).onLoadItem(itemId, in onLoadItem()
DMediaBrowserCompatApi23.java35 void onError(@NonNull String itemId); in onError() argument
53 public void onError(@NonNull String itemId) { in onError() argument
54 mItemCallback.onError(itemId); in onError()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java497 long itemId; field in RemoteViewsAdapter.RemoteViewsIndexMetaData
499 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { in RemoteViewsIndexMetaData() argument
500 set(v, itemId); in RemoteViewsIndexMetaData()
504 itemId = id; in set()
570 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() argument
598 metaData.set(v, itemId); in insert()
600 mIndexMetaData.put(position, new RemoteViewsIndexMetaData(v, itemId)); in insert()
971 long itemId = 0; in updateRemoteViews() local
974 itemId = factory.getItemId(position); in updateRemoteViews()
1008 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.java445 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() argument
695 private void performLoadItem(String itemId, final ConnectionRecord connection, in performLoadItem() argument
698 new Result<MediaBrowser.MediaItem>(itemId) { in performLoadItem()
708 onLoadItem(itemId, result); in performLoadItem()
713 + " before returning for id=" + itemId); in performLoadItem()
/frameworks/support/transition/ics/android/support/transition/
DTransitionPort.java232 long itemId = parent.getItemIdAtPosition(position); in createAnimators() local
233 start = startValues.itemIdValues.get(itemId); in createAnimators()
234 endItemIdCopy.remove(itemId); in createAnimators()
690 long itemId = View.NO_ID; in captureHierarchy() local
696 itemId = listview.getItemIdAtPosition(position); in captureHierarchy()
727 mStartValues.itemIdValues.put(itemId, values); in captureHierarchy()
736 mEndValues.itemIdValues.put(itemId, values); in captureHierarchy()
776 long itemId = listview.getItemIdAtPosition(position); in getTransitionValues() local
777 values = valuesMaps.itemIdValues.get(itemId); in getTransitionValues()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java285 private int itemId; field in SupportMenuInflater.MenuState
369 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId); in readItem()
479 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle)); in addItem()
484 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java328 public void onLoadItem(String itemId, in onLoadItem() argument
331 = new Result<MediaBrowserCompat.MediaItem>(itemId) { in onLoadItem()
344 MediaBrowserServiceCompat.this.onLoadItem(itemId, result); in onLoadItem()
872 public void onLoadItem(String itemId, Result<MediaBrowserCompat.MediaItem> result) { in onLoadItem() argument
1090 private void performLoadItem(String itemId, ConnectionRecord connection, in performLoadItem() argument
1093 new Result<MediaBrowserCompat.MediaItem>(itemId) { in performLoadItem()
1103 onLoadItem(itemId, result); in performLoadItem()
1108 + " before returning for id=" + itemId); in performLoadItem()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java360 final int itemId = item.getItemId(); in onMenuItemClick() local
361 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewFocusRecoveryTest.java200 long itemId = oldVh.getItemId(); in recoverAdapterChangeViaStableId() local
224 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForItemId(itemId); in recoverAdapterChangeViaStableId()
305 final long itemId = oldVh.getItemId(); in testDoNotRecoverIfReplacementIsNotFocusable() local
315 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForItemId(itemId); in testDoNotRecoverIfReplacementIsNotFocusable()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); in readItem() local
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarDisplayOptions.java72 public boolean onNavigationItemSelected(int itemPosition, long itemId) { in onCreate()
/frameworks/base/core/java/android/transition/
DTransition.java1508 long itemId = listview.getItemIdAtPosition(position); in addViewValues() local
1509 if (transitionValuesMaps.itemIdValues.indexOfKey(itemId) >= 0) { in addViewValues()
1511 View alreadyMatched = transitionValuesMaps.itemIdValues.get(itemId); in addViewValues()
1514 transitionValuesMaps.itemIdValues.put(itemId, null); in addViewValues()
1518 transitionValuesMaps.itemIdValues.put(itemId, view); in addViewValues()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java1115 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument

12