Home
last modified time | relevance | path

Searched refs:findPositionOffset (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java226 23, mAdapterHelper.findPositionOffset(23)); in testFindPositionOffsetInPreLayout()
228 -1, mAdapterHelper.findPositionOffset(24)); in testFindPositionOffsetInPreLayout()
230 -1, mAdapterHelper.findPositionOffset(25)); in testFindPositionOffsetInPreLayout()
232 -1, mAdapterHelper.findPositionOffset(26)); in testFindPositionOffsetInPreLayout()
234 -1, mAdapterHelper.findPositionOffset(27)); in testFindPositionOffsetInPreLayout()
236 24, mAdapterHelper.findPositionOffset(28)); in testFindPositionOffsetInPreLayout()
238 25, mAdapterHelper.findPositionOffset(29)); in testFindPositionOffsetInPreLayout()
853 + endIndex, endIndex, mAdapterHelper.findPositionOffset(preLayoutIndex)); in preProcess()
DRecyclerViewAnimationsTest.java693 assertEquals("offset check", 0, mAdapterHelper.findPositionOffset(0)); in testFindPositionOffset()
694 assertEquals("offset check", 1, mAdapterHelper.findPositionOffset(2)); in testFindPositionOffset()
695 assertEquals("offset check", 2, mAdapterHelper.findPositionOffset(4)); in testFindPositionOffset()
1226 mAdapterHelper.findPositionOffset(vh.mPreLayoutPosition), vh.mPosition); in validateAdapterPosition()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DAdapterHelper.java408 if (findPositionOffset(op.itemCount, i + 1) == position) { in canFindInPreLayout()
415 if (findPositionOffset(pos, i + 1) == position) { in canFindInPreLayout()
456 int findPositionOffset(int position) { in findPositionOffset() method in AdapterHelper
457 return findPositionOffset(position, 0); in findPositionOffset()
460 int findPositionOffset(int position, int firstPostponedItem) { in findPositionOffset() method in AdapterHelper
DRecyclerView.java3536 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in bindViewToPosition()
3591 return mAdapterHelper.findPositionOffset(position); in convertPreLayoutPositionToPostLayout()
3649 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in getViewForPosition()
3716 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in getViewForPosition()
3988 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in getChangedScrapViewForPosition()