Home
last modified time | relevance | path

Searched defs:targetPosition (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListSetSelectionTest.java64 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelection() local
94 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelectionFromTop() local
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchSetSelectionTest.java62 final int targetPosition = mGridView.getAdapter().getCount() / 2; in testSetSelection() local
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
DRoomPagedListActivity.java84 final int targetPosition = layoutManager.findFirstVisibleItemPosition(); in onSaveInstanceState() local
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSnapHelper.java166 int targetPosition = findTargetSnapPosition(layoutManager, velocityX, velocityY); in snapFromFling() local
DLinearLayoutManager.java455 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition()
DRecyclerView.java11500 public void setTargetPosition(int targetPosition) { in setTargetPosition()
11515 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition()
11801 public void jumpTo(int targetPosition) { in jumpTo()
11936 PointF computeScrollVectorForPosition(int targetPosition); in computeScrollVectorForPosition()
/frameworks/base/core/java/com/android/internal/widget/
DLinearSmoothScroller.java351 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition()
DLinearLayoutManager.java443 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition()
DRecyclerView.java10643 public void setTargetPosition(int targetPosition) { in setTargetPosition()
10896 public void jumpTo(int targetPosition) { in jumpTo()
11026 PointF computeScrollVectorForPosition(int targetPosition); in computeScrollVectorForPosition()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DLinearLayoutManagerTest.java1017 final int targetPosition; in keepFocusOnResizeTest() local
DRecyclerViewLayoutTest.java2994 final int targetPosition = visibleChildCount * (removeItem ? 30 : 4); in smoothScrollTest() local
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java620 final int targetPosition = findPositionForTask(child, position, showForAllUsers, in positionChildAt() local
634 private int findPositionForTask(Task task, int targetPosition, boolean showForAllUsers, in findPositionForTask()
DDisplayContent.java3413 final int targetPosition = findPositionForStack(position, child, false /* adding */); in positionChildAt() local
3432 int targetPosition = requestedPosition; in findPositionForStack() local
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSwitchCompat.java1021 final float targetPosition = newCheckedState ? 1 : 0; in animateThumbToCheckedState() local
/frameworks/base/core/java/android/widget/
DSwitch.java1046 final float targetPosition = newCheckedState ? 1 : 0; in animateThumbToCheckedState() local
DGallery.java1294 int targetPosition = mSelectedPosition + direction; in moveDirection() local
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3479 int targetPosition = items.length - 1; in testSmoothscrollerCancelled() local
3489 assertEquals(mGridView.getSelectedPosition(), targetPosition); in testSmoothscrollerCancelled() local
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGridLayoutManager.java369 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition()