Home
last modified time | relevance | path

Searched refs:getItem (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java200 public Preference getItem(int position) { in getItem() method in PreferenceGroupAdapter
207 return this.getItem(position).getId(); in getItemId()
211 final Preference preference = this.getItem(position); in getView()
227 return this.getItem(position).isSelectable(); in isEnabled()
257 final Preference preference = this.getItem(position); in getItemViewType()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java170 Assert.assertEquals(firstOrder, mMenu.getItem(0).getOrder()); in testOrder()
171 Assert.assertEquals(a, mMenu.getItem(0).getTitle()); in testOrder()
172 Assert.assertEquals(midOrder, mMenu.getItem(1).getOrder()); in testOrder()
173 Assert.assertEquals(b, mMenu.getItem(1).getTitle()); in testOrder()
174 Assert.assertEquals(lastOrder, mMenu.getItem(2).getOrder()); in testOrder()
175 Assert.assertEquals(c, mMenu.getItem(2).getTitle()); in testOrder()
236 final MenuItem subMenuItem = subMenu.getItem(); in testSubMenu()
DListContextMenu.java65 public Object getItem(int position) { in getItem() method in ListContextMenu.ThrashListAdapter
104 item = sm.getItem(); in onCreateOptionsMenu()
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/
DMergedAdapterTest.java57 public Object getItem(int position) { in getItem() method in MergedAdapterTest.TestAdapter
69 v.setTag(getItem(position)); in getView()
131 assertEquals(Integer.toString(i), adapter.getItem(i)); in testGetItemAndCount()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java156 adapter.mAdapterMenu.performItemAction(adapter.getItem(position), 0); in onItemClick()
248 MenuItem childItem = subMenu.getItem(i); in onSubMenuSelected()
323 public MenuItemImpl getItem(int position) { in getItem() method in MenuPopupHelper.MenuAdapter
347 itemView.initialize(getItem(position), 0); in getView()
DListMenuPresenter.java163 mMenu.performItemAction(mAdapter.getItem(position), 0); in onItemClick()
236 public MenuItemImpl getItem(int position) { in getItem() method in ListMenuPresenter.MenuAdapter
257 itemView.initialize(getItem(position), 0); in getView()
DActionMenuPresenter.java245 View anchor = findViewForItem(topSubMenu.getItem()); in onSubMenuSelected()
251 mOpenSubMenuId = subMenu.getItem().getItemId(); in onSubMenuSelected()
601 MenuItemImpl item = (MenuItemImpl) subMenu.getItem(); in ActionButtonSubmenu()
612 MenuItem childItem = subMenu.getItem(i); in ActionButtonSubmenu()
635 mOpenSubMenuId = ((SubMenuBuilder) subMenu).getItem().getItemId(); in onOpenSubMenu()
DIconMenuPresenter.java97 mOpenSubMenuId = subMenu.getItem().getItemId();
189 mOpenSubMenuId = ((SubMenuBuilder) subMenu).getItem().getItemId();
DExpandedMenuView.java76 invokeItem((MenuItemImpl) getAdapter().getItem(position)); in onItemClick()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java47 public abstract Fragment getItem(int position); in getItem() method in FragmentPagerAdapter
66 fragment = getItem(position); in instantiateItem()
DFragmentStatePagerAdapter.java48 public abstract Fragment getItem(int position); in getItem() method in FragmentStatePagerAdapter
71 Fragment fragment = getItem(position); in instantiateItem()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentPagerAdapter.java44 public abstract Fragment getItem(int position); in getItem() method in FragmentPagerAdapter
63 fragment = getItem(position); in instantiateItem()
DFragmentStatePagerAdapter.java45 public abstract Fragment getItem(int position); in getItem() method in FragmentStatePagerAdapter
68 Fragment fragment = getItem(position); in instantiateItem()
/frameworks/base/core/java/android/view/
DSubMenu.java108 public MenuItem getItem(); in getItem() method
DMenu.java395 public MenuItem getItem(int index); in getItem() method
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DMergedAdapter.java125 public Object getItem(int position) { in getItem() method in MergedAdapter
130 return result.mAdapter.getItem(result.mLocalPosition); in getItem()
/frameworks/base/core/java/android/widget/
DAdapter.java63 Object getItem(int position); in getItem() method
DHeaderViewListAdapter.java167 public Object getItem(int position) { in getItem() method in HeaderViewListAdapter
180 return mAdapter.getItem(adjPosition); in getItem()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java252 mAdapter.getItem(which).onPress(); in onClick()
283 return getItem(position).isEnabled(); in isEnabled()
291 public Action getItem(int position) { in getItem() method in GlobalActions.MyAdapter
321 Action action = getItem(position); in getView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtons.java64 String label = getItem(position); in getView()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryImages.java52 public Object getItem(int position) { in getItem() method in BiDiTestGalleryImages
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListTakeFocusFromSide.java55 public Object getItem(int position) { in getItem() method in ListTakeFocusFromSide.ThrashListAdapter
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridDelete.java95 public Object getItem(int position) { in getItem() method in GridDelete.DeleteAdapter
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DStackActivity.java52 getItem(position % getCount())); in onCreate()
/frameworks/ex/chips/src/com/android/ex/chips/
DSingleRecipientArrayAdapter.java46 bindView(convertView, convertView.getContext(), getItem(position)); in getView()

1234