Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/database/
DAbstractCursor.java218 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()
DCursorWrapper.java196 public boolean moveToPosition(int position) { in moveToPosition() method in CursorWrapper
197 return mCursor.moveToPosition(position); in moveToPosition()
DCursor.java100 boolean moveToPosition(int position); in moveToPosition() method
DDatabaseUtils.java272 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()
DMergeCursor.java89 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos); in onMove()
DCursorToBulkCursorAdaptor.java161 if (!mCursor.moveToPosition(position)) { in getWindow()
/frameworks/base/core/java/android/widget/
DAlphabetIndexer.java202 cursor.moveToPosition(pos); in getPositionForSection()
247 cursor.moveToPosition(savedCursorPos); in getPositionForSection()
257 mDataCursor.moveToPosition(position); in getSectionForPosition()
259 mDataCursor.moveToPosition(savedCursorPos); in getSectionForPosition()
DCursorAdapter.java246 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()
DCursorTreeAdapter.java435 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/
DCursorAdapter.java229 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/
DCursorWindowPerfTest.java106 cursor.moveToPosition(start); in loadRowFromCursorWindow()
112 cursor.moveToPosition(start); in loadRowFromCursorWindow()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java222 return mCursor.moveToPosition(position); in moveCursorTo()
250 mCursor.moveToPosition(-1); in setItemPosition()
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java347 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()
DGroupingListAdapter.java438 if (mCursor.moveToPosition(mPositionMetadata.cursorPosition)) { in getItem()
471 mCursor.moveToPosition(mPositionMetadata.cursorPosition); in getView()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java126 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/
DRecipientAlternatesAdapter.java478 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/
DCursorObjectAdapter.java142 if (!mCursor.moveToPosition(index)) { in get()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerDataHelper.java118 cursor.moveToPosition(pos); in query()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java540 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/
DMockCursor.java172 public boolean moveToPosition(int position) { in moveToPosition() method in MockCursor
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java102 assertTrue(c.moveToPosition(position)); in assertRow()
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
DContentPagerDemoActivity.java185 if (!mCursor.moveToPosition(position)) {
/frameworks/support/content/src/main/java/androidx/contentpager/content/
DInMemoryCursor.java121 if (!cursor.moveToPosition(offset + row)) { in InMemoryCursor()
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
DTableInfo.java161 cursor.moveToPosition(position); in readForeignKeys()
197 cursor.moveToPosition(i); in readForeignKeyFieldMappings()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java181 c.moveToPosition(-1); in testCursor1()
186 c.moveToPosition(2); in testCursor1()

12