/frameworks/base/core/java/android/database/ |
D | AbstractCursor.java | 218 public final boolean moveToPosition(int position) { in moveToPosition() method in AbstractCursor 254 return moveToPosition(mPos + offset); in move() 259 return moveToPosition(0); in moveToFirst() 264 return moveToPosition(getCount() - 1); in moveToLast() 269 return moveToPosition(mPos + 1); in moveToNext() 274 return moveToPosition(mPos - 1); in moveToPrevious()
|
D | CursorWrapper.java | 196 public boolean moveToPosition(int position) { in moveToPosition() method in CursorWrapper 197 return mCursor.moveToPosition(position); in moveToPosition()
|
D | Cursor.java | 100 boolean moveToPosition(int position); in moveToPosition() method
|
D | DatabaseUtils.java | 272 if (cursor.moveToPosition(position)) { in cursorFillWindow() 316 cursor.moveToPosition(oldPos); in cursorFillWindow() 484 cursor.moveToPosition(-1); in dumpCursor() 488 cursor.moveToPosition(startPos); in dumpCursor() 505 cursor.moveToPosition(-1); in dumpCursor() 509 cursor.moveToPosition(startPos); in dumpCursor()
|
D | MergeCursor.java | 89 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos); in onMove()
|
D | CursorToBulkCursorAdaptor.java | 161 if (!mCursor.moveToPosition(position)) { in getWindow()
|
/frameworks/base/core/java/android/widget/ |
D | AlphabetIndexer.java | 202 cursor.moveToPosition(pos); in getPositionForSection() 247 cursor.moveToPosition(savedCursorPos); in getPositionForSection() 257 mDataCursor.moveToPosition(position); in getSectionForPosition() 259 mDataCursor.moveToPosition(savedCursorPos); in getSectionForPosition()
|
D | CursorAdapter.java | 246 mCursor.moveToPosition(position); in getItem() 258 if (mCursor.moveToPosition(position)) { in getItemId() 280 if (!mCursor.moveToPosition(position)) { in getView() 297 mCursor.moveToPosition(position); in getDropDownView()
|
D | CursorTreeAdapter.java | 435 if (mCursor.moveToPosition(position)) { in getId() 446 if (mDataValid && (mCursor != null) && mCursor.moveToPosition(position)) { in moveTo()
|
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/ |
D | CursorAdapter.java | 229 mCursor.moveToPosition(position); in getItem() 242 if (mCursor.moveToPosition(position)) { in getItemId() 265 if (!mCursor.moveToPosition(position)) { in getView() 281 mCursor.moveToPosition(position); in getDropDownView()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | CursorWindowPerfTest.java | 106 cursor.moveToPosition(start); in loadRowFromCursorWindow() 112 cursor.moveToPosition(start); in loadRowFromCursorWindow()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseCursorPagerAdapter.java | 222 return mCursor.moveToPosition(position); in moveCursorTo() 250 mCursor.moveToPosition(-1); in setItemPosition()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 347 if (!mPartitions.get(i).cursor.moveToPosition(offset)) { in getView() 436 if (cursor == null || cursor.isClosed() || !cursor.moveToPosition(offset)) { in getItem() 468 if (cursor == null || cursor.isClosed() || !cursor.moveToPosition(offset)) { in getItemId()
|
D | GroupingListAdapter.java | 438 if (mCursor.moveToPosition(mPositionMetadata.cursorPosition)) { in getItem() 471 mCursor.moveToPosition(mPositionMetadata.cursorPosition); in getView()
|
/frameworks/base/core/java/com/android/internal/database/ |
D | SortCursor.java | 126 mCursor.moveToPosition(mCurRowNumCache[cache_entry][which]); in onMove() 137 mCursors[i].moveToPosition(mCurRowNumCache[mLastCacheHit][i]); in onMove()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapter.java | 478 original.moveToPosition(-1); in removeUndesiredDestinations() 492 original.moveToPosition(-1); in removeUndesiredDestinations() 564 if (c.moveToPosition(position)) { in getItemId() 572 c.moveToPosition(position); in getRecipientEntry() 590 cursor.moveToPosition(position); in getView()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | CursorObjectAdapter.java | 142 if (!mCursor.moveToPosition(index)) { in get()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerDataHelper.java | 118 cursor.moveToPosition(pos); in query()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 540 cursor.moveToPosition(-1); in removeDuplicatesAndTruncate() 555 cursor.moveToPosition(-1); in hasDuplicates() 575 cursor.moveToPosition(-1); in isDuplicate()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockCursor.java | 172 public boolean moveToPosition(int position) { in moveToPosition() method in MockCursor
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapterTest.java | 102 assertTrue(c.moveToPosition(position)); in assertRow()
|
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/ |
D | ContentPagerDemoActivity.java | 185 if (!mCursor.moveToPosition(position)) {
|
/frameworks/support/content/src/main/java/androidx/contentpager/content/ |
D | InMemoryCursor.java | 121 if (!cursor.moveToPosition(offset + row)) { in InMemoryCursor()
|
/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
D | TableInfo.java | 161 cursor.moveToPosition(position); in readForeignKeys() 197 cursor.moveToPosition(i); in readForeignKeyFieldMappings()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseCursorTest.java | 181 c.moveToPosition(-1); in testCursor1() 186 c.moveToPosition(2); in testCursor1()
|