Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DOpReorderer.java46 final UpdateOp moveOp = list.get(badMove); in swapMoveOp() local
50 swapMoveRemove(list, badMove, moveOp, next, nextOp); in swapMoveOp()
53 swapMoveAdd(list, badMove, moveOp, next, nextOp); in swapMoveOp()
56 swapMoveUpdate(list, badMove, moveOp, next, nextOp); in swapMoveOp()
61 void swapMoveRemove(List<UpdateOp> list, int movePos, UpdateOp moveOp, in swapMoveRemove() argument
68 if (moveOp.positionStart < moveOp.itemCount) { in swapMoveRemove()
70 if (removeOp.positionStart == moveOp.positionStart in swapMoveRemove()
71 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) { in swapMoveRemove()
76 if (removeOp.positionStart == moveOp.itemCount + 1 in swapMoveRemove()
77 && removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) { in swapMoveRemove()
[all …]