Home
last modified time | relevance | path

Searched refs:mImageGrid (Results 1 – 2 of 2) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java117 RecyclerView mImageGrid; field in IndividualPickerFragment
139 ViewHolder selectedViewHolder = mImageGrid.findViewHolderForAdapterPosition(
182 ViewHolder viewHolder = mImageGrid.findViewHolderForAdapterPosition(
352 mImageGrid = (RecyclerView) view.findViewById(R.id.wallpaper_grid); in onCreateView()
356 mImageGrid.setScrollBarSize(gridPaddingPx); in onCreateView()
358 GridMarginDecoration.applyTo(mImageGrid); in onCreateView()
380 mImageGrid.setPadding( in updateImageGridPadding()
386 if (mImageGrid == null) { in maybeSetUpImageGrid()
406 mImageGrid.setAdapter(mAdapter); in setUpImageGrid()
407 mImageGrid.setLayoutManager(new GridLayoutManager(getActivity(), getNumColumns())); in setUpImageGrid()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java124 private RecyclerView mImageGrid; field in CategoryFragment
147 mImageGrid = view.findViewById(R.id.category_grid); in onCreateView()
148 GridMarginDecoration.applyTo(mImageGrid); in onCreateView()
157 mImageGrid.setAdapter(mAdapter); in onCreateView()
161 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()
184 mImageGrid.findViewHolderForAdapterPosition(INITIAL_HOLDER_ADAPTER_POSITION); in onResume()
398mImageGrid.findViewHolderForAdapterPosition(INITIAL_HOLDER_ADAPTER_POSITION); in refreshDailyWallpaper()