Home
last modified time | relevance | path

Searched refs:mLayoutManager (Results 1 – 6 of 6) sorted by relevance

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DLinearLayoutManagerActivity.java40 mDividerItemDecoration = new DividerItemDecoration(this, mLayoutManager.getOrientation()); in onRecyclerViewInit()
50 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; in createConfigToggles()
55 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL in createConfigToggles()
58 mDividerItemDecoration.setOrientation(mLayoutManager.getOrientation()); in createConfigToggles()
66 return mLayoutManager.getReverseLayout(); in createConfigToggles()
71 mLayoutManager.setReverseLayout(newValue); in createConfigToggles()
90 return mLayoutManager.getStackFromEnd(); in createConfigToggles()
95 mLayoutManager.setStackFromEnd(newValue); in createConfigToggles()
DGridLayoutManagerActivity.java47 return 1 + (Math.abs(item.hashCode()) % mLayoutManager.getSpanCount());
57 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; in createConfigToggles()
62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL in createConfigToggles()
69 return mLayoutManager.getReverseLayout(); in createConfigToggles()
74 mLayoutManager.setReverseLayout(newValue); in createConfigToggles()
93 return mLayoutManager.getStackFromEnd(); in createConfigToggles()
98 mLayoutManager.setStackFromEnd(newValue); in createConfigToggles()
109 mLayoutManager.scrollToPositionWithOffset(position, offset);
DBaseLayoutManagerActivity.java50 protected T mLayoutManager; field in BaseLayoutManagerActivity
70 mLayoutManager = createLayoutManager(); in initRecyclerView()
71 mRecyclerView.setLayoutManager(mLayoutManager); in initRecyclerView()
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DRecyclerViewFragment.java52 protected RecyclerView.LayoutManager mLayoutManager; field in RecyclerViewFragment
76 mLayoutManager = new LinearLayoutManager(getActivity()); in onCreateView()
127 mLayoutManager = new GridLayoutManager(getActivity(), SPAN_COUNT); in setRecyclerViewLayoutManager()
131 mLayoutManager = new LinearLayoutManager(getActivity()); in setRecyclerViewLayoutManager()
135 mLayoutManager = new LinearLayoutManager(getActivity()); in setRecyclerViewLayoutManager()
139 mRecyclerView.setLayoutManager(mLayoutManager); in setRecyclerViewLayoutManager()
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java56 RecyclerView.LayoutManager mLayoutManager; field in AppUsageStatisticsFragment
95 mLayoutManager = mRecyclerView.getLayoutManager(); in onViewCreated()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java57 RecyclerView.LayoutManager mLayoutManager; field in DirectorySelectionFragment
126 mLayoutManager = mRecyclerView.getLayoutManager(); in onViewCreated()