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