Home
last modified time | relevance | path

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

1234

/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DMainActivity.java48 public String getItem(int position) { in getItem() method in MainActivity.MyAdapter
64 .setText(getItem(position)); in getView()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DMainActivity.java101 public Item getItem(int position) { in getItem() method in MainActivity.GridAdapter
107 return getItem(position).getId(); in getItemId()
116 final Item item = getItem(position); in getView()
DItem.java39 public static Item getItem(int id) { in getItem() method in Item
/development/tools/winscope/src/common/
Din_memory_storage_test.ts25 expect(mockStorage.getItem('key')).toBe('value');
Dpersistent_store.ts23 return localStorage.getItem(key) ?? undefined;
Din_memory_storage.ts28 getItem(key: string): string | null { method in InMemoryStorage
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSelectContactActivity.java65 public Object getItem(int i) {
81 Contact contact = (Contact) getItem(i);
/development/samples/VirtualDeviceManager/virtualcamera/src/com/example/android/vdmdemo/virtualcamera/
DVirtualCameraArrayAdapter.java64 public VirtualCamera getItem(int index) { in getItem() method in VirtualCameraArrayAdapter
84 VirtualCamera camera = Objects.requireNonNull(getItem(position)); in getView()
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DPagerAdapter.java39 public Fragment getItem(int position) { in getItem() method in PagerAdapter
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos); in onListItemClick()
99 public Object getItem(int position) { in getItem() method in AppNavHomeActivity.SampleAdapter
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DStableArrayAdapter.java43 String item = getItem(position); in getItemId()
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
DListViewDeletion.java74 final String item = adapter.getItem(position); in onCreate()
164 String item = getItem(position); in getItemId()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeListAdapter.java99 public Object getItem(int position) { in getItem() method in RecipeListAdapter
120 Item item = (Item) getItem(position); in getView()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DMainActivityFragment.java110 String fileName = getItem(position).getAbsolutePath(); in onResume()
114 .format(getItem(position).length()); in onResume()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DStableArrayAdapter.java43 String item = getItem(position); in getItemId()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DStableArrayAdapter.java43 String item = getItem(position); in getItemId()
/development/apps/Development/src/com/android/development/
DArrayAdapter.java54 public Object getItem(int position) { in getItem() method in ArrayAdapter
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList5.java62 public Object getItem(int position) { in getItem() method in List5.MyListAdapter
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListAdapter.java57 AppEntry item = getItem(position); in getView()
DPinnedAppPickerDialog.java68 final AppEntry entry = mAppListAdapter.getItem(position); in onViewCreated()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java56 public Fragment getItem(int position) { in getItem() method in LNotificationActivity.NotificationsPagerAdapter
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java87 ComplicationItem complicationItem = mAdapter.getItem(tag); in onClick()
201 public ComplicationItem getItem(int position) { in getItem() method in ComplicationSimpleConfigActivity.ConfigurationAdapter
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java185 RssItem item = this.getItem(position); in getView()
216 RssItem item = mAdapter.getItem(position); in onListItemClick()
414 RssItem item = mAdapter.getItem(i); in onSaveInstanceState()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DBaseActivityListFragment.java112 public LauncherActivityInfo getItem(int position) { in getItem() method in BaseActivityListFragment.AppAdapter
145 bindView(view, getItem(position)); in getView()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DBrowseFragment.java136 MediaBrowser.MediaItem item = mBrowserAdapter.getItem(position); in onCreateView()
199 MediaBrowser.MediaItem item = getItem(position); in getView()

1234