/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | SnapHelper.java | 31 * {@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 D | PagerSnapHelper.java | 110 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 D | LinearSnapHelper.java | 66 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) { 85 RecyclerView.SmoothScroller.ScrollVectorProvider vectorProvider = 86 (RecyclerView.SmoothScroller.ScrollVectorProvider) layoutManager;
|
H A D | LinearSmoothScroller.java | 27 * {@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 D | RecyclerView.java | 1716 * {@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 D | LinearLayoutManager.java | 43 ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider {
|
H A D | StaggeredGridLayoutManager.java | 53 RecyclerView.SmoothScroller.ScrollVectorProvider {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewSmoothScrollerTest.java | 55 RecyclerView.SmoothScroller mockSmoothScroller = spy(new MockSmoothScroller()); 60 public static class MockSmoothScroller extends RecyclerView.SmoothScroller {
|
H A D | RecyclerViewLayoutTest.java | 3137 RecyclerView.SmoothScroller scroller = new RecyclerView.SmoothScroller() { 4955 RecyclerView.SmoothScroller ss = 5063 RecyclerView.SmoothScroller ss =
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearSmoothScroller.java | 29 * {@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 D | RecyclerView.java | 1529 * {@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 D | LinearLayoutManager.java | 41 ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider {
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | PagedSnapHelper.java | 237 * @return a {@link RecyclerView.SmoothScroller} which will handle the scrolling. 240 protected RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) {
|
H A D | PagedListView.java | 529 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 D | GridLayoutManager.java | 277 * 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) {
|