Lines Matching refs:to
10 * Unless required by applicable law or agreed to in writing, software
63 // we clone adapter pre-process to run operations to see result
170 public void offsetPositionsForMove(int from, int to) {
172 if (from < to) {
174 end = to;
177 start = to;
186 holder.offsetPosition(to - from, false);
890 int to;
892 to = nextInt(random, mTestAdapter.mItems.size());
893 } while (to == from);
894 mv(from, to);
1017 private void mv(int from, int to) {
1019 log("mv(" + from + "," + to + ");");
1021 mTestAdapter.move(from, to);
1079 public void move(int from, int to) {
1080 mItems.add(to, mItems.remove(from));
1082 AdapterHelper.UpdateOp.MOVE, from, to, null