Home
last modified time | relevance | path

Searched refs:setLayoutManager (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewBasicTest.java96 mRecyclerView.setLayoutManager(layoutManager); in layoutWithoutAdapter()
176 mRecyclerView.setLayoutManager(layoutManager); in layoutSimple()
203 mRecyclerView.setLayoutManager(layoutManager); in adapterChangeCallbacks()
223 mRecyclerView.setLayoutManager(layoutManager); in recyclerOffsetsOnMove()
246 mRecyclerView.setLayoutManager(layoutManager); in recyclerOffsetsOnAdd()
266 mRecyclerView.setLayoutManager(new MockLayoutManager() { in savedStateWithStatelessLayoutManager()
282 restored.setLayoutManager(new MockLayoutManager()); in savedStateWithStatelessLayoutManager()
297 mRecyclerView.setLayoutManager(mlm); in savedState()
314 restored.setLayoutManager(mlmRestored); in savedState()
340 mRecyclerView.setLayoutManager(mlm); in dontSaveChildrenState()
[all …]
DRecyclerViewCacheTest.java144 mRecyclerView.setLayoutManager(prefetchingLayoutManager); in prefetchReusesCacheItems()
181 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsNotEvictedWithInserts()
232 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsNotEvictedOnScroll()
275 mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in prefetchIsComputingLayout()
309 mRecyclerView.setLayoutManager(layout); in prefetchAfterOrientationChange()
349 mRecyclerView.setLayoutManager( in prefetchDrag()
410 mRecyclerView.setLayoutManager(new GridLayoutManager(getContext(), 3)); in prefetchItemsRespectDeadline()
470 mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in partialPrefetchAvoidsViewRecycledCallback()
529 mRecyclerView.setLayoutManager(sglm); in prefetchStaggeredItemsPriority()
607 mRecyclerView.setLayoutManager(sglm); in prefetchStaggeredPastBoundary()
[all …]
DRecyclerViewLayoutTest.java139 rv.setLayoutManager(tlm); in triggerFocusSearchInOnRecycledCallback()
210 rv.setLayoutManager(layoutManager); in detachAttachGetReady()
228 rv.setLayoutManager(null); in detachAttachGetReady()
229 rv.setLayoutManager(layoutManager); in detachAttachGetReady()
264 rv.setLayoutManager(lm); in setAdapter_afterSwapAdapter_callsCorrectLmMethods()
294 rv.setLayoutManager(lm); in setAdapter_afterNotifyDataSetChanged_callsCorrectLmMethods()
324 rv.setLayoutManager(lm); in notifyDataSetChanged_afterSetAdapter_callsCorrectLmMethods()
354 rv.setLayoutManager(lm); in notifyDataSetChanged_afterSwapAdapter_callsCorrectLmMethods()
384 rv.setLayoutManager(lm); in swapAdapter_afterSetAdapter_callsCorrectLmMethods()
414 rv.setLayoutManager(lm); in swapAdapter_afterNotifyDataSetChanged_callsCorrectLmMethods()
[all …]
DRecyclerViewOnGenericMotionEventTest.java62 mRecyclerView.setLayoutManager(layoutManager); in rotaryEncoderVerticalScroll()
74 mRecyclerView.setLayoutManager(layoutManager); in rotaryEncoderHorizontalScroll()
84 mRecyclerView.setLayoutManager(layoutManager); in pointerVerticalScroll()
94 mRecyclerView.setLayoutManager(layoutManager); in pointerHorizontalScroll()
DRecyclerViewAccessibilityLifecycleTest.java91 recyclerView.setLayoutManager(lm); in dontDispatchChangeDuringLayout()
114 rv.setLayoutManager(new LinearLayoutManager(getActivity())); in processAllViewHolders()
204 recyclerView.setLayoutManager(layoutManager); in notClearCustomViewDelegate()
284 recyclerView.setLayoutManager(layoutManager); in clearItemDelegateWhenGoesToPool()
DRecyclerViewSmoothScrollerTest.java42 recyclerView.setLayoutManager(layoutManager); in stop_whileRunning_isRunningIsFalseInOnStop()
DDividerItemDecorationTest.java46 rv.setLayoutManager(new LinearLayoutManager(context)); in testNullListDivider()
DRecyclerViewPrefetchTest.java86 recyclerView.setLayoutManager(layout); in prefetchTest()
DRecyclerViewAccessibilityTest.java95 recyclerView.setLayoutManager(new TestLayoutManager() { in onInitializeAccessibilityNodeInfoTest()
254 recyclerView.setLayoutManager(layoutManager); in ignoreAccessibilityIfAdapterHasChanged()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java63 setLayoutManager(recyclerView, layoutMgrClassName, context, layoutlibCallback); in setAdapter()
80 private static void setLayoutManager(@NonNull View recyclerView, in setLayoutManager() method in RecyclerViewUtil
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
DWearableLinearLayoutManagerTest.java83 wrv.setLayoutManager(mWearableLinearLayoutManagerUnderTest); in testRoundOffsetting()
128 wrv.setLayoutManager(mWearableLinearLayoutManagerUnderTest); in testStraightOffsetting()
DWearableRecyclerViewTestActivity.java33 wrv.setLayoutManager(new WearableLinearLayoutManager(this)); in onCreate()
DSwipeDismissFrameLayoutTestActivity.java49 recyclerView.setLayoutManager( in createScrollableContent()
DWearableRecyclerViewTest.java79 wrv.setLayoutManager(new WearableLinearLayoutManager(wrv.getContext())); in testCaseInitState()
188 wrv.setLayoutManager(new WearableLinearLayoutManager(wrv.getContext())); in testCurvedOffsettingHelper()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DStaggeredGridLayoutManagerActivity.java53 mRecyclerView.setLayoutManager(createLayoutManager()); in createConfigToggles()
DBaseLayoutManagerActivity.java70 mRecyclerView.setLayoutManager(mLayoutManager); in initRecyclerView()
105 configView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL,
DPagerRecyclerViewActivity.java41 rv.setLayoutManager(manager); in onCreate()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java256 public void setLayoutManager(LayoutManager layout) { in setLayoutManager() method in HeaderRecyclerView
257 super.setLayoutManager(layout); in setLayoutManager()
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
DMainActivity.java46 …dataBinder.toolkittyList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZO… in onCreate()
47 …dataBinder.robotList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL… in onCreate()
/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/
DSimpleWearableRecyclerViewDemo.java42 wrv.setLayoutManager(new WearableLinearLayoutManager(this)); in onCreate()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvCompatListActivity.java43 recyclerView.setLayoutManager(layoutManager); in onCreateView()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
DItemTouchHelperActivity.java67 mRecyclerView.setLayoutManager(new LinearLayoutManager(this)); in onCreate()
94 configView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, in initToggles()
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
DBottomSheetModalBase.java93 recyclerView.setLayoutManager(new LinearLayoutManager(context)); in onViewCreated()
DBottomSheetWithFragment.java61 recyclerView.setLayoutManager(new LinearLayoutManager(context)); in setUpRecyclerView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java53 mUserGridView.getRecyclerView().setLayoutManager(layoutManager); in FullscreenUserSwitcher()

12345