Home
last modified time | relevance | path

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

12345

/packages/apps/UnifiedEmail/src/com/android/mail/content/
DThreadSafeCursorWrapper.java131 final boolean result = super.moveToPosition(pos); in moveToCurrent()
143 return moveToPosition(curPos + offset); in move()
148 return moveToPosition(0); in moveToFirst()
153 return moveToPosition(getCount() - 1); in moveToLast()
159 return moveToPosition(curPos + 1); in moveToNext()
163 public boolean moveToPosition(int position) { in moveToPosition() method in ThreadSafeCursorWrapper
191 return moveToPosition(curPos - 1); in moveToPrevious()
/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/UnifiedEmail/src/com/android/mail/browse/
DMessageCursor.java83 while (moveToPosition(++pos)) { in isConversationStarred()
94 while (moveToPosition(++pos)) { in isConversationRead()
103 while (moveToPosition(++pos)) { in markMessagesRead()
114 while (moveToPosition(++pos)) { in getMessageForId()
141 while (moveToPosition(++pos) && pos < stopAt) { in getStateHashCode()
174 while (moveToPosition(++pos)) { in getDebugDump()
/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/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()
/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/Email/provider_src/com/android/email/provider/
DContentCache.java335 public boolean moveToPosition(int pos) { in moveToPosition() method in ContentCache.CachedCursor
345 return moveToPosition(0); in moveToFirst()
350 return moveToPosition(mPosition + 1); in moveToNext()
355 return moveToPosition(mPosition - 1); in moveToPrevious()
365 return moveToPosition(mPosition + offset); in move()
370 return moveToPosition(getCount() - 1); in moveToLast()
479 c.moveToPosition(0); in putCursor()
/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/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java63 cursor.moveToPosition(-1); in removeNonStarMatchesFromCursor()
74 cursor.moveToPosition(-1); in removeNonStarMatchesFromCursor()
123 cursor.moveToPosition(-1); in matchingNumberStartsWithStar()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationPositionTracker.java59 cursor.moveToPosition(position); in conversationAtPosition()
190 cursor.moveToPosition(foundPosition + 1); in calculatePosition()
211 cursor.moveToPosition(newPosition); in calculatePosition()
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java256 cursor.moveToPosition(cluster.get(0)); in updateWithLocked()
294 cursor.moveToPosition(cluster.get(j)); in updateWithLocked()
328 cursor.moveToPosition(cluster.get(0)); in updateWithLocked()
360 cursor.moveToPosition(cluster.get(j)); in updateWithLocked()
410 cursor.moveToPosition(cluster.get(i)); in getDownloadIds()
/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/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/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/screensavers/PhotoTable/src/com/android/dreams/phototable/
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()
DLocalSource.java78 cursor.moveToPosition(-1); in findAlbums()
144 data.cursor.moveToPosition(-1); in findPosition()
215 cursor.moveToPosition(mLastPosition); in findImages()
DCursorPhotoSource.java46 current.cursor.moveToPosition(current.position); in naturalNext()
64 current.cursor.moveToPosition(current.position); in naturalPrevious()
/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/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java54 cursor.moveToPosition(-1); in FilteringCursorWrapper()
87 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java34 expected.moveToPosition(i); in verifyBuiltCursor()
35 actual.moveToPosition(i); in verifyBuiltCursor()

12345