Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOpReorderer.java45 final UpdateOp moveOp = list.get(badMove); in swapMoveOp() local
49 swapMoveRemove(list, badMove, moveOp, next, nextOp); in swapMoveOp()
52 swapMoveAdd(list, badMove, moveOp, next, nextOp); in swapMoveOp()
55 swapMoveUpdate(list, badMove, moveOp, next, nextOp); in swapMoveOp()
60 void swapMoveRemove(List<UpdateOp> list, int movePos, UpdateOp moveOp, in swapMoveRemove() argument
67 if (moveOp.positionStart < moveOp.itemCount) { in swapMoveRemove()
69 if (removeOp.positionStart == moveOp.positionStart in swapMoveRemove()
70 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) { in swapMoveRemove()
75 if (removeOp.positionStart == moveOp.itemCount + 1 && in swapMoveRemove()
76 removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) { in swapMoveRemove()
[all …]