Searched refs:targetPosition (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | FlingSpringAnim.java | 40 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/ |
D | ConversationFragment.java | 619 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/ |
D | WearableListView.java | 1331 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument 1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()
|