Home
last modified time | relevance | path

Searched refs:LinearLayoutManager (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerWrapContentTest.java20 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
21 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
147 private LinearLayoutManager createFromConfig() { in createFromConfig()
148 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation, in createFromConfig()
DLinearLayoutManagerWrapContentWithAspectRatioTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
33 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
210 private LinearLayoutManager createFromConfig() { in createFromConfig()
211 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation, in createFromConfig()
DGridLayoutManagerTest.java43 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
44 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
422 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()
426 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()
432 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()
438 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()
442 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()
448 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()
452 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()
458 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()
[all …]
DGridLayoutManagerCachedBordersTest.java28 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
29 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DBaseLinearLayoutManagerTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
33 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
117 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
125 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
141 if (scrollOffset == LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
339 class WrappedLinearLayoutManager extends LinearLayoutManager {
DScrollToPositionWithAutoMeasure.java44 LinearLayoutManager llm = new LinearLayoutManager(getActivity()); in testLinearLayoutManager()
DGridLayoutManagerCustomSizeInScrollDirectionTest.java18 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
19 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DGridLayoutManagerRtlTest.java30 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
31 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DGridLayoutManagerWrapContentTest.java21 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
22 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DLinearLayoutManagerTest.java37 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
38 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
359 scrollToPositionWithPredictive(0, LinearLayoutManager.INVALID_OFFSET); in scrollToPositionWithPredictive()
364 LinearLayoutManager.INVALID_OFFSET); in scrollToPositionWithPredictive()
DStaggeredGridLayoutManagerTest.java21 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
399 scrollToPositionWithPredictive(0, LinearLayoutManager.INVALID_OFFSET); in scrollToPositionWithPredictive()
402 LinearLayoutManager.INVALID_OFFSET); in scrollToPositionWithPredictive()
422 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
429 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
445 if (scrollOffset == LinearLayoutManager.INVALID_OFFSET) { in scrollToPositionWithPredictive()
DBaseGridLayoutManagerTest.java27 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
28 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DBaseWrapContentWithAspectRatioTest.java33 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
34 import static android.support.v7.widget.LinearLayoutManager.VERTICAL;
DLinearLayoutManagerResizeTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
DAsyncListUtilLayoutTest.java70 getActivity(), LinearLayoutManager.VERTICAL, false); in asyncListUtil()
308 class WrappedLinearLayoutManager extends LinearLayoutManager {
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuView.java22 import android.support.v7.widget.LinearLayoutManager;
41 setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false)); in NavigationMenuView()
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
DMainActivity.java9 import android.support.v7.widget.LinearLayoutManager;
46 …dataBinder.toolkittyList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZO… in onCreate()
47 …dataBinder.robotList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL… in onCreate()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/
DCustomLayoutManager.java20 import android.support.v7.widget.LinearLayoutManager;
27 public class CustomLayoutManager extends LinearLayoutManager {
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvCompatListActivity.java24 import android.support.v7.widget.LinearLayoutManager;
64 return new LinearLayoutManager(context); in createLayoutManager()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/util/
DGlifPreferenceDelegate.java23 import android.support.v7.widget.LinearLayoutManager;
58 mRecyclerView.setLayoutManager(new LinearLayoutManager(inflaterContext)); in onCreateRecyclerView()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DRecyclerViewTestActivity.java22 import android.support.v7.widget.LinearLayoutManager;
DRecyclerViewTest.java32 import android.support.v7.widget.LinearLayoutManager;
66 assertNotNull(LinearLayoutManager.SavedState.class); in savedStateAccess()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
DGlifRecyclerLayout.java25 import android.support.v7.widget.LinearLayoutManager;
129 mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in initRecyclerView()
DSetupWizardRecyclerLayout.java23 import android.support.v7.widget.LinearLayoutManager;
138 mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in initRecyclerView()
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java28 import android.support.v7.widget.LinearLayoutManager;
145 testRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); in drawDecoration()

123