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
81 Collections.addAll(mPendingUpdates, ops); in addUpdateOp()
86 recycleUpdateOpsAndClearList(mPendingUpdates); in reset()
91 mOpReorderer.reorderOps(mPendingUpdates); in preProcess()
92 final int count = mPendingUpdates.size(); in preProcess()
94 UpdateOp op = mPendingUpdates.get(i); in preProcess()
113 mPendingUpdates.clear(); in preProcess()
453 return mPendingUpdates.size() > 0; in hasPendingUpdates()
493 mPendingUpdates.add(obtainUpdateOp(UpdateOp.UPDATE, positionStart, itemCount)); in onItemRangeChanged()
494 return mPendingUpdates.size() == 1; in onItemRangeChanged()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java267 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testAddCount()
273 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testDeleteCount()
280 assertEquals(0, mAdapterHelper.mPendingUpdates.size()); in testAddProcess()