Searched defs:scrollToPosition (Results 1 - 15 of 15) sorted by relevance

/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/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
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 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 DBaseRecyclerViewInstrumentationTest.java441 void scrollToPosition(final int position) throws Throwable { method in class:BaseRecyclerViewInstrumentationTest
445 mRecyclerView.getLayoutManager().scrollToPosition(position);
/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/leanback/src/main/java/androidx/leanback/widget/
H A DBaseGridView.java1136 public void scrollToPosition(int position) { method in class:BaseGridView
1142 super.scrollToPosition(position);
H A DGridLayoutManager.java2617 public void scrollToPosition(int position) { method in class:GridLayoutManager
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java989 public void scrollToPosition(int position) { method in class:LinearLayoutManager
1009 * If you are just trying to make a position visible, use {@link #scrollToPosition(int)}.
1015 * @see #scrollToPosition(int)
H A DRecyclerView.java1498 * {@link com.android.internal.widget.RecyclerView.LayoutManager#scrollToPosition(int)}
1500 * @see com.android.internal.widget.RecyclerView.LayoutManager#scrollToPosition(int)
1502 public void scrollToPosition(int position) { method in class:RecyclerView
1512 mLayout.scrollToPosition(position);
1520 mLayout.scrollToPosition(position);
1554 + "Use scrollToPosition instead");
1888 * {@link #scrollBy(int, int)}, {@link #scrollToPosition(int)} and
1895 * LayoutManager#scrollToPosition(int)}, {@link LayoutManager#smoothScrollToPosition(
7558 public void scrollToPosition(int position) { method in class:RecyclerView.LayoutManager
7560 Log.e(TAG, "You MUST implement scrollToPosition
[all...]
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedListView.java523 public void scrollToPosition(int position) { method in class:PagedListView
534 // Sometimes #scrollToPosition doesn't change the scroll state so we need to make sure
574 layoutManager.scrollToPosition(startPosition);
580 post(() -> scrollToPosition(position));
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DLinearLayoutManager.java1016 public void scrollToPosition(int position) { method in class:LinearLayoutManager
1036 * If you are just trying to make a position visible, use {@link #scrollToPosition(int)}.
1042 * @see #scrollToPosition(int)
H A DStaggeredGridLayoutManager.java2078 public void scrollToPosition(int position) { method in class:StaggeredGridLayoutManager
2092 * If you are just trying to make a position visible, use {@link #scrollToPosition(int)}.
2098 * @see #scrollToPosition(int)
H A DRecyclerView.java1685 * {@link RecyclerView.LayoutManager#scrollToPosition(int)}
1687 * @see RecyclerView.LayoutManager#scrollToPosition(int)
1689 public void scrollToPosition(int position) { method in class:RecyclerView
1699 mLayout.scrollToPosition(position);
1707 mLayout.scrollToPosition(position);
1741 + "Use scrollToPosition instead");
2128 * {@link #scrollBy(int, int)}, {@link #scrollToPosition(int)} and
2135 * LayoutManager#scrollToPosition(int)}, {@link LayoutManager#smoothScrollToPosition(
8122 public void scrollToPosition(int position) { method in class:RecyclerView.LayoutManager
8124 Log.e(TAG, "You MUST implement scrollToPosition
[all...]

Completed in 219 milliseconds