Searched defs:targetPosition (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java346 * @param targetPosition the position to which the scroller is scrolling
351 public PointF computeScrollVectorForPosition(int targetPosition) { argument
355 .computeScrollVectorForPosition(targetPosition);
H A DLinearLayoutManager.java443 public PointF computeScrollVectorForPosition(int targetPosition) { argument
448 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1;
H A DRecyclerView.java10643 public void setTargetPosition(int targetPosition) { argument
10644 mTargetPosition = targetPosition;
10894 * @param targetPosition The target item position to scroll to using instant scrolling.
10896 public void jumpTo(int targetPosition) { argument
10897 mJumpToPosition = targetPosition;
11022 * @param targetPosition the target position to which the returned vector should point
11026 PointF computeScrollVectorForPosition(int targetPosition); argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskStack.java620 final int targetPosition = findPositionForTask(child, position, showForAllUsers,
622 super.positionChildAt(targetPosition, child, includingParents);
628 final int toTop = targetPosition == mChildren.size() - 1 ? 1 : 0;
629 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, child.mTaskId, toTop, targetPosition);
634 private int findPositionForTask(Task task, int targetPosition, boolean showForAllUsers, argument
650 if (targetPosition == POSITION_BOTTOM && minPosition == 0) {
652 } else if (targetPosition == POSITION_TOP
657 return Math.min(Math.max(targetPosition, minPosition), maxPosition);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DLinearLayoutManager.java455 public PointF computeScrollVectorForPosition(int targetPosition) { argument
460 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1;
H A DStaggeredGridLayoutManager.java2053 public PointF computeScrollVectorForPosition(int targetPosition) { argument
2054 final int direction = calculateScrollDirectionForPosition(targetPosition);
H A DRecyclerView.java11500 public void setTargetPosition(int targetPosition) { argument
11501 mTargetPosition = targetPosition;
11510 * @param targetPosition the position to which the scroller is scrolling
11515 public PointF computeScrollVectorForPosition(int targetPosition) { argument
11519 .computeScrollVectorForPosition(targetPosition);
11799 * @param targetPosition The target item position to scroll to using instant scrolling.
11801 public void jumpTo(int targetPosition) { argument
11802 mJumpToPosition = targetPosition;
11931 * @param targetPosition the target position to which the returned vector should point
11936 PointF computeScrollVectorForPosition(int targetPosition); argument
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java282 // consumePendingMovesXXX() sets real targetPosition.
369 public PointF computeScrollVectorForPosition(int targetPosition) { argument
2726 public PointF computeScrollVectorForPosition(int targetPosition) {
2734 ? targetPosition > firstChildPos
2735 : targetPosition < firstChildPos;

Completed in 75 milliseconds