Home
last modified time | relevance | path

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

12

/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.java253 mCursor.moveToPosition(position); in getItem()
265 if (mCursor.moveToPosition(position)) { in getItemId()
287 if (!mCursor.moveToPosition(position)) { in getView()
304 mCursor.moveToPosition(position); in getDropDownView()
DCursorTreeAdapter.java435 if (mCursor.moveToPosition(position)) { in getId()
446 if (mDataValid && (mCursor != null) && mCursor.moveToPosition(position)) { in moveTo()
/frameworks/base/core/java/android/database/
DAbstractCursor.java250 public final boolean moveToPosition(int position) { in moveToPosition() method in AbstractCursor
286 return moveToPosition(mPos + offset); in move()
291 return moveToPosition(0); in moveToFirst()
296 return moveToPosition(getCount() - 1); in moveToLast()
301 return moveToPosition(mPos + 1); in moveToNext()
306 return moveToPosition(mPos - 1); in moveToPrevious()
DCursorWrapper.java201 public boolean moveToPosition(int position) { in moveToPosition() method in CursorWrapper
202 return mCursor.moveToPosition(position); in moveToPosition()
DCursor.java120 boolean moveToPosition(@IntRange(from = -1) int position); in moveToPosition() method
DDatabaseUtils.java459 if (cursor.moveToPosition(position)) { in cursorFillWindow()
503 cursor.moveToPosition(oldPos); in cursorFillWindow()
685 cursor.moveToPosition(-1); in dumpCursor()
689 cursor.moveToPosition(startPos); in dumpCursor()
706 cursor.moveToPosition(-1); in dumpCursor()
710 cursor.moveToPosition(startPos); in dumpCursor()
DMergeCursor.java90 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos); in onMove()
DCursorToBulkCursorAdaptor.java177 if (!mCursor.moveToPosition(position)) { in getWindow()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DCursorWindowPerfTest.java107 cursor.moveToPosition(start); in loadRowFromCursorWindow()
113 cursor.moveToPosition(start); in loadRowFromCursorWindow()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabContactSyncController.java170 cursor.moveToPosition(-1); in handlePhoneNumberDeletedCase()
238 contactCursor.moveToPosition(-1); in handlePhoneNumberInsertedCase()
300 cursor.moveToPosition(position); in searchDataIdIndex()
317 cursor.moveToPosition(-1); in findMaxTimestamp()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java222 return mCursor.moveToPosition(position); in moveCursorTo()
250 mCursor.moveToPosition(-1); in setItemPosition()
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/
DCursorSubject.java71 check("moveToPosition").that(mActual.moveToPosition(position)).isTrue(); in atRow()
138 mActual.moveToPosition(-1); in asLists()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java109 void moveToPosition(PointF position) { in moveToPosition() method in MenuAnimationController
110 moveToPosition(position, /* animateMovement = */ false); in moveToPosition()
114 void moveToPosition(PointF position, boolean animateMovement) { in moveToPosition() method in MenuAnimationController
190 moveToPosition(position); in moveAndPersistPosition()
DMenuView.java220 mMenuAnimationController.moveToPosition(position, /* animateMovement = */ true); in onPositionChanged()
223 mMenuAnimationController.moveToPosition(position); in onPositionChanged()
/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.java130 mCursor.moveToPosition(mCurRowNumCache[cache_entry][which]); in onMove()
141 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/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.java174 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/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java178 c.moveToPosition(-1); in testCursor1()
183 c.moveToPosition(2); in testCursor1()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java66 if (!cursor.moveToPosition(position)) { in bindView()

12