/packages/apps/Contacts/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 140 assertEquals("A", adapter.getItem(0)); in testGetItem() 141 assertEquals("B", adapter.getItem(1)); in testGetItem() 142 assertEquals("C", adapter.getItem(2)); in testGetItem() 143 assertEquals("D", adapter.getItem(3)); in testGetItem() 144 assertEquals("E", adapter.getItem(4)); in testGetItem() 222 assertEquals("A", adapter.getItem(0)); in testNotifyDataSetChangedPropagated() 223 assertEquals("B", adapter.getItem(1)); in testNotifyDataSetChangedPropagated() 224 assertEquals("X", adapter.getItem(2)); in testNotifyDataSetChangedPropagated() 230 assertEquals("A", adapter.getItem(0)); in testNotifyDataSetChangedPropagated() 231 assertEquals("B", adapter.getItem(1)); in testNotifyDataSetChangedPropagated() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 603 final Object item = getListView().getAdapter().getItem(position); in viewFolderOrChangeAccount() 906 final DrawerItem item = (DrawerItem) getItem(position); in getView() 936 return ((DrawerItem) getItem(position)).getType(); in getItemViewType() 946 final DrawerItem drawerItem = ((DrawerItem) getItem(position)); in isEnabled() 1185 public Object getItem(int position) { in getItem() method in FolderListFragment.FolderAdapter 1196 return getItem(position).hashCode(); in getItemId() 1228 final Folder f = getItem(position); in getItemViewType() 1235 final Folder folder = getItem(position); in getView() 1323 public Object getItem(int position) { in getItem() method in FolderListFragment.AccountsAdapter 1334 return getItem(position).hashCode(); in getItemId() [all …]
|
D | LimitedMultiSelectDialogFragment.java | 184 public String getItem(final int position) { 190 return getItem(position).hashCode(); 250 if (mSelectedValues.contains(getItem(position))) {
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserBookmarksPage.java | 191 Cursor c = adapter.getItem(childPosition); in handleContextItem() 201 Cursor cursor = adapter.getItem(childPosition); in handleContextItem() 219 Cursor cursor = adapter.getItem(childPosition); in handleContextItem() 272 Cursor cursor = adapter.getItem(info.childPosition); in onCreateContextMenu() 297 menu.getItem(i).setOnMenuItemClickListener(mContextItemClickListener); in onCreateContextMenu() 431 Cursor cursor = adapter.getItem(childPosition); in onChildClick() 463 mCallbacks.onBookmarkSelected(adapter.getItem(position), false); in loadUrl() 469 Cursor c = adapter.getItem(position); in openInNewWindow() 511 Cursor cursor = adapter.getItem(position); in editBookmark() 536 Cursor cursor = adapter.getItem(position); in displayRemoveBookmarkDialog() [all …]
|
D | SuggestionsAdapter.java | 134 public SuggestItem getItem(int position) { in getItem() method in SuggestionsAdapter 153 bindView(view, getItem(position)); in getView() 212 results.add(cursor.getItem()); in doInBackground() 306 results.add(s.getItem()); in mixResults() 402 public abstract SuggestItem getItem(); in getItem() method in SuggestionsAdapter.CursorSource 421 public SuggestItem getItem() { in getItem() method in SuggestionsAdapter.CombinedCursor 500 public SuggestItem getItem() { in getItem() method in SuggestionsAdapter.SuggestCursor
|
/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/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationContainer.java | 298 final ConversationOverlayItem item = mOverlayAdapter.getItem(i); in onOverlayModelUpdate() 322 if (mOverlayAdapter.getItem(i) == item) { in getViewForItem() 520 ConversationOverlayItem adapterItem = mOverlayAdapter.getItem(adapterIndex); in positionOverlays() 533 adapterItem = mOverlayAdapter.getItem(adapterIndex); in positionOverlays() 737 mOverlayAdapter.getItem(i).invalidateMeasurement(); in onLayout() 781 final ConversationOverlayItem item = mOverlayAdapter.getItem(adapterIndex); in positionOverlay() 917 final ConversationOverlayItem item = mOverlayAdapter.getItem(snapIndex); in positionSnapHeader() 953 final ConversationOverlayItem next = mOverlayAdapter.getItem(i); in findNextPushingOverlay() 1012 final ConversationOverlayItem item = mOverlayAdapter.getItem(i); in removeViewAtAdapterIndex()
|
/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/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.java | 167 Lap lap = getItem(position); in getView() 191 public Lap getItem(int position) { in getItem() method in StopwatchFragment.LapsListAdapter 622 final long lapTime = curTime - mLapsAdapter.getItem(1).mTotalTime; in addLapTime() 623 mLapsAdapter.getItem(0).mLapTime = lapTime; in addLapTime() 624 mLapsAdapter.getItem(0).mTotalTime = curTime; in addLapTime() 644 Lap curLap = mLapsAdapter.getItem(0); in updateCurrentLap() 645 curLap.mLapTime = totalTime - mLapsAdapter.getItem(1).mTotalTime; in updateCurrentLap()
|
/packages/apps/Browser/src/com/android/browser/util/ |
D | ThreadedCursorAdapter.java | 134 public Cursor getItem(int position) { in getItem() method in ThreadedCursorAdapter 135 return (Cursor) mCursorAdapter.getItem(position); in getItem() 141 return getItemId(getItem(position)); in getItemId() 153 Cursor c = (Cursor) mCursorAdapter.getItem(position); in loadRowObject()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 150 Object o = l.getAdapter().getItem(position); in onListItemClick() 210 public Object getItem(int position) { in getItem() method in DeviceAdminSettings.PolicyListAdapter 268 Object o = getItem(position); in getItemViewType() 274 Object o = getItem(position); in isEnabled() 297 Object o = getItem(position); in getView()
|
D | SmsDefaultDialog.java | 176 public Object getItem(int position) { in getItem() method in SmsDefaultDialog.AppListAdapter 187 Item item = ((Item) getItem(position)); in getView() 209 Item item = (Item) getItem(position); in getPackageName()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 385 private MediaItem getItem(int index) { in getItem() method in PhotoDataAdapter 418 MediaItem item = getItem(index); in uploadScreenNail() 451 MediaItem item = getItem(index); in getScreenNail() 469 MediaItem item = getItem(mCurrentIndex + offset); in getImageSize() 481 MediaItem item = getItem(mCurrentIndex + offset); in getImageRotation() 508 MediaItem item = getItem(mCurrentIndex + offset); in isVideo() 516 MediaItem item = getItem(mCurrentIndex + offset); in isDeletable()
|
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/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/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 329 listView.setItemChecked(i, mAdapter.getItem(i).isChecked()); in onClick() 354 mAdapter.getItem(i).setChecked(list.isItemChecked(i)); in onItemClick() 374 GroupSelectionItem item = mAdapter.getItem(i); in onItemClick() 390 GroupSelectionItem item = mAdapter.getItem(i); in isGroupChecked()
|
/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/apps/Email/provider_src/com/android/email/provider/ |
D | FolderPickerDialog.java | 79 final Object item = mAdapter.getItem(position); in show() 110 Object item = mAdapter.getItem(i); in update() 146 final FolderRow row = (FolderRow) mAdapter.getItem(which); in onClick()
|
/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/ContactsCommon/src/com/android/contacts/common/list/ |
D | PhoneNumberListAdapter.java | 282 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME); in getContactDisplayName() 286 final Cursor item = (Cursor)getItem(position); in getPhoneNumber() 297 final Cursor item = (Cursor)getItem(position); in getDataUri() 318 final Cursor item = (Cursor)getItem(position); in getLookupKey()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SearchResultsSummary.java | 448 public Object getItem(int position) { in getItem() method in SearchResultsSummary.SuggestionsAdapter 482 SuggestionItem item = (SuggestionItem) getItem(position); in getView() 550 public Object getItem(int position) { in getItem() method in SearchResultsSummary.SearchResultsAdapter 617 final SearchResult result = (SearchResult) getItem(position); in getView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LanguageActivity.java | 193 Locale target = mLocales.getItem(i).getLocale(); in init() 198 if (mLocales.getItem(i).getLabel().contains("(")) { in init() 238 LocalePicker.updateLocale(mLocales.getItem(offset).getLocale()); in setLanguagePreference()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListAdapter.java | 62 GroupListItem firstItem = getItem(0); in setCursor() 115 public GroupListItem getItem(int position) { in getItem() method in GroupBrowseListAdapter 149 GroupListItem entry = getItem(position); in getView()
|