/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 89 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/content/ |
D | ThreadSafeCursorWrapper.java | 131 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/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactCursor.java | 109 cursor.moveToPosition(-1); in filter() 185 public boolean moveToPosition(int position) { in moveToPosition() method in SearchContactCursor 188 && cursor.moveToPosition(queryFilteredPositions.get(currentPosition)); in moveToPosition() 194 return moveToPosition(currentPosition); in move() 219 return moveToPosition(0); in moveToFirst() 224 return moveToPosition(getCount() - 1); in moveToLast() 229 return moveToPosition(++currentPosition); in moveToNext() 234 return moveToPosition(--currentPosition); in moveToPrevious()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | GroupMemberPickerFragment.java | 96 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()
|
D | PhoneNumberListAdapter.java | 394 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/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageDataTest.java | 52 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/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageCursor.java | 83 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()
|
D | ConversationCursor.java | 313 if (moveToPosition(pos)) { in doInBackground() 433 } while (super.moveToPosition(++i)); in UnderlyingCursorWrapper() 714 mUnderlyingCursor.moveToPosition(mPosition); in resetCursor() 1196 mUnderlyingCursor.moveToPosition(-1); in moveToFirst() 1202 public boolean moveToPosition(int pos) { in moveToPosition() method in ConversationCursor 1219 mUnderlyingCursor.moveToPosition(mPosition); in moveToPosition() 1237 return moveToPosition(pos); in moveToPosition() 1254 moveToPosition(pos); in recalibratePosition()
|
D | ConversationPagerAdapter.java | 213 if (!cursor.moveToPosition(position)) { in getItem() 424 if (frag != null && cursor.moveToPosition(pos) && frag.isUserVisible()) { in notifyDataSetChanged() 555 if (cursor == null || !cursor.moveToPosition(position)) { in onPageSelected()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 143 cursor.moveToPosition(i); in testSort_names_ascending() 167 cursor.moveToPosition(i); in testSort_names_descending() 190 cursor.moveToPosition(i); in testSort_sizes_ascending() 213 cursor.moveToPosition(i); in testSort_sizes_descending() 252 cursor.moveToPosition(i); in testSort_sizesWithBucketing_ascending() 304 cursor.moveToPosition(i); in testSort_sizesWithBucketing_descending() 415 cursor.moveToPosition(i); in testSort_type_ascending() 447 cursor.moveToPosition(i); in testSort_type_descending()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 335 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/ |
D | GroupMembersFragment.java | 125 super.moveToPosition(i); in FilterCursorWrapper() 150 return moveToPosition(mPos + offset); in move() 155 return moveToPosition(mPos + 1); in moveToNext() 160 return moveToPosition(mPos - 1); in moveToPrevious() 165 return moveToPosition(0); in moveToFirst() 170 return moveToPosition(mCount - 1); in moveToLast() 174 public boolean moveToPosition(int position) { in moveToPosition() method in GroupMembersFragment.FilterCursorWrapper 183 return super.moveToPosition(mPos); in moveToPosition() 395 cursor.moveToPosition(-1); in sendToGroup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | DatabaseIndexingManagerTest.java | 213 cursor.moveToPosition(0); in testInsertRawColumn_rowMatches() 310 cursor.moveToPosition(1); in testAddResourceHeader_rowsMatch() 454 cursor.moveToPosition(0); in testAddResource_checkboxPreference_rowsMatch() 508 cursor.moveToPosition(3); in testAddResource_listPreference_rowsMatch() 565 cursor.moveToPosition(0); in testAddResource_iconAddedFromXml() 593 cursor.moveToPosition(0); in testResourceProvider_rowMatches() 660 cursor.moveToPosition(0); in testResourceProvider_resourceRowMatches() 745 cursor.moveToPosition(0); in testResourceProvider_nonSubsettingIntent() 933 cursor.moveToPosition(0); in testUpdateDatabase_newEligibleData_addedToDatabase() 996 cursor.moveToPosition(0); in testUpdateDataInDatabase_enabledResultsAreNonIndexable_becomeDisabled() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FrequentContactsCursorBuilder.java | 93 mFrequentContactsCursor.moveToPosition(-1); in build() 99 mFrequentContactsCursor.moveToPosition(oldPosition); in build() 108 mAllContactsCursor.moveToPosition(-1); in build() 132 mAllContactsCursor.moveToPosition(oldPosition); in build()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 256 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhoneLookupWithStarPrefix.java | 63 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/ |
D | ConversationPositionTracker.java | 59 cursor.moveToPosition(position); in conversationAtPosition() 190 cursor.moveToPosition(foundPosition + 1); in calculatePosition() 211 cursor.moveToPosition(newPosition); in calculatePosition()
|
D | ConversationViewFragment.java | 759 while (messageCursor.moveToPosition(++pos)) { in renderMessageBodies() 899 cursor.moveToPosition(i); in renderCollapsedHeaders() 1037 while (cursor.moveToPosition(++pos)) { in showExternalResources() 1410 while (cursor.moveToPosition(++pos)) { in getMessageBody() 1434 while (cursor.moveToPosition(++pos)) { in getMessageSender() 1624 while (newCursor.moveToPosition(++pos)) { in getNewIncomingMessagesInfo() 1653 if (!newCursor.moveToPosition(pos) || !oldCursor.moveToPosition(pos)) { in processInPlaceUpdates()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CursorRecyclerAdapter.java | 165 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/ |
D | SearchCursorManager.java | 206 contactsCursor.moveToPosition(position); in getCursor() 218 nearbyPlacesCursor.moveToPosition(position); in getCursor() 230 corpDirectoryCursor.moveToPosition(position); in getCursor()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 126 data.cursor.moveToPosition(-1); in findPosition() 226 cursor.moveToPosition(mLastPosition); in findImages() 302 cursor.moveToPosition(-1); in resolveAlbumIds() 342 cursor.moveToPosition(-1); in findAlbums()
|
D | LocalSource.java | 78 cursor.moveToPosition(-1); in findAlbums() 144 data.cursor.moveToPosition(-1); in findPosition() 215 cursor.moveToPosition(mLastPosition); in findImages()
|
D | CursorPhotoSource.java | 46 current.cursor.moveToPosition(current.position); in naturalNext() 64 current.cursor.moveToPosition(current.position); in naturalPrevious()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | FdnList.java | 221 if (mCursor.moveToPosition(position)) { in editSelected() 237 if (mCursor.moveToPosition(position)) { in deleteSelected() 253 if (mCursor.moveToPosition(position)) { in dialSelected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 180 mTransferCursor.moveToPosition(mContextMenuPosition); in onContextItemSelected() 210 mTransferCursor.moveToPosition(info.position); in onCreateContextMenu() 286 mTransferCursor.moveToPosition(position); in onItemClick()
|