Lines Matching refs:to
9 * Unless required by applicable law or agreed to in writing, software distributed under the
252 // Wait for this to get laid out then set its focus.
371 private boolean move(int from, int to, View v) {
372 if (to == from) {
376 move(from, to, mTiles);
378 if (to >= mEditIndex) {
380 strip(mTiles.get(to)));
385 strip(mTiles.get(to)));
387 to);
389 fromLabel, (to + 1)));
392 strip(mTiles.get(to)));
394 to);
396 fromLabel, (to + 1)));
430 private <T> void move(int from, int to, List<T> list) {
431 list.add(to, list.remove(from));
432 notifyItemMoved(from, to);
588 int to = target.getAdapterPosition();
589 return move(from, to, target.itemView);