Searched refs:mAdapterHelper (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
D | AdapterHelperTest.java | 54 AdapterHelper mAdapterHelper; field in AdapterHelperTest 82 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() { in cleanState() 200 mTestAdapter = new TestAdapter(count, mAdapterHelper); in setupBasic() 220 mAdapterHelper.preProcess(); in testChangeAll() 230 mAdapterHelper.preProcess(); in testFindPositionOffsetInPreLayout() 233 23, mAdapterHelper.findPositionOffset(23)); in testFindPositionOffsetInPreLayout() 235 -1, mAdapterHelper.findPositionOffset(24)); in testFindPositionOffsetInPreLayout() 237 -1, mAdapterHelper.findPositionOffset(25)); in testFindPositionOffsetInPreLayout() 239 -1, mAdapterHelper.findPositionOffset(26)); in testFindPositionOffsetInPreLayout() 241 -1, mAdapterHelper.findPositionOffset(27)); in testFindPositionOffsetInPreLayout() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 266 AdapterHelper mAdapterHelper; field in RecyclerView 730 mAdapterHelper = new AdapterHelper(new Callback() { in initAdapterManager() 939 mAdapterHelper.reset(); in setAdapterInternal() 1482 if (!mAdapterHelper.hasPendingUpdates()) { in consumePendingUpdateOperations() 1488 if (mAdapterHelper.hasAnyUpdateTypes(UpdateOp.UPDATE) && !mAdapterHelper in consumePendingUpdateOperations() 1492 mAdapterHelper.preProcess(); in consumePendingUpdateOperations() 1498 mAdapterHelper.consumePostponedUpdates(); in consumePendingUpdateOperations() 1503 } else if (mAdapterHelper.hasPendingUpdates()) { in consumePendingUpdateOperations() 2818 mAdapterHelper.consumeUpdatesInOnePass(); in onMeasure() 3007 mAdapterHelper.reset(); in processAdapterUpdatesAndSetAnimationFlags() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewInstrumentationTest.java | 66 protected AdapterHelper mAdapterHelper; field in BaseRecyclerViewInstrumentationTest 375 mAdapterHelper = recyclerView.mAdapterHelper; in setRecyclerView()
|
D | BaseRecyclerViewAnimationsTest.java | 353 mAdapterHelper.mOnItemProcessedCallback = new Runnable() { in initAdapterManager() 441 mAdapterHelper.findPositionOffset(vh.mPreLayoutPosition), vh.mPosition); in validateAdapterPosition()
|
D | RecyclerViewAnimationsTest.java | 1496 assertEquals("offset check", 0, mAdapterHelper.findPositionOffset(0)); in findPositionOffset() 1497 assertEquals("offset check", 1, mAdapterHelper.findPositionOffset(2)); in findPositionOffset() 1498 assertEquals("offset check", 2, mAdapterHelper.findPositionOffset(4)); in findPositionOffset()
|