Searched refs:mPendingUpdates (Results 1 – 2 of 2) sorted by relevance
58 final ArrayList<UpdateOp> mPendingUpdates = new ArrayList<UpdateOp>(); field in AdapterHelper83 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 …]
290 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testAddCount()297 assertEquals(1, mAdapterHelper.mPendingUpdates.size()); in testDeleteCount()305 assertEquals(0, mAdapterHelper.mPendingUpdates.size()); in testAddProcess()