Home
last modified time | relevance | path

Searched refs:getNumColumns (Results 1 – 5 of 5) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java123 return getNumColumns(activity, windowWidthPx, CATEGORY_FEWER_COLUMNS, in getNumCategoryColumns()
128 return getNumColumns(context, windowWidthPx, CATEGORY_FEWER_COLUMNS, in getNumCategoryColumns()
133 return getNumColumns(activity, windowWidthPx, FEATURED_CATEGORY_FEWER_COLUMNS, in getNumFeaturedCategoryColumns()
138 return getNumColumns(context, windowWidthPx, FEATURED_CATEGORY_FEWER_COLUMNS, in getNumFeaturedCategoryColumns()
143 return getNumColumns( in getNumIndividualColumns()
148 return getNumColumns(activity, windowWidthPx, FEATURED_INDIVIDUAL_FEWER_COLUMNS, in getNumFeaturedIndividualColumns()
152 private static int getNumColumns( in getNumColumns() method in SizeCalculator
256 int columnCount = getNumColumns( in getSuggestedThumbnailSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java168 getNumColumns() in onCreateView()
178 getNumColumns() * CategorySpanSizeLookup.DEFAULT_CATEGORY_SPAN_SIZE); in onCreateView()
188 mImageGrid, (BottomSheetHost) getParentFragment(), getNumColumns())); in onCreateView()
249 mAdapter.notifyItemChanged(getNumColumns()); in addCategory()
250 mAdapter.notifyItemInserted(getNumColumns()); in addCategory()
335 private int getNumColumns() { in getNumColumns() method in CategorySelectorFragment
969 return getNumColumns() * DEFAULT_CATEGORY_SPAN_SIZE; in getSpanSize()
974 return getNumColumns() * DEFAULT_CATEGORY_SPAN_SIZE / 2; in getSpanSize()
998 return getNumColumns() * DEFAULT_CATEGORY_SPAN_SIZE; in getSpanSize()
1003 return getNumColumns() * DEFAULT_CATEGORY_SPAN_SIZE; in getSpanSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java367 gridLayoutManager != null && gridLayoutManager.getSpanCount() != getNumColumns(); in maybeSetUpImageGrid()
391 mImageGrid, (BottomSheetHost) getParentFragment(), getNumColumns())); in maybeSetUpImageGrid()
426 mImageGrid.setLayoutManager(new GridLayoutManager(getActivity(), getNumColumns())); in setUpImageGrid()
570 int getNumColumns() { in getNumColumns() method in IndividualPickerFragment
DIndividualPickerFragment2.kt446 val needUpdateLayout = gridLayoutManager?.spanCount != getNumColumns() in <lambda>()
491 getNumColumns() in <lambda>()
545 val gridLayoutManager = GridLayoutManager(activity, getNumColumns()) in <lambda>()
705 private fun getNumColumns(): Int { in <lambda>() method
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java83 ((HeaderViewGridAdapter) adapter).setNumColumns(getNumColumns()); in onMeasure()
181 int numColumns = getNumColumns(); in setAdapter()