Searched refs:SmoothScroller (Results 1 - 15 of 15) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DSnapHelper.java31 * {@link RecyclerView.LayoutManager} must implement the {@link RecyclerView.SmoothScroller.ScrollVectorProvider} interface or
157 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
161 RecyclerView.SmoothScroller smoothScroller = createScroller(layoutManager);
205 * @return a {@link RecyclerView.SmoothScroller} which will handle the scrolling.
208 protected RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) {
224 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
H A DPagerSnapHelper.java110 if ((layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
111 RecyclerView.SmoothScroller.ScrollVectorProvider vectorProvider =
112 (RecyclerView.SmoothScroller.ScrollVectorProvider) layoutManager;
125 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
H A DLinearSnapHelper.java66 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
85 RecyclerView.SmoothScroller.ScrollVectorProvider vectorProvider =
86 (RecyclerView.SmoothScroller.ScrollVectorProvider) layoutManager;
H A DLinearSmoothScroller.java27 * {@link RecyclerView.SmoothScroller} implementation which uses a {@link LinearInterpolator} until
32 * {@link RecyclerView.SmoothScroller.ScrollVectorProvider} interface, then you must override the
36 public class LinearSmoothScroller extends RecyclerView.SmoothScroller {
286 + " constants defined in SmoothScroller, starting with SNAP_");
H A DRecyclerView.java1716 * {@link SmoothScroller}.
5002 final SmoothScroller smoothScroller = mLayout.mSmoothScroller;
7358 SmoothScroller mSmoothScroller;
8130 * <p>To support smooth scrolling, override this method, create your {@link SmoothScroller}
8131 * instance and call {@link #startSmoothScroll(SmoothScroller)}.
8143 * Starts a smooth scroll using the provided {@link SmoothScroller}.
8145 * <p>Each instance of SmoothScroller is intended to only be used once. Provide a new
8146 * SmoothScroller instance each time this method is called.
8152 public void startSmoothScroll(SmoothScroller smoothScroller) {
10004 private void onSmoothScrollerStopped(SmoothScroller smoothScrolle
11443 public abstract static class SmoothScroller { class in class:RecyclerView
11461 public SmoothScroller() { method in class:RecyclerView.SmoothScroller
[all...]
H A DLinearLayoutManager.java43 ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider {
H A DStaggeredGridLayoutManager.java53 RecyclerView.SmoothScroller.ScrollVectorProvider {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewSmoothScrollerTest.java55 RecyclerView.SmoothScroller mockSmoothScroller = spy(new MockSmoothScroller());
60 public static class MockSmoothScroller extends RecyclerView.SmoothScroller {
H A DRecyclerViewLayoutTest.java3137 RecyclerView.SmoothScroller scroller = new RecyclerView.SmoothScroller() {
4955 RecyclerView.SmoothScroller ss =
5063 RecyclerView.SmoothScroller ss =
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java29 * {@link RecyclerView.SmoothScroller} implementation which uses a {@link LinearInterpolator} until
34 * {@link RecyclerView.SmoothScroller.ScrollVectorProvider} interface, then you must override the
38 public class LinearSmoothScroller extends RecyclerView.SmoothScroller {
285 + " constants defined in SmoothScroller, starting with SNAP_");
H A DRecyclerView.java1529 * {@link SmoothScroller}.
4653 final SmoothScroller smoothScroller = mLayout.mSmoothScroller;
6813 SmoothScroller mSmoothScroller;
7566 * <p>To support smooth scrolling, override this method, create your {@link SmoothScroller}
7567 * instance and call {@link #startSmoothScroll(SmoothScroller)}.
7579 * <p>Starts a smooth scroll using the provided SmoothScroller.</p>
7583 public void startSmoothScroll(SmoothScroller smoothScroller) {
9280 private void onSmoothScrollerStopped(SmoothScroller smoothScroller) {
10597 public abstract static class SmoothScroller { class in class:RecyclerView
10613 public SmoothScroller() { method in class:RecyclerView.SmoothScroller
[all...]
H A DLinearLayoutManager.java41 ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider {
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSnapHelper.java237 * @return a {@link RecyclerView.SmoothScroller} which will handle the scrolling.
240 protected RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) {
H A DPagedListView.java529 RecyclerView.SmoothScroller smoothScroller = mSnapHelper.createScroller(layoutManager);
554 if ((layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) {
555 PointF vector = ((RecyclerView.SmoothScroller.ScrollVectorProvider) layoutManager)
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java277 * The SmoothScroller that remembers pending DPAD keys and consume pending keys
574 * Current running SmoothScroller.
2751 * when start a new SmoothScroller or scroll to a different location, dont need
2752 * current SmoothScroller.onStopInternal() doing the scroll work.
2761 public void startSmoothScroll(RecyclerView.SmoothScroller smoothScroller) {

Completed in 110 milliseconds