Home
last modified time | relevance | path

Searched refs:moveToPosition (Results 1 – 25 of 107) sorted by relevance

12345

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DConversationMessageDataTest.java52 testCursor.moveToPosition(1); in testBindTwice()
63 testCursor.moveToPosition(2); in testBindTwice()
79 testCursor.moveToPosition(0); in testMessageClustering()
84 testCursor.moveToPosition(1); in testMessageClustering()
89 testCursor.moveToPosition(2); in testMessageClustering()
93 testCursor.moveToPosition(3); in testMessageClustering()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java89 mResponse.moveToPosition(-1); in query()
193 assertTrue(cursor.moveToPosition(0)); in testScanAllProviders()
198 assertTrue(cursor.moveToPosition(1)); in testScanAllProviders()
203 assertTrue(cursor.moveToPosition(2)); in testScanAllProviders()
208 assertTrue(cursor.moveToPosition(3)); in testScanAllProviders()
214 assertTrue(cursor.moveToPosition(4)); in testScanAllProviders()
292 cursor.moveToPosition(2); in testPackageInstalled()
343 cursor.moveToPosition(2); in testPackageUninstalled()
392 cursor.moveToPosition(2); in testPackageReplaced()
459 cursor.moveToPosition(2); in testPackageRenamed()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DGroupMemberPickerFragment.java96 super.moveToPosition(i); in FilterCursorWrapper()
120 return moveToPosition(mPos + offset); in move()
125 return moveToPosition(mPos + 1); in moveToNext()
130 return moveToPosition(mPos - 1); in moveToPrevious()
135 return moveToPosition(0); in moveToFirst()
140 return moveToPosition(mCount - 1); in moveToLast()
144 public boolean moveToPosition(int position) { in moveToPosition() method in GroupMemberPickerFragment.FilterCursorWrapper
153 return super.moveToPosition(mPos); in moveToPosition()
DPhoneNumberListAdapter.java394 cursor.moveToPosition(-1); in getResultCount()
419 cursor.moveToPosition(position); in bindView()
429 cursor.moveToPosition(position); in bindView()
440 cursor.moveToPosition(position); in bindView()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java114 cursor.moveToPosition(-1); in createCursor()
251 cursor.moveToPosition(-1); in buildContactSearchTree()
339 public boolean moveToPosition(int position) { in moveToPosition() method in ContactFilterCursor
342 && cursor.moveToPosition(queryFilteredPositions.get(currentPosition)); in moveToPosition()
348 return moveToPosition(currentPosition); in move()
373 return moveToPosition(0); in moveToFirst()
378 return moveToPosition(getCount() - 1); in moveToLast()
383 return moveToPosition(++currentPosition); in moveToNext()
388 return moveToPosition(--currentPosition); in moveToPrevious()
DSearchContactViewHolder.java135 cursor.moveToPosition(currentPosition - 1); in shouldShowPhoto()
139 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
142 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java64 cursor.moveToPosition(-1); in removeNonStarMatchesFromCursor()
75 cursor.moveToPosition(-1); in removeNonStarMatchesFromCursor()
124 cursor.moveToPosition(-1); in matchingNumberStartsWithStar()
170 cursor.moveToPosition(-1); in removeNoMatchPhoneNumber()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java145 cursor.moveToPosition(i); in testSort_names_ascending()
169 cursor.moveToPosition(i); in testSort_names_descending()
192 cursor.moveToPosition(i); in testSort_sizes_ascending()
215 cursor.moveToPosition(i); in testSort_sizes_descending()
254 cursor.moveToPosition(i); in testSort_sizesWithBucketing_ascending()
306 cursor.moveToPosition(i); in testSort_sizesWithBucketing_descending()
417 cursor.moveToPosition(i); in testSort_type_ascending()
449 cursor.moveToPosition(i); in testSort_type_descending()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilder.java93 mFrequentContactsCursor.moveToPosition(-1); in build()
99 mFrequentContactsCursor.moveToPosition(oldPosition); in build()
108 mAllContactsCursor.moveToPosition(-1); in build()
132 mAllContactsCursor.moveToPosition(oldPosition); in build()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java123 super.moveToPosition(i); in FilterCursorWrapper()
148 return moveToPosition(mPos + offset); in move()
153 return moveToPosition(mPos + 1); in moveToNext()
158 return moveToPosition(mPos - 1); in moveToPrevious()
163 return moveToPosition(0); in moveToFirst()
168 return moveToPosition(mCount - 1); in moveToLast()
172 public boolean moveToPosition(int position) { in moveToPosition() method in GroupMembersFragment.FilterCursorWrapper
181 return super.moveToPosition(mPos); in moveToPosition()
388 cursor.moveToPosition(-1); in sendToGroup()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCursorRecyclerAdapter.java165 mCursor.moveToPosition(position); in getItem()
178 if (mCursor.moveToPosition(position)) { in getItemId()
198 if (!mCursor.moveToPosition(position)) { in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchCursorManager.java246 contactsCursor.moveToPosition(position); in getCursor()
256 nearbyPlacesCursor.moveToPosition(position); in getCursor()
266 corpDirectoryCursor.moveToPosition(position); in getCursor()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java109 cursor.moveToPosition(currentPosition - 1); in shouldShowPhoto()
113 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
116 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java258 cursor.moveToPosition(cluster.get(0)); in updateWithLocked()
298 cursor.moveToPosition(cluster.get(j)); in updateWithLocked()
332 cursor.moveToPosition(cluster.get(0)); in updateWithLocked()
364 cursor.moveToPosition(cluster.get(j)); in updateWithLocked()
414 cursor.moveToPosition(cluster.get(i)); in getDownloadIds()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java220 if (mCursor.moveToPosition(position)) { in editSelected()
236 if (mCursor.moveToPosition(position)) { in deleteSelected()
252 if (mCursor.moveToPosition(position)) { in dialSelected()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DCursorPhotoSource.java46 current.cursor.moveToPosition(current.position); in naturalNext()
64 current.cursor.moveToPosition(current.position); in naturalPrevious()
DLocalSource.java78 cursor.moveToPosition(-1); in findAlbums()
144 data.cursor.moveToPosition(-1); in findPosition()
215 cursor.moveToPosition(mLastPosition); in findImages()
DPicasaSource.java126 data.cursor.moveToPosition(-1); in findPosition()
226 cursor.moveToPosition(mLastPosition); in findImages()
302 cursor.moveToPosition(-1); in resolveAlbumIds()
342 cursor.moveToPosition(-1); in findAlbums()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java183 mTransferCursor.moveToPosition(mContextMenuPosition); in onContextItemSelected()
213 mTransferCursor.moveToPosition(info.position); in onCreateContextMenu()
298 mTransferCursor.moveToPosition(position); in onItemClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectWifiState.java112 moveToPosition(lastWifiTitle); in updateNetworkList()
115 private void moveToPosition(CharSequence title) { in moveToPosition() method in SelectWifiState.SelectWifiFragment
216 moveToPosition(title); in onViewCreated()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java34 expected.moveToPosition(i); in verifyBuiltCursor()
35 actual.moveToPosition(i); in verifyBuiltCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java103 return mCursor.moveToPosition(mPositions[newPosition]); in onMove()
175 this.moveToPosition(-1); in filterByCondition()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java81 cursor.moveToPosition(row); in testBindFirstLevel()
92 cursor.moveToPosition(row); in testBindSecondLevel()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java141 cursor.moveToPosition(-1); in filterCursorByString()
167 cursor.moveToPosition(-1); in filterCursorByString()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImageList.java124 result = cursor.moveToPosition(i) in getImageAt()
200 cursor.moveToPosition(-1); // before first in getImageForUri()

12345