Searched refs:mAdapterHelper (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DAdapterHelperTest.java56 private AdapterHelper mAdapterHelper; field in class:AdapterHelperTest
89 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() {
207 mTestAdapter = new TestAdapter(count, mAdapterHelper);
226 mAdapterHelper.preProcess();
236 mAdapterHelper.preProcess();
239 23, mAdapterHelper.findPositionOffset(23));
241 -1, mAdapterHelper.findPositionOffset(24));
243 -1, mAdapterHelper.findPositionOffset(25));
245 -1, mAdapterHelper.findPositionOffset(26));
247 -1, mAdapterHelper
1055 final AdapterHelper mAdapterHelper; field in class:AdapterHelperTest.TestAdapter
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java285 AdapterHelper mAdapterHelper; field in class:RecyclerView
778 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() {
1012 mAdapterHelper.reset();
1589 if (!mAdapterHelper.hasPendingUpdates()) {
1595 if (mAdapterHelper.hasAnyUpdateTypes(AdapterHelper.UpdateOp.UPDATE) && !mAdapterHelper
1601 mAdapterHelper.preProcess();
1607 mAdapterHelper.consumePostponedUpdates();
1613 } else if (mAdapterHelper.hasPendingUpdates()) {
3003 mAdapterHelper
[all...]
H A DGapWorker.java89 if (!view.mAdapterHelper.hasPendingUpdates()) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java321 AdapterHelper mAdapterHelper; field in class:RecyclerView
917 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() {
1153 mAdapterHelper.reset();
1816 if (!mAdapterHelper.hasPendingUpdates()) {
1822 if (mAdapterHelper.hasAnyUpdateTypes(AdapterHelper.UpdateOp.UPDATE) && !mAdapterHelper
1828 mAdapterHelper.preProcess();
1834 mAdapterHelper.consumePostponedUpdates();
1840 } else if (mAdapterHelper.hasPendingUpdates()) {
3322 mAdapterHelper
[all...]
H A DGapWorker.java89 if (!view.mAdapterHelper.hasPendingUpdates()) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseRecyclerViewAnimationsTest.java357 mAdapterHelper.mOnItemProcessedCallback = new Runnable() {
445 mAdapterHelper.findPositionOffset(vh.mPreLayoutPosition), vh.mPosition);
H A DBaseRecyclerViewInstrumentationTest.java75 protected AdapterHelper mAdapterHelper; field in class:BaseRecyclerViewInstrumentationTest
390 mAdapterHelper = recyclerView.mAdapterHelper;
H A DRecyclerViewAnimationsTest.java1515 assertEquals("offset check", 0, mAdapterHelper.findPositionOffset(0));
1516 assertEquals("offset check", 1, mAdapterHelper.findPositionOffset(2));
1517 assertEquals("offset check", 2, mAdapterHelper.findPositionOffset(4));

Completed in 39 milliseconds