Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DPagedLayoutManager.java147 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
149 .computeScrollVectorForPosition(targetPosition); in computeScrollVectorForPosition()
DCarLayoutManager.java1474 public CarSmoothScroller(Context context, int targetPosition) { in CarSmoothScroller() argument
1476 mTargetPosition = targetPosition; in CarSmoothScroller()
/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/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java1331 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
1332 if (targetPosition < mLayoutManager.getFirstPosition()) { in computeScrollVectorForPosition()