Searched refs:scrollToPosition (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetPrefetchTest.java98 gridView.scrollToPosition(5);
150 gridView.scrollToPosition(5);
259 view.scrollToPosition(2);
266 view.scrollToPosition(0);
270 view.scrollToPosition(98);
278 view.scrollToPosition(50);
310 offsetChild.scrollToPosition(10);
313 gridView.scrollToPosition(2);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DCustomEdgeEffectTest.java81 scrollToPosition(0);
88 scrollToPosition(NUM_ITEMS - 1);
100 scrollToPosition(0);
H A DLinearLayoutManagerSavedStateTest.java100 scrollToPosition(testAdapter().getItemCount() * 3 / 4);
220 layoutManager().scrollToPosition(position);
363 void scrollToPosition(final int position) { method in class:LinearLayoutManagerSavedStateTest.PostLayoutRunnable
367 layoutManager().scrollToPosition(position);
H A DStaggeredGridLayoutManagerSavedStateTest.java77 scrollToPosition(adapter().getItemCount() * 3 / 4);
244 public void scrollToPosition(int position) throws Throwable { method in class:StaggeredGridLayoutManagerSavedStateTest.PostLayoutRunnable
245 mTest.scrollToPosition(position);
H A DGridLayoutManagerCacheTest.java92 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
H A DLinearLayoutManagerCacheTest.java81 mRecyclerView.scrollToPosition(100);
H A DScrollToPositionWithAutoMeasure.java77 llm.scrollToPosition(targetPos);
H A DLinearLayoutManagerPrepareForDropTest.java146 scrollToPosition(mTestAdapter.getItemCount() / 2);
H A DStaggeredGridLayoutManagerCacheTest.java106 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
H A DLinearLayoutManagerBaseConfigSetTest.java235 scrollToPosition(500);
269 scrollToPosition(500);
H A DGridLayoutManagerSnappingTest.java167 scrollToPosition(mConfig.mItemCount / 2);
H A DLinearLayoutManagerSnappingTest.java186 scrollToPosition(mConfig.mItemCount / 2);
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java581 scrollToPosition(position);
606 mLayoutManager.scrollToPosition(position);
636 scrollToPosition(target.mPosition);
790 scrollToPosition(pos);
H A DStaggeredGridLayoutManagerSnappingTest.java221 scrollToPosition(mConfig.mItemCount / 2);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java124 scrollToPosition(smooth, spinner.getSelectedItemPosition());
159 protected void scrollToPosition(boolean smooth, int position) { method in class:BaseLayoutManagerActivity
163 mRecyclerView.scrollToPosition(position);
168 scrollToPosition(smooth, position);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java124 scrollToPosition(smooth, spinner.getSelectedItemPosition());
159 protected void scrollToPosition(boolean smooth, int position) { method in class:BaseLayoutManagerActivity
163 mRecyclerView.scrollToPosition(position);
168 scrollToPosition(smooth, position);
/frameworks/support/car/src/androidTest/java/androidx/car/drawer/
H A DCarDrawerTest.java20 import static android.support.test.espresso.contrib.RecyclerViewActions.scrollToPosition;
110 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
H A DSubheaderListItemTest.java20 import static android.support.test.espresso.contrib.RecyclerViewActions.scrollToPosition;
82 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
H A DSeekbarListItemTest.java21 import static android.support.test.espresso.contrib.RecyclerViewActions.scrollToPosition;
363 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
399 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
H A DPagedListViewTest.java26 import static android.support.test.espresso.contrib.RecyclerViewActions.scrollToPosition;
213 onView(withId(R.id.recycler_view)).perform(scrollToPosition(ITEMS_PER_PAGE));
532 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
573 // Scrolling from top, scrollToPosition() either aligns the pos-1 item to bottom,
576 onView(withId(R.id.recycler_view)).perform(scrollToPosition(longItemPos - 1));
636 onView(withId(R.id.recycler_view)).perform(scrollToPosition(longItemPos + 1));
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
H A DPagedListCustomerAdapter.java101 mRecyclerView.scrollToPosition(localScrollToPosition);
/frameworks/support/car/src/main/java/androidx/car/drawer/
H A DCarDrawerController.java186 public void scrollToPosition(int position) { method in class:CarDrawerController
214 scrollToPosition(0);
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
H A DWearableDrawerLayoutEspressoTest.java306 scrollToPosition(recyclerView, 5);
467 layoutManager.scrollToPosition(initialSize);
477 private void scrollToPosition(final RecyclerView recyclerView, final int position) { method in class:WearableDrawerLayoutEspressoTest
481 recyclerView.scrollToPosition(position);
/frameworks/support/wear/src/main/java/androidx/wear/widget/
H A DWearableRecyclerView.java126 getLayoutManager().scrollToPosition(focusedPosition);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DBaseGridView.java1136 public void scrollToPosition(int position) { method in class:BaseGridView
1142 super.scrollToPosition(position);

Completed in 142 milliseconds

12