/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 142 assertEquals("A", adapter.getItem(0)); in testGetItem() 143 assertEquals("B", adapter.getItem(1)); in testGetItem() 144 assertEquals("C", adapter.getItem(2)); in testGetItem() 145 assertEquals("D", adapter.getItem(3)); in testGetItem() 146 assertEquals("E", adapter.getItem(4)); in testGetItem() 224 assertEquals("A", adapter.getItem(0)); in testNotifyDataSetChangedPropagated() 225 assertEquals("B", adapter.getItem(1)); in testNotifyDataSetChangedPropagated() 226 assertEquals("X", adapter.getItem(2)); in testNotifyDataSetChangedPropagated() 232 assertEquals("A", adapter.getItem(0)); in testNotifyDataSetChangedPropagated() 233 assertEquals("B", adapter.getItem(1)); in testNotifyDataSetChangedPropagated() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | SectionedAlbumDataAdapter.java | 72 PhotoSource.AlbumData item = mAlbumData.getItem(i); in onChanged() 86 PhotoSource.AlbumData item = mAlbumData.getItem(i); in onChanged() 129 public Object getItem(int position) { in getItem() method in SectionedAlbumDataAdapter 131 return mAlbumData.getItem(internalPosition(position+1)).account; in getItem() 133 return mAlbumData.getItem(internalPosition(position)); in getItem() 187 textView.setText((String) getItem(position)); in getView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 99 final Item item = mAdapter.getItem(position); 109 final Item item = mAdapter.getItem(position); 183 final Item item = mAdapter.getItem(pos); in onRightClick() 212 this::getItem, in onActivityCreated() 217 final Item item = getItem(v); in onActivityCreated() 441 final Object item = mAdapter.getItem(i); in onCurrentRootChanged() 470 final Item item = mAdapter.getItem(adapterMenuInfo.position); in onCreateContextMenu() 486 final RootItem rootItem = (RootItem) mAdapter.getItem(adapterMenuInfo.position); in onContextItemSelected() 520 private Item getItem(View v) { in getItem() method in RootsFragment 522 return mAdapter.getItem(pos); in getItem()
|
D | RootsAdapter.java | 68 String stringId = getItem(position).stringId; in getItemId() 83 final Item item = getItem(position); in getView() 108 final Item item = getItem(position); in getItemViewType()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | RequestRoleFragment.java | 406 Pair<ApplicationInfo, Boolean> qualifyingApplication = mAdapter.getItem(i); in getQualifyingApplicationUid() 424 if (count > 0 && mAdapter.getItem(0) == null) { in getQualifyingApplicationCount() 438 Pair<ApplicationInfo, Boolean> qualifyingApplication = mAdapter.getItem(i); in getHolderPackageName() 585 Pair<ApplicationInfo, Boolean> qualifyingApplication = getItem(i); in restoreItemChecked() 610 Pair<ApplicationInfo, Boolean> qualifyingApplication = getItem(i); in updateItemChecked() 627 return position != AdapterView.INVALID_POSITION ? getItem(position) : null; in getCheckedItem() 659 public Pair<ApplicationInfo, Boolean> getItem(int position) { in getItem() method in RequestRoleFragment.Adapter 665 Pair<ApplicationInfo, Boolean> qualifyingApplication = getItem(position); in getItemId() 675 Pair<ApplicationInfo, Boolean> qualifyingApplication = getItem(position); in isEnabled() 704 Pair<ApplicationInfo, Boolean> qualifyingApplication = getItem(position); in getView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryAdapter.java | 55 Action action = getItem(i); in clear() 97 Action action = getItem(position); in getView() 156 Action action = getItem(i); in getTinyPlanet() 168 Action action = getItem(i); in removeTinyPlanet() 216 FilterRepresentation itemRep = getItem(i).getRepresentation(); in reflectImagePreset()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
D | HistoryManager.java | 44 public HistoryItem getItem(int position) { in getItem() method in HistoryManager 122 return getItem(0); in getLast() 126 return getItem(mCurrentPresetPosition); in getCurrent() 139 oldItems.add(getItem(i)); in insert()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | AliasLoaderTest.java | 167 Assert.assertEquals("a", result.getItem(0)); in testAliasLoader_loadsAllAliases() 168 Assert.assertEquals("b", result.getItem(1)); in testAliasLoader_loadsAllAliases() 169 Assert.assertEquals("c", result.getItem(2)); in testAliasLoader_loadsAllAliases() 214 Assert.assertEquals("b", result.getItem(0)); in testAliasLoader_filtersNonUserSelectableAliases() 251 Assert.assertEquals("a", result.getItem(0)); in testAliasLoader_filtersAliasesWithNonConformingParameters()
|
/packages/apps/Gallery2/src/com/android/photos/adapters/ |
D | PhotoThumbnailAdapter.java | 65 Cursor cursor = getItem(position); in getIntrinsicAspectRatio() 72 public Cursor getItem(int position) { in getItem() method in PhotoThumbnailAdapter 73 return (Cursor) super.getItem(position); in getItem()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateAdapter.java | 52 State state = getItem(position); in getView() 69 if (state == getItem(i)) { in contains() 90 State state = getItem(i); in same()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Model.java | 179 public @Nullable Cursor getItem(String modelId) { in getItem() method in Model 208 final Cursor cursor = getItem(modelId); in getDocument() 241 final Cursor cursor = getItem(modelId); in loadDocument() 257 final Cursor cursor = getItem(modelId); in getItemUri()
|
D | DropdownBreadcrumb.java | 118 public DocumentInfo getItem(int position) { in getItem() method in DropdownBreadcrumb.DropdownAdapter 135 final DocumentInfo doc = getItem(position); in getView() 155 final DocumentInfo doc = getItem(position); in getDropDownView()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SimpleMenuPreference.kt | 77 val item: CharSequence? = getItem(0) in restoreOriginalOrder() 83 val item: CharSequence? = getItem(position) in swapSelectedToFront() 91 val item: CharSequence? = getItem(position) in setSelectedPosition()
|
D | SimpleMenuPreference.java | 107 final CharSequence item = getItem(0); in restoreOriginalOrder() 113 final CharSequence item = getItem(position); in swapSelectedToFront() 125 final CharSequence item = getItem(position); in setSelectedPosition()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 196 notifyItemChanged(mAdapter.getItem(position)); in notifyItemChanged() 279 holder.onBind(this, getItem(position)); in onBindViewHolder() 289 return getItem(position).getResourceId(); in getItemViewType() 297 private T getItem(int position) { in getItem() method in SideFragment.ItemAdapter
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.kt | 274 override fun getItem(position: Int): City? { in getItem() method in com.android.deskclock.worldclock.CitySelectionActivity.CityAdapter 300 val city = getItem(position) in getView() 393 val city = getItem(position) in getSections() 534 val priorCity = getItem(position - 1) in getShowIndex() 535 val city = getItem(position) in getShowIndex()
|
D | CitySelectionActivity.java | 312 public City getItem(int position) { in getItem() method in CitySelectionActivity.CityAdapter 343 final City city = getItem(position); in getView() 440 final City city = getItem(position); in getSections() 592 final City priorCity = getItem(position - 1); in getShowIndex() 593 final City city = getItem(position); in getShowIndex()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | MtpAdapter.java | 93 public Object getItem(int position) { in getItem() method in MtpAdapter 148 (IngestObjectInfo) getItem(position), mGeneration); in getView() 158 dateTile.setDate((SimpleDate) getItem(position)); in getView()
|
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
D | EmbmsTestStreamingApp.java | 81 StreamingServiceInfo info = getItem(position); in getView() 89 StreamingServiceInfo info = getItem(position); in getDropDownView() 114 String serviceId = getItem(position); in getView() 123 String serviceId = getItem(position); in getDropDownView()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersAdapter.java | 86 final Cursor cursor = (Cursor) getItem(position); in getContactUri() 94 final Cursor cursor = (Cursor) getItem(position); in getContactId() 134 return ((Cursor) getItem(position)).getString(GroupMembersQuery.CONTACT_DISPLAY_NAME); in getContactDisplayName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | CycleAdapter.java | 56 final CycleItem item = getItem(i); in findNearestPosition() 143 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList() 174 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMergeAlbum.java | 132 slot[i] = mFetcher[i].getItem(subPos[i]); in getMediaItem() 155 slot[k] = mFetcher[k].getItem(subPos[k]); in getMediaItem() 226 public MediaItem getItem(int index) { in getItem() method in LocalMergeAlbum.FetchCache
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CycleAdapter.java | 56 final CycleItem item = getItem(i); in findNearestPosition() 143 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList() 174 final CycleAdapter.CycleItem selectedItem = getItem(position); in updateCycleList()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 118 public Object getItem(int position) { in getItem() method in GalleryActionBar.ClusterAdapter 146 public Object getItem(int position) { in getItem() method in GalleryActionBar.AlbumModeAdapter 163 view.getText2().setText((CharSequence) getItem(position)); in getView() 174 view.setText((CharSequence) getItem(position)); in getDropDownView()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListAdapter.java | 156 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME); in getContactDisplayName() 165 Cursor item = (Cursor)getItem(position); in getContactUri() 185 final Cursor cursor = (Cursor) getItem(position); in getContactId() 190 final Cursor cursor = (Cursor) getItem(position); in isEnterpriseContact()
|