Lines Matching refs:from
181 LayoutInflater inflater = LayoutInflater.from(context);
339 private boolean move(int from, int to, View v) {
340 if (to == from) {
343 CharSequence fromLabel = mTiles.get(from).state.label;
344 move(from, to, mTiles);
351 from);
354 } else if (from >= mEditIndex) {
402 private <T> void move(int from, int to, List<T> list) {
403 list.add(to, list.remove(from));
404 notifyItemMoved(from, to);
549 int from = viewHolder.getAdapterPosition();
551 return move(from, to, target.itemView);