Home
last modified time | relevance | path

Searched refs:mPendingUpdates (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DAdapterHelper.java58 final ArrayList<UpdateOp> mPendingUpdates = new ArrayList<UpdateOp>(); field in AdapterHelper
83 Collections.addAll(mPendingUpdates, ops); in addUpdateOp()
88 recycleUpdateOpsAndClearList(mPendingUpdates); in reset()
94 mOpReorderer.reorderOps(mPendingUpdates); in preProcess()
95 final int count = mPendingUpdates.size(); in preProcess()
97 UpdateOp op = mPendingUpdates.get(i); in preProcess()
116 mPendingUpdates.clear(); in preProcess()
461 return mPendingUpdates.size() > 0; in hasPendingUpdates()
508 mPendingUpdates.add(obtainUpdateOp(UpdateOp.UPDATE, positionStart, itemCount, payload)); in onItemRangeChanged()
510 return mPendingUpdates.size() == 1; in onItemRangeChanged()
[all …]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DAdapterHelperTest.java290 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testAddCount()
297 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testDeleteCount()
305 assertEquals(0, mAdapterHelper.mPendingUpdates.size()); in testAddProcess()