Searched refs:targetPosition (Results 1 – 2 of 2) sorted by relevance
619 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { in scrollToPosition() argument627 final int delta = targetPosition - firstVisibleItemPosition; in scrollToPosition()631 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()634 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()641 mRecyclerView.smoothScrollToPosition(targetPosition); in scrollToPosition()643 mRecyclerView.scrollToPosition(targetPosition); in scrollToPosition()
3269 int targetPosition = 0;3287 targetPosition = originalPosition + i;3295 targetPosition = originalPosition - i;3309 if (targetPosition == 0) {3313 setFirstPositionAndOffsets(targetPosition, offset);4122 void onDrop(View draggedView, int sourcePosition, int targetPosition);