Searched refs:targetPosition (Results 1 – 4 of 4) sorted by relevance
43 float startPosition, float targetPosition, float startVelocityPxPerS, in FlingSpringAnim() argument57 mTargetPosition = targetPosition; in FlingSpringAnim()79 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument80 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()81 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()82 mTargetPosition = targetPosition; in updatePosition()
65 public MyScroller(int targetPosition) { in MyScroller() argument68 mTargetPosition = targetPosition; in MyScroller()69 setTargetPosition(targetPosition); in MyScroller()
622 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { in scrollToPosition() argument630 final int delta = targetPosition - firstVisibleItemPosition; in scrollToPosition()634 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()637 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()644 mRecyclerView.smoothScrollToPosition(targetPosition); in scrollToPosition()646 mRecyclerView.scrollToPosition(targetPosition); in scrollToPosition()
843 final float targetPosition = currentWidth - collapsedWidth + collapsedArrowPosition; in updateBubblesLayoutProperties() local845 targetPosition + widthState * (expandedArrowPosition - targetPosition); in updateBubblesLayoutProperties()