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 startVelocityPxPerS, in FlingSpringAnim() argument
57 mTargetPosition = targetPosition; in FlingSpringAnim()
79 public void updatePosition(float startPosition, float targetPosition) { in updatePosition() argument
80 mFlingAnim.setMinValue(Math.min(startPosition, targetPosition)) in updatePosition()
81 .setMaxValue(Math.max(startPosition, targetPosition)); in updatePosition()
82 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.java622 private void scrollToPosition(final int targetPosition, final boolean smoothScroll) { in scrollToPosition() argument
630 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()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarView.java843 final float targetPosition = currentWidth - collapsedWidth + collapsedArrowPosition; in updateBubblesLayoutProperties() local
845 targetPosition + widthState * (expandedArrowPosition - targetPosition); in updateBubblesLayoutProperties()