Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuWrapperICS.java44 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
45 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title)); in add()
49 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
64 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
65 return getSubMenuWrapper(mWrappedObject.addSubMenu(groupId, itemId, order, title)); in addSubMenu()
69 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
71 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
75 public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, in addIntentOptions() argument
83 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); in addIntentOptions()
DSubMenuBuilder.java138 final int itemId = mItem != null ? mItem.getItemId() : 0; in getActionViewStatesKey() local
139 if (itemId == 0) { in getActionViewStatesKey()
142 return super.getActionViewStatesKey() + ":" + itemId; in getActionViewStatesKey()
/frameworks/base/core/java/android/view/
DMenu.java168 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument
185 public MenuItem add(int groupId, int itemId, int order, int titleRes); in add() argument
227 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument
242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes); in addSubMenu() argument
295 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
DMenuInflater.java260 private int itemId; field in MenuInflater.MenuState
344 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem()
451 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle)); in addItem()
456 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentPagerAdapter.java88 final long itemId = getItemId(position); in instantiateItem() local
91 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
94 if (DEBUG) Log.v(TAG, "Attaching item #" + itemId + ": f=" + fragment); in instantiateItem()
98 if (DEBUG) Log.v(TAG, "Adding item #" + itemId + ": f=" + fragment); in instantiateItem()
100 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.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/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
DTouchExplorationHelper.java75 final int itemId = mFocusedItemId; in clearFocusedItem() local
76 if (itemId == INVALID_ID) { in clearFocusedItem()
80 performAction(itemId, AccessibilityNodeInfoCompat.ACTION_CLEAR_ACCESSIBILITY_FOCUS, null); in clearFocusedItem()
89 final int itemId = getIdForItem(item); in setFocusedItem() local
90 if (itemId == INVALID_ID) { in setFocusedItem()
94 performAction(itemId, AccessibilityNodeInfoCompat.ACTION_ACCESSIBILITY_FOCUS, null); in setFocusedItem()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java530 long itemId; field in RemoteViewsAdapter.RemoteViewsIndexMetaData
532 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { in RemoteViewsIndexMetaData() argument
533 set(v, itemId); in RemoteViewsIndexMetaData()
537 itemId = id; in set()
611 public void insert(int position, RemoteViews v, long itemId, in insert() argument
632 metaData.set(v, itemId); in insert()
634 mIndexMetaData.put(position, new RemoteViewsIndexMetaData(v, itemId)); in insert()
1019 long itemId = 0; in updateRemoteViews() local
1023 itemId = factory.getItemId(position); in updateRemoteViews()
1057 mCache.insert(position, remoteViews, itemId, visibleWindow); in updateRemoteViews()
[all …]
DAdapterViewAnimator.java218 long itemId; field in AdapterViewAnimator.ViewAndMetaData
220 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
224 this.itemId = itemId; in ViewAndMetaData()
544 long itemId = mAdapter.getItemId(adapterPosition); in showOnly() local
555 adapterPosition, itemId)); in showOnly()
652 viewData.itemId); in onTouchEvent()
DShareActionProvider.java290 final int itemId = item.getItemId(); in onMenuItemClick() local
291 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
DAbsListView.java2198 lp.itemId = mAdapter.getItemId(position); in obtainView()
6130 long itemId = -1; field in AbsListView.FlingRunnable.LayoutParams
6405 mTransientStateViewsById.put(lp.itemId, scrap); in addScrapView()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DSupportMenuInflater.java266 private int itemId; field in SupportMenuInflater.MenuState
350 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId); in readItem()
456 setItem(menu.add(groupId, itemId, itemCategoryOrder, itemTitle)); in addItem()
461 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java303 final int itemId = item.getItemId(); in onMenuItemClick() local
304 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
/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/v7/appcompat/src/android/support/v7/app/
DActionBarImplICS.java321 public boolean onNavigationItemSelected(int itemPosition, long itemId) { in onNavigationItemSelected() argument
322 return mWrappedListener.onNavigationItemSelected(itemPosition, itemId); in onNavigationItemSelected()
DActionBar.java676 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument
/frameworks/base/core/java/android/app/
DActionBar.java789 public boolean onNavigationItemSelected(int itemPosition, long itemId); in onNavigationItemSelected() argument
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd264 long itemId = cursor.getLong(
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd1227 public boolean onNavigationItemSelected(int position, long itemId) {