Searched refs:targetPos (Results 1 – 4 of 4) sorted by relevance
76 int targetPos = lastChildPos * 2; in test()77 llm.scrollToPosition(targetPos); in test()81 assertThat(recyclerView.findViewHolderForAdapterPosition(targetPos), in test()85 recyclerView.findViewHolderForAdapterPosition(targetPos).itemView); in test()91 assertThat(recyclerView.findViewHolderForAdapterPosition(targetPos), in test()94 recyclerView.findViewHolderForAdapterPosition(targetPos); in test()
1897 final int targetPos = getPosition(target); in prepareForDrop() local1898 final int dropDirection = myPos < targetPos ? LayoutState.ITEM_DIRECTION_TAIL : in prepareForDrop()1902 scrollToPositionWithOffset(targetPos, in prepareForDrop()1907 scrollToPositionWithOffset(targetPos, in prepareForDrop()1913 scrollToPositionWithOffset(targetPos, mOrientationHelper.getDecoratedStart(target)); in prepareForDrop()1915 scrollToPositionWithOffset(targetPos, in prepareForDrop()
1401 final int targetPos = state.getTargetScrollPosition();1402 if (targetPos != NO_POSITION) {1403 if (mShouldReverseLayout == targetPos < anchorPosition) {
7381 private void scrollToVisible(int targetPos, int boundPos, int duration) {7388 if (targetPos < firstPos || targetPos > lastPos) {7389 Log.w(TAG, "scrollToVisible called with targetPos " + targetPos +7397 final View targetChild = getChildAt(targetPos - firstPos);