Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DFlingSpringAnim.java43 float startPosition, float targetPosition, float startVelocity, float minVisChange, in FlingSpringAnim() argument
59 mTargetPosition = targetPosition; in FlingSpringAnim()
81 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument
82 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()
83 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()
84 mTargetPosition = targetPosition; in updatePosition()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java65 public MyScroller(int targetPosition) { in MyScroller() argument
68 mTargetPosition = targetPosition; in MyScroller()
69 setTargetPosition(targetPosition); in MyScroller()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java621 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { in scrollToPosition() argument
629 final int delta = targetPosition - firstVisibleItemPosition; in scrollToPosition()
633 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()
636 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()
643 mRecyclerView.smoothScrollToPosition(targetPosition); in scrollToPosition()
645 mRecyclerView.scrollToPosition(targetPosition); in scrollToPosition()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java1332 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
1333 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()