Home
last modified time | relevance | path

Searched refs:gridLayoutManager (Results 1 – 12 of 12) sorted by relevance

/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DOtherFragment.java69 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
70 gridLayoutManager.setSpanSizeLookup(otherAdapter.getSpanSizeLookup()); in onCreateView()
71 if (gridLayoutManager.getSpanCount() != SPAN_COUNT) { in onCreateView()
73 ", found a span count of " + gridLayoutManager.getSpanCount() + "."); in onCreateView()
DSeriesFragment.java64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
65 gridLayoutManager.setSpanSizeLookup( in onCreateView()
66 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
DGenreFragment.java62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
63 gridLayoutManager.setSpanSizeLookup( in onCreateView()
64 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
DMovieFragment.java65 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
66 gridLayoutManager.setSpanSizeLookup( in onCreateView()
67 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
DAlbumFragment.java63 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
64 gridLayoutManager.setSpanSizeLookup( in onCreateView()
65 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
DArtistFragment.java64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
65 gridLayoutManager.setSpanSizeLookup( in onCreateView()
66 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
DPlaylistFragment.java70 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
71 gridLayoutManager.setSpanSizeLookup( in onCreateView()
72 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingGridAdapter.java59 GridLayoutManager gridLayoutManager = new GridLayoutManager(mContext, in getGridLayoutManager() local
61 gridLayoutManager.setSpanSizeLookup(mQsSpanSizeLookup); in getGridLayoutManager()
62 return gridLayoutManager; in getGridLayoutManager()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java161 GridLayoutManager gridLayoutManager = new GridLayoutManager(this, mColumnNumber); in onCreate() local
162 gridLayoutManager.setSpanSizeLookup(new SpanSizeLookup() { in onCreate()
168 gridView.setLayoutManager(gridLayoutManager); in onCreate()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapter.java103 final GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in onAttachedToRecyclerView() local
104 gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in onAttachedToRecyclerView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardsAdapter.java103 final GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in onAttachedToRecyclerView() local
104 gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in onAttachedToRecyclerView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java159 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), getNumColumns()); in onCreateView() local
160 gridLayoutManager.setSpanSizeLookup(new CategorySpanSizeLookup(mAdapter)); in onCreateView()
161 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()