Searched refs:toPos (Results 1 – 3 of 3) sorted by relevance
126 final int toPos = mLayoutManager.getPosition(onChild); in prepareForDropTest() local129 final boolean towardsHead = toPos < fromPos; in prepareForDropTest()152 mTestAdapter.moveInUIThread(fromPos, toPos); in prepareForDropTest()153 mTestAdapter.notifyItemMoved(fromPos, toPos); in prepareForDropTest()159 assertSame(fromChild, mRecyclerView.findViewHolderForAdapterPosition(toPos).itemView); in prepareForDropTest()
246 final int fromPos, toPos; field in ItemTouchHelperTest.MoveRecord255 toPos = to.getAdapterPosition(); in MoveRecord()
1909 final ViewHolder viewHolder, int fromPos, final ViewHolder target, int toPos, int x, in onMoved() argument1922 recyclerView.scrollToPosition(toPos); in onMoved()1926 recyclerView.scrollToPosition(toPos); in onMoved()1933 recyclerView.scrollToPosition(toPos); in onMoved()1937 recyclerView.scrollToPosition(toPos); in onMoved()