Searched refs:obtainUpdateOp (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | AdapterHelper.java | 148 UpdateOp newOp = obtainUpdateOp(UpdateOp.REMOVE, tmpStart, tmpCount); in applyRemove() 159 UpdateOp newOp = obtainUpdateOp(UpdateOp.REMOVE, tmpStart, tmpCount); in applyRemove() 175 op = obtainUpdateOp(UpdateOp.REMOVE, tmpStart, tmpCount); in applyRemove() 193 UpdateOp newOp = obtainUpdateOp(UpdateOp.UPDATE, tmpStart, tmpCount); in applyUpdate() 201 UpdateOp newOp = obtainUpdateOp(UpdateOp.UPDATE, tmpStart, tmpCount); in applyUpdate() 212 op = obtainUpdateOp(UpdateOp.UPDATE, tmpStart, tmpCount); in applyUpdate() 275 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStart, tmpCnt); in dispatchAndUpdateViewHolders() 290 UpdateOp tmp = obtainUpdateOp(op.cmd, tmpStart, tmpCnt); in dispatchAndUpdateViewHolders() 493 mPendingUpdates.add(obtainUpdateOp(UpdateOp.UPDATE, positionStart, itemCount)); in onItemRangeChanged() 501 mPendingUpdates.add(obtainUpdateOp(UpdateOp.ADD, positionStart, itemCount)); in onItemRangeInserted() [all …]
|
D | OpReorderer.java | 103 extraRm = mCallback.obtainUpdateOp(REMOVE, moveOp.positionStart + 1, remaining); in swapMoveRemove() 190 extraUp1 = mCallback.obtainUpdateOp(UPDATE, moveOp.positionStart, 1); in swapMoveUpdate() 198 extraUp2 = mCallback.obtainUpdateOp(UPDATE, moveOp.positionStart + 1, remaining); in swapMoveUpdate() 233 UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount); in obtainUpdateOp() method
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | OpReorderTest.java | 47 public UpdateOp obtainUpdateOp(int cmd, int startPosition, int itemCount) {
|