Home
last modified time | relevance | path

Searched defs:layoutManager (Results 1 – 25 of 30) sorted by relevance

12

/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewKeyEventTest.kt120 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, false) in vertical_pageDown() constant
135 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, false) in vertical_pageUp() constant
150 val layoutManager = LinearLayoutManager(context, RecyclerView.HORIZONTAL, false) in horizontal_pageUp() constant
165 val layoutManager = LinearLayoutManager(context, RecyclerView.HORIZONTAL, false) in horizontal_pageDown() constant
180 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, false) in vertical_home() constant
198 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, false) in vertical_end() constant
216 val layoutManager = LinearLayoutManager(context, RecyclerView.HORIZONTAL, false) in horizontal_home() constant
234 val layoutManager = LinearLayoutManager(context, RecyclerView.HORIZONTAL, false) in horizontal_end() constant
252 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, true) in vertical_pageDown_reversed() constant
267 val layoutManager = LinearLayoutManager(context, RecyclerView.VERTICAL, true) in vertical_pageUp_reversed() constant
[all …]
DRecyclerViewOnGenericMotionEventTest.java72 MockLayoutManager layoutManager = new MockLayoutManager(true, true); in rotaryEncoderVerticalScroll_nonLowResDevice() local
90 MockLayoutManager layoutManager = new MockLayoutManager(true, false); in rotaryEncoderHorizontalScroll_nonLowResDevice() local
106 MockLayoutManager layoutManager = new MockLayoutManager(true, true); in rotaryEncoderVerticalScroll_lowResDevice() local
119 MockLayoutManager layoutManager = new MockLayoutManager(true, true); in rotaryEncoderVerticalScroll_lowResDevice_backToBackScrollEvents() local
142 MockLayoutManager layoutManager = new MockLayoutManager(true, false); in rotaryEncoderHorizontalScroll_lowResDevice() local
155 MockLayoutManager layoutManager = new MockLayoutManager(true, false); in rotaryEncoderHorizontalScroll_lowResDevice_backToBackScrollEvents() local
175 MockLayoutManager layoutManager = new MockLayoutManager(true, true); in pointerVerticalScroll() local
185 MockLayoutManager layoutManager = new MockLayoutManager(true, true); in pointerHorizontalScroll() local
DLinearLayoutManagerWrapContentTest.java158 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { in getVerticalGravity()
169 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) { in getHorizontalGravity()
DStaggeredGridLayoutManagerWrapContentTest.java154 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { in getVerticalGravity()
159 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) { in getHorizontalGravity()
DRecyclerViewBasicTest.java110 MockLayoutManager layoutManager = new MockLayoutManager(); in layoutWithoutAdapter() local
169 MockLayoutManager layoutManager = new MockLayoutManager(); in scrollFeedbackCallbacks() local
214 MockLayoutManager layoutManager = new MockLayoutManager(); in scrollFeedbackCallbacks_motionEventUnavailable() local
262 MockLayoutManager layoutManager = new MockLayoutManager(); in layoutSimple() local
289 MockLayoutManager layoutManager = new MockLayoutManager(); in adapterChangeCallbacks() local
308 MockLayoutManager layoutManager = new MockLayoutManager(); in recyclerOffsetsOnMove() local
331 MockLayoutManager layoutManager = new MockLayoutManager(); in recyclerOffsetsOnAdd() local
DRecyclerViewAccessibilityLifecycleTest.java178 final TestLayoutManager layoutManager = new TestLayoutManager() { in notClearCustomViewDelegateAndMaintainItemDelegate() local
270 final TestLayoutManager layoutManager = new TestLayoutManager() { in clearItemDelegateWhenGoesToPool() local
548 final TestLayoutManager layoutManager = new TestLayoutManager() { in testRecyclerViewWithAdapter() local
DGridLayoutManagerWrapContentTest.java224 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { in getVerticalGravity()
229 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) { in getHorizontalGravity()
DBaseWrapContentTest.java72 RecyclerView.LayoutManager layoutManager = createLayoutManager(); in unspecifiedWithHintTest() local
151 RecyclerView.LayoutManager layoutManager = scenario.createLayoutManager(); in runScenario() local
227 abstract protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager); in getVerticalGravity()
229 abstract protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager); in getHorizontalGravity()
454 RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in getChildBounds() local
DLinearLayoutManagerSavedStateTest.java358 protected WrappedLinearLayoutManager layoutManager() { in layoutManager() method in LinearLayoutManagerSavedStateTest.PostLayoutRunnable
393 protected WrappedLinearLayoutManager layoutManager() { in layoutManager() method in LinearLayoutManagerSavedStateTest.PostRestoreRunnable
DStaggeredGridLayoutManagerSavedStateTest.java290 public WrappedLayoutManager layoutManager() { in layoutManager() method in StaggeredGridLayoutManagerSavedStateTest.PostLayoutRunnable
319 public WrappedLayoutManager layoutManager() { in layoutManager() method in StaggeredGridLayoutManagerSavedStateTest.PostRestoreRunnable
DRecyclerViewSmoothScrollerTest.java42 RecyclerView.LayoutManager layoutManager = mock(RecyclerView.LayoutManager.class); in stop_whileRunning_isRunningIsFalseInOnStop() local
DLinearLayoutManagerWrapContentWithAspectRatioTest.java127 RecyclerView.LayoutManager layoutManager = createFromConfig(); in wrapContentAffectsOtherOrientation() local
DRecyclerViewSmoothScrollToPositionTest.kt98 val layoutManager = in smoothScroll_whenSmoothScrollerStops_destinationReached() constant
DGridLayoutManagerNoOpUpdateTest.java113 RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in getChildBounds() local
DRecyclerViewLayoutTest.java200 TestLayoutManager layoutManager = new TestLayoutManager() { in detachAttachGetReady() local
532 TestLayoutManager layoutManager = new TestLayoutManager() { in onDataSetChanged_handleCachedViews() local
987 TestLayoutManager layoutManager = new TestLayoutManager() { in boundingBoxRotatedWithDecorOffsets() local
1024 TestLayoutManager layoutManager = new TestLayoutManager() { in transformedBoundingBoxTest() local
2072 TestLayoutManager layoutManager = new SimpleTestLayoutManager(); in assertPendingUpdatesAndLayoutTest() local
2111 TestLayoutManager layoutManager = new SimpleTestLayoutManager(); in hasPendingUpdatesBeforeFirstLayout() local
2120 TestLayoutManager layoutManager = new SimpleTestLayoutManager(); in noPendingUpdatesAfterLayout() local
2602 TestLayoutManager layoutManager = new SimpleTestLayoutManager(); in smoothScrollBy_completesAsynchronously() local
DTestResizingRelayoutWithAutoMeasure.java59 RecyclerView.LayoutManager layoutManager, float widthMultiplier, in TestResizingRelayoutWithAutoMeasure()
DBaseRecyclerViewAnimationsTest.java325 void afterPreLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, in afterPreLayout()
329 void beforePostLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, in beforePostLayout()
333 void afterPostLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, in afterPostLayout()
DRecyclerViewFocusRecoveryTest.java95 void setupBasic(TestLayoutManager layoutManager) throws Throwable { in setupBasic()
103 void setupBasic(@Nullable TestAdapter adapter, @Nullable TestLayoutManager layoutManager) in setupBasic()
/recyclerview/recyclerview/src/main/java/androidx/recyclerview/widget/
DLinearSnapHelper.java42 public int[] calculateDistanceToFinalSnap( in calculateDistanceToFinalSnap()
62 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX, in findTargetSnapPosition()
130 public View findSnapView(RecyclerView.LayoutManager layoutManager) { in findSnapView()
157 private int estimateNextPositionDiffForFling(RecyclerView.LayoutManager layoutManager, in estimateNextPositionDiffForFling()
178 private @Nullable View findCenterView(RecyclerView.LayoutManager layoutManager, in findCenterView()
217 private float computeDistancePerChild(RecyclerView.LayoutManager layoutManager, in computeDistancePerChild()
257 private @NonNull OrientationHelper getVerticalHelper( in getVerticalHelper()
265 private @NonNull OrientationHelper getHorizontalHelper( in getHorizontalHelper()
DPagerSnapHelper.java47 public int @Nullable [] calculateDistanceToFinalSnap( in calculateDistanceToFinalSnap()
68 public @Nullable View findSnapView(RecyclerView.LayoutManager layoutManager) { in findSnapView()
79 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX, in findTargetSnapPosition()
144 private boolean isForwardFling(RecyclerView.LayoutManager layoutManager, int velocityX, in isForwardFling()
153 private boolean isReverseLayout(RecyclerView.LayoutManager layoutManager) { in isReverseLayout()
167 protected RecyclerView.@Nullable SmoothScroller createScroller( in createScroller()
DSnapHelper.java66 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in onFling() local
157 private boolean snapFromFling(RecyclerView.@NonNull LayoutManager layoutManager, int velocityX, in snapFromFling()
187 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in snapToTargetExistingView() local
209 protected RecyclerView.@Nullable SmoothScroller createScroller( in createScroller()
224 protected @Nullable LinearSmoothScroller createSnapScroller( in createSnapScroller()
DOrientationHelper.java46 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { in OrientationHelper()
240 RecyclerView.LayoutManager layoutManager, @RecyclerView.Orientation int orientation) { in createOrientationHelper()
257 RecyclerView.LayoutManager layoutManager) { in createHorizontalHelper()
DLinearSmoothScroller.java322 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDyToMakeVisible() local
348 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDxToMakeVisible() local
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/test/
DRecyclerViewTest.java83 RecyclerView.LayoutManager layoutManager = view.getLayoutManager(); in inflation() local
/recyclerview/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
DDefaultBandHost.java124 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in getColumnCount() local

12