/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | AutoFitRecyclerViewTest.java | 41 final GridLayoutManager gridLayoutManager = new GridLayoutManager(context, in testMeasure_spanCountIsRounded() local 44 assertThat(gridLayoutManager.getSpanCount()).isEqualTo(defaultSpanCount); in testMeasure_spanCountIsRounded() 46 recyclerView.setLayoutManager(gridLayoutManager); in testMeasure_spanCountIsRounded() 52 assertThat(gridLayoutManager.getSpanCount()).isEqualTo(3); in testMeasure_spanCountIsRounded() 64 final GridLayoutManager gridLayoutManager = new GridLayoutManager(context, in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() local 67 assertThat(gridLayoutManager.getSpanCount()).isEqualTo(defaultSpanCount); in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() 69 recyclerView.setLayoutManager(gridLayoutManager); in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() 77 assertThat(gridLayoutManager.getSpanCount()).isEqualTo(minSpanCount); in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() 90 final GridLayoutManager gridLayoutManager = new GridLayoutManager(context, in testSetMinimumSpanCount_resultLargerThanMinSpanCount() local 93 assertThat(gridLayoutManager.getSpanCount()).isEqualTo(defaultSpanCount); in testSetMinimumSpanCount_resultLargerThanMinSpanCount() [all …]
|
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/ |
D | AppGridPageSnapperTest.java | 101 GridLayoutManager gridLayoutManager = new GridLayoutManager(testableContext, mRowNo, in testScrollToNextPage() 103 rv.setLayoutManager(gridLayoutManager); in testScrollToNextPage() 149 GridLayoutManager gridLayoutManager = new GridLayoutManager(testableContext, in testSwipeRightAndStayOnCurrentPage() 153 rv.setLayoutManager(gridLayoutManager); in testSwipeRightAndStayOnCurrentPage() 199 GridLayoutManager gridLayoutManager = new GridLayoutManager(testableContext, in testScrollToPrevPage() 203 rv.setLayoutManager(gridLayoutManager); in testScrollToPrevPage() 273 GridLayoutManager gridLayoutManager = new GridLayoutManager(testableContext, mRowNo, in testScrollLeftAndStayOnCurrentPage() 275 rv.setLayoutManager(gridLayoutManager); in testScrollLeftAndStayOnCurrentPage() 333 GridLayoutManager gridLayoutManager = new GridLayoutManager(testableContext, mRowNo, in testOnFlingRight() 335 rv.setLayoutManager(gridLayoutManager); in testOnFlingRight() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | OtherFragment.java | 69 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()
|
D | GenreFragment.java | 62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 63 gridLayoutManager.setSpanSizeLookup( in onCreateView() 64 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
D | SeriesFragment.java | 64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 65 gridLayoutManager.setSpanSizeLookup( in onCreateView() 66 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
D | MovieFragment.java | 65 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 66 gridLayoutManager.setSpanSizeLookup( in onCreateView() 67 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
D | AlbumFragment.java | 63 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 64 gridLayoutManager.setSpanSizeLookup( in onCreateView() 65 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
D | ArtistFragment.java | 64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 65 gridLayoutManager.setSpanSizeLookup( in onCreateView() 66 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
D | PlaylistFragment.java | 70 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local 71 gridLayoutManager.setSpanSizeLookup( in onCreateView() 72 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/binder/ |
D | SectionsBinder.kt | 40 val gridLayoutManager = in <lambda>() constant 49 sectionsListView.layoutManager = gridLayoutManager in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | GridPaddingDecorationCreativeCategory.java | 113 GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in getSpanCount() local 114 return gridLayoutManager.getSpanCount(); in getSpanCount()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardsAdapter.java | 103 final GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in onAttachedToRecyclerView() local 104 gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in onAttachedToRecyclerView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerFragment2.kt | 445 val gridLayoutManager = imageGrid.layoutManager as GridLayoutManager? in <lambda>() constant 446 val needUpdateLayout = gridLayoutManager?.spanCount != getNumColumns() in <lambda>() 545 val gridLayoutManager = GridLayoutManager(activity, getNumColumns()) in <lambda>() constant 546 gridLayoutManager.spanSizeLookup = in <lambda>() 553 is PickerItem.HeaderItem -> gridLayoutManager.spanCount in <lambda>() 561 imageGrid.layoutManager = gridLayoutManager in <lambda>()
|
D | IndividualPickerFragment.java | 365 GridLayoutManager gridLayoutManager = (GridLayoutManager) mImageGrid.getLayoutManager(); in maybeSetUpImageGrid() local 367 gridLayoutManager != null && gridLayoutManager.getSpanCount() != getNumColumns(); in maybeSetUpImageGrid()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | CategorySelectorFragment.java | 167 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), in onCreateView() local 170 gridLayoutManager.setSpanSizeLookup(new in onCreateView() 172 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView() 177 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), in onCreateView() local 179 gridLayoutManager.setSpanSizeLookup(new CategorySpanSizeLookup(mAdapter)); in onCreateView() 180 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()
|