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()
DGenreFragment.java62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local
63 gridLayoutManager.setSpanSizeLookup( in onCreateView()
64 new HeaderSpanSizeLookup(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()
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.java64 GridLayoutManager gridLayoutManager = new GridLayoutManager(mContext, in getGridLayoutManager() local
66 gridLayoutManager.setSpanSizeLookup(mQsSpanSizeLookup); in getGridLayoutManager()
67 return gridLayoutManager; in getGridLayoutManager()
/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/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java179 GridLayoutManager gridLayoutManager = new GridLayoutManager(this, mColumnNumber); in onCreate() local
180 gridLayoutManager.setSpanSizeLookup(new SpanSizeLookup() { in onCreate()
186 gridView.setLayoutManager(gridLayoutManager); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java146 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), in onCreateView() local
148 gridLayoutManager.setSpanSizeLookup(new CategorySpanSizeLookup(mAdapter)); in onCreateView()
149 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java593 GridLayoutManager gridLayoutManager = (GridLayoutManager) mImageGrid.getLayoutManager(); in maybeSetUpImageGrid() local
595 gridLayoutManager != null && gridLayoutManager.getSpanCount() != getNumColumns(); in maybeSetUpImageGrid()