Home
last modified time | relevance | path

Searched refs:targetPosition (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DFlingSpringAnim.java40 float targetPosition, float startVelocity, float minVisChange, float minValue, in FlingSpringAnim() argument
50 mTargetPosition = targetPosition; in FlingSpringAnim()
68 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument
69 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()
70 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()
71 mTargetPosition = targetPosition; in updatePosition()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java619 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { in scrollToPosition() argument
627 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()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1331 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()