Searched refs:intermediatePosition (Results 1 – 1 of 1) sorted by relevance
631 final int intermediatePosition; in scrollToPosition() local634 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()637 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()639 intermediatePosition = -1; in scrollToPosition()641 if (intermediatePosition != -1) { in scrollToPosition()642 mRecyclerView.scrollToPosition(intermediatePosition); in scrollToPosition()