Home
last modified time | relevance | path

Searched refs:otherVh (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewFocusRecoveryTest.java654 RecyclerView.ViewHolder otherVh = mRecyclerView.findViewHolderForAdapterPosition(4); in testDoNotRecoverViaPositionOnNewDataSet() local
657 assertFocus("should not recover focus if data set is badly invalid", otherVh, false); in testDoNotRecoverViaPositionOnNewDataSet()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java791 final ViewHolder otherVh = mRecyclerView.getChildViewHolder(other); in findSwapTargets() local
792 if (mCallback.canDropOver(mRecyclerView, mSelected, otherVh)) { in findSwapTargets()
807 mSwapTargets.add(pos, otherVh); in findSwapTargets()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java814 final ViewHolder otherVh = mRecyclerView.getChildViewHolder(other); in findSwapTargets() local
815 if (mCallback.canDropOver(mRecyclerView, mSelected, otherVh)) { in findSwapTargets()
830 mSwapTargets.add(pos, otherVh); in findSwapTargets()