/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridWidgetPrefetchTest.java | 98 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 D | CustomEdgeEffectTest.java | 81 scrollToPosition(0); 88 scrollToPosition(NUM_ITEMS - 1); 100 scrollToPosition(0);
|
H A D | LinearLayoutManagerSavedStateTest.java | 100 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 D | StaggeredGridLayoutManagerSavedStateTest.java | 77 scrollToPosition(adapter().getItemCount() * 3 / 4); 244 public void scrollToPosition(int position) throws Throwable { method in class:StaggeredGridLayoutManagerSavedStateTest.PostLayoutRunnable 245 mTest.scrollToPosition(position);
|
H A D | GridLayoutManagerCacheTest.java | 92 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
|
H A D | LinearLayoutManagerCacheTest.java | 81 mRecyclerView.scrollToPosition(100);
|
H A D | ScrollToPositionWithAutoMeasure.java | 77 llm.scrollToPosition(targetPos);
|
H A D | LinearLayoutManagerPrepareForDropTest.java | 146 scrollToPosition(mTestAdapter.getItemCount() / 2);
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 106 mRecyclerView.scrollToPosition(mConfig.mItemCount / 2);
|
H A D | LinearLayoutManagerBaseConfigSetTest.java | 235 scrollToPosition(500); 269 scrollToPosition(500);
|
H A D | GridLayoutManagerSnappingTest.java | 167 scrollToPosition(mConfig.mItemCount / 2);
|
H A D | LinearLayoutManagerSnappingTest.java | 186 scrollToPosition(mConfig.mItemCount / 2);
|
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 581 scrollToPosition(position); 606 mLayoutManager.scrollToPosition(position); 636 scrollToPosition(target.mPosition); 790 scrollToPosition(pos);
|
H A D | StaggeredGridLayoutManagerSnappingTest.java | 221 scrollToPosition(mConfig.mItemCount / 2);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | BaseLayoutManagerActivity.java | 124 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 D | BaseLayoutManagerActivity.java | 124 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 D | CarDrawerTest.java | 20 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 D | SubheaderListItemTest.java | 20 import static android.support.test.espresso.contrib.RecyclerViewActions.scrollToPosition; 82 onView(withId(R.id.recycler_view)).perform(scrollToPosition(0));
|
H A D | SeekbarListItemTest.java | 21 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 D | PagedListViewTest.java | 26 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 D | PagedListCustomerAdapter.java | 101 mRecyclerView.scrollToPosition(localScrollToPosition);
|
/frameworks/support/car/src/main/java/androidx/car/drawer/ |
H A D | CarDrawerController.java | 186 public void scrollToPosition(int position) { method in class:CarDrawerController 214 scrollToPosition(0);
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/ |
H A D | WearableDrawerLayoutEspressoTest.java | 306 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 D | WearableRecyclerView.java | 126 getLayoutManager().scrollToPosition(focusedPosition);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | BaseGridView.java | 1136 public void scrollToPosition(int position) { method in class:BaseGridView 1142 super.scrollToPosition(position);
|