Home
last modified time | relevance | path

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

12

/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/base/core/java/android/view/
DSubMenu.java102 public MenuItem getItem(); in getItem() method
DMenu.java389 public MenuItem getItem(int index); in getItem() method
/frameworks/base/core/java/android/widget/
DAdapter.java64 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()
DArrayAdapter.java297 public T getItem(int position) { in getItem() method in ArrayAdapter
351 T item = getItem(position); in createViewFromResource()
DSpinner.java319 public Object getItem(int position) { in getItem() method in Spinner.DropDownAdapter
320 return mAdapter == null ? null : mAdapter.getItem(position); in getItem()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtons.java64 String label = getItem(position); in getView()
DListWithFooterViewAndNewLabels.java85 public Object getItem(int position) { in getItem() method in ListWithFooterViewAndNewLabels.MyAdapter
DListOfInternalSelectionViews.java152 public Object getItem(int position) { in getItem() method in ListOfInternalSelectionViews.MyAdapter
DListOfEditTexts.java113 String body = getItem(position); in getView()
DListWithMailMessages.java128 MailMessage message = getItem(position); in getView()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java263 mAdapter.getItem(which).onPress(); in onClick()
294 return getItem(position).isEnabled(); in isEnabled()
302 public Action getItem(int position) { in getItem() method in GlobalActions.MyAdapter
331 Action action = getItem(position); in getView()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListTakeFocusFromSide.java55 public Object getItem(int position) { in getItem() method in ListTakeFocusFromSide.ThrashListAdapter
DListWithEmptyView.java92 mAdapter.remove(mAdapter.getItem(0)); in onOptionsItemSelected()
DListThrasher.java79 public Object getItem(int position) { in getItem() method in ListThrasher.ThrashListAdapter
DAdjacentListsWithAdjacentISVsInside.java113 public Object getItem(int position) { in getItem() method in AdjacentListsWithAdjacentISVsInside.AdjacentISVAdapter
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridDelete.java95 public Object getItem(int position) { in getItem() method in GridDelete.DeleteAdapter
DGridThrasher.java81 public Object getItem(int position) { in getItem() method in GridThrasher.ThrashListAdapter
/frameworks/base/core/java/com/android/internal/view/menu/
DExpandedMenuView.java93 invokeItem((MenuItemImpl) getAdapter().getItem(position)); in onItemClick()
DSubMenuBuilder.java65 public MenuItem getItem() { in getItem() method in SubMenuBuilder
DMenuDialogHelper.java137 mMenu.performItemAction((MenuItemImpl) mAdapter.getItem(which), 0); in onClick()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java85 public Object getItem(int position) { in getItem() method in FakeAdapter

12