/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
H A D | CustomLayoutManager.java | 33 public static class LayoutManager extends RecyclerView.LayoutManager { class in class:CustomLayoutManager
|
H A D | PrivateLayoutManager.java | 24 class PrivateLayoutManager extends RecyclerView.LayoutManager {
|
/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 65 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 148 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 155 private boolean snapFromFling(@NonNull RecyclerView.LayoutManager layoutManager, int velocityX, 185 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 202 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 208 protected RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) { 215 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 219 * @deprecated use {@link #createScroller(RecyclerView.LayoutManager)} instead. 223 protected LinearSmoothScroller createSnapScroller(RecyclerView.LayoutManager layoutManage [all...] |
H A D | LinearSnapHelper.java | 37 // Orientation helpers are lazily created per LayoutManager. 45 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) { 64 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX, 88 // the LayoutManager. To overcome this, we ask for a vector from the LayoutManager to 132 public View findSnapView(RecyclerView.LayoutManager layoutManager) { 141 private int distanceToCenter(@NonNull RecyclerView.LayoutManager layoutManager, 157 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 159 * @param helper The {@link OrientationHelper} that is created from the LayoutManager. 165 private int estimateNextPositionDiffForFling(RecyclerView.LayoutManager layoutManage [all...] |
H A D | PagerSnapHelper.java | 42 // Orientation helpers are lazily created per LayoutManager. 50 public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, 71 public View findSnapView(RecyclerView.LayoutManager layoutManager) { 81 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX, 124 protected LinearSmoothScroller createSnapScroller(RecyclerView.LayoutManager layoutManager) { 153 private int distanceToCenter(@NonNull RecyclerView.LayoutManager layoutManager, 169 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 176 private View findCenterView(RecyclerView.LayoutManager layoutManager, 210 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 217 private View findStartView(RecyclerView.LayoutManager layoutManage [all...] |
H A D | ScrollbarHelper.java | 30 View startChild, View endChild, RecyclerView.LayoutManager lm, 61 View startChild, View endChild, RecyclerView.LayoutManager lm, 80 View startChild, View endChild, RecyclerView.LayoutManager lm,
|
H A D | OrientationHelper.java | 25 * It is developed to easily support vertical and horizontal orientations in a LayoutManager but 29 * @see #createHorizontalHelper(RecyclerView.LayoutManager) 30 * @see #createVerticalHelper(RecyclerView.LayoutManager) 36 protected final RecyclerView.LayoutManager mLayoutManager; 46 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { 51 * Returns the {@link RecyclerView.LayoutManager LayoutManager} that 54 public RecyclerView.LayoutManager getLayoutManager() { 70 * Make sure you call {@link #onLayoutComplete()} at the end of your LayoutManager's 71 * {@link RecyclerView.LayoutManager#onLayoutChildre [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | PagedSnapHelper.java | 63 // Orientation helpers are lazily created per LayoutManager. 68 public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, 84 * Finds the view to snap to. The view to snap to is the child of the LayoutManager that is 85 * closest to the start of the RecyclerView. The "start" depends on if the LayoutManager 89 * @param layoutManager The current {@link RecyclerView.LayoutManager} for the attached 100 public View findSnapView(RecyclerView.LayoutManager layoutManager) { 234 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 240 protected RecyclerView.SmoothScroller createScroller(RecyclerView.LayoutManager layoutManager) { 261 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 290 public boolean isAtStart(RecyclerView.LayoutManager layoutManage [all...] |
H A D | PagedListView.java | 71 * on configuration change. The actual saving of state will be controlled by the LayoutManager 72 * of the RecyclerView; this value simply ensures the state is passed on to the LayoutManager. 258 RecyclerView.LayoutManager layoutManager = 524 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 547 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 565 // If the LayoutManager doesn't implement ScrollVectorProvider (the default for 568 Log.w(TAG, "LayoutManager is not a ScrollVectorProvider, can't do snap animation."); 809 private OrientationHelper getOrientationHelper(RecyclerView.LayoutManager layoutManager) { 954 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 1048 RecyclerView.LayoutManager layoutManage [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ScrollbarHelper.java | 31 View startChild, View endChild, RecyclerView.LayoutManager lm, 62 View startChild, View endChild, RecyclerView.LayoutManager lm, 81 View startChild, View endChild, RecyclerView.LayoutManager lm,
|
H A D | OrientationHelper.java | 26 * It is developed to easily support vertical and horizontal orientations in a LayoutManager but 30 * @see #createHorizontalHelper(RecyclerView.LayoutManager) 31 * @see #createVerticalHelper(RecyclerView.LayoutManager) 37 protected final RecyclerView.LayoutManager mLayoutManager; 47 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { 63 * Make sure you call {@link #onLayoutComplete()} at the end of your LayoutManager's 64 * {@link RecyclerView.LayoutManager#onLayoutChildren(RecyclerView.Recycler, 110 * @see RecyclerView.LayoutManager#getTransformedBoundingBox(View, boolean, Rect) 126 * @see RecyclerView.LayoutManager#getTransformedBoundingBox(View, boolean, Rect) 204 * Returns the MeasureSpec mode for the current orientation from the LayoutManager [all...] |
H A D | LinearSmoothScroller.java | 33 * If the {@link RecyclerView.LayoutManager} you are using does not implement the 302 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); 327 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); 352 RecyclerView.LayoutManager layoutManager = getLayoutManager(); 357 Log.w(TAG, "You should override computeScrollVectorForPosition when the LayoutManager"
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | SlowBindRecyclerViewActivity.java | 38 protected RecyclerView.LayoutManager createLayoutManager(Context context) {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvCompatListActivity.java | 34 RecyclerView.LayoutManager layoutManager; 62 protected RecyclerView.LayoutManager createLayoutManager(Context context) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewSmoothScrollerTest.java | 41 RecyclerView.LayoutManager layoutManager = mock(RecyclerView.LayoutManager.class);
|
H A D | LinearLayoutManagerWrapContentTest.java | 146 RecyclerView.LayoutManager createLayoutManager() { 158 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 169 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
|
H A D | StaggeredGridLayoutManagerWrapContentTest.java | 148 RecyclerView.LayoutManager createLayoutManager() { 153 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 158 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
|
H A D | CacheUtils.java | 30 RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry = 31 mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
|
H A D | BaseWrapContentTest.java | 53 RecyclerView.LayoutManager mLayoutManager; 67 abstract RecyclerView.LayoutManager createLayoutManager(); 72 RecyclerView.LayoutManager layoutManager = createLayoutManager(); 151 RecyclerView.LayoutManager layoutManager = scenario.createLayoutManager(); 227 abstract protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager); 229 abstract protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager); 249 public RecyclerView.LayoutManager createLayoutManager() { 454 RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager();
|
H A D | GridLayoutManagerWrapContentTest.java | 63 RecyclerView.LayoutManager createLayoutManager() { 222 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 227 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
|
H A D | ScrollToPositionWithAutoMeasure.java | 63 public void test(final RecyclerView.LayoutManager llm,
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | RecyclerViewParallax.java | 19 import static androidx.recyclerview.widget.RecyclerView.LayoutManager; 227 LayoutManager.Properties properties = mRecylerView.getLayoutManager()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridWidgetPrefetchTest.java | 46 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry 47 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class); 233 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry 234 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
|
H A D | SingleRowTest.java | 173 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry 174 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | BandPredicate.java | 46 RecyclerView.LayoutManager lm = recyclerView.getLayoutManager();
|