Lines Matching refs:positionStart
67 if (moveOp.positionStart < moveOp.itemCount) {
69 if (removeOp.positionStart == moveOp.positionStart
70 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) {
75 if (removeOp.positionStart == moveOp.itemCount + 1 &&
76 removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) {
82 if (moveOp.itemCount < removeOp.positionStart) {
83 removeOp.positionStart--;
84 } else if (moveOp.itemCount < removeOp.positionStart + removeOp.itemCount) {
98 if (moveOp.positionStart <= removeOp.positionStart) {
99 removeOp.positionStart++;
100 } else if (moveOp.positionStart < removeOp.positionStart + removeOp.itemCount) {
101 final int remaining = removeOp.positionStart + removeOp.itemCount
102 - moveOp.positionStart;
103 extraRm = mCallback.obtainUpdateOp(REMOVE, moveOp.positionStart + 1, remaining, null);
104 removeOp.itemCount = moveOp.positionStart - removeOp.positionStart;
118 if (moveOp.positionStart > extraRm.positionStart) {
119 moveOp.positionStart -= extraRm.itemCount;
121 if (moveOp.itemCount > extraRm.positionStart) {
125 if (moveOp.positionStart > removeOp.positionStart) {
126 moveOp.positionStart -= removeOp.itemCount;
128 if (moveOp.itemCount > removeOp.positionStart) {
133 if (moveOp.positionStart >= extraRm.positionStart) {
134 moveOp.positionStart -= extraRm.itemCount;
136 if (moveOp.itemCount >= extraRm.positionStart) {
140 if (moveOp.positionStart >= removeOp.positionStart) {
141 moveOp.positionStart -= removeOp.itemCount;
143 if (moveOp.itemCount >= removeOp.positionStart) {
149 if (moveOp.positionStart != moveOp.itemCount) {
163 if (moveOp.itemCount < addOp.positionStart) {
166 if (moveOp.positionStart < addOp.positionStart) {
169 if (addOp.positionStart <= moveOp.positionStart) {
170 moveOp.positionStart += addOp.itemCount;
172 if (addOp.positionStart <= moveOp.itemCount) {
175 addOp.positionStart += offset;
185 if (moveOp.itemCount < updateOp.positionStart) {
186 updateOp.positionStart--;
187 } else if (moveOp.itemCount < updateOp.positionStart + updateOp.itemCount) {
190 extraUp1 = mCallback.obtainUpdateOp(UPDATE, moveOp.positionStart, 1, updateOp.payload);
193 if (moveOp.positionStart <= updateOp.positionStart) {
194 updateOp.positionStart++;
195 } else if (moveOp.positionStart < updateOp.positionStart + updateOp.itemCount) {
196 final int remaining = updateOp.positionStart + updateOp.itemCount
197 - moveOp.positionStart;
198 extraUp2 = mCallback.obtainUpdateOp(UPDATE, moveOp.positionStart + 1, remaining,