Searched refs:targetPosition (Results 1 – 4 of 4) sorted by relevance
147 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument149 .computeScrollVectorForPosition(targetPosition); in computeScrollVectorForPosition()
1474 public CarSmoothScroller(Context context, int targetPosition) { in CarSmoothScroller() argument1476 mTargetPosition = targetPosition; in CarSmoothScroller()
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()
1331 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()