Home
last modified time | relevance | path

Searched refs:SizeCalculator (Results 1 – 10 of 10) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/viewholder/
DTileViewHolder.kt28 import com.android.wallpaper.util.SizeCalculator
58 tileSize = SizeCalculator.getCategoryTileSize(itemView.context, windowWidth) in bind()
60 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind()
62 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/
DCategoriesFragment.kt29 import com.android.wallpaper.util.SizeCalculator
49 SizeCalculator.getActivityWindowWidthPx(this.activity), in onCreateView()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java33 import com.android.wallpaper.util.SizeCalculator;
121 card.setRadius(SizeCalculator.getPreviewCornerRadius( in setCard()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DFloatingSheet.kt28 import com.android.wallpaper.util.SizeCalculator in <lambda>()
64 SizeCalculator.adjustBackgroundCornerRadius(floatingSheetView) in <lambda>()
DBottomActionBar.java42 import com.android.wallpaper.util.SizeCalculator;
217 SizeCalculator.adjustBackgroundCornerRadius(mBottomSheetView); in BottomActionBar()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java74 import com.android.wallpaper.util.SizeCalculator;
386 ? SizeCalculator.getFeaturedIndividualTileSize(getActivity()) in maybeSetUpImageGrid()
387 : SizeCalculator.getIndividualTileSize(getActivity()); in maybeSetUpImageGrid()
576 ? SizeCalculator.getNumFeaturedIndividualColumns(activity) in getNumColumns()
577 : SizeCalculator.getNumIndividualColumns(activity); in getNumColumns()
DIndividualPickerFragment2.kt72 import com.android.wallpaper.util.SizeCalculator in <lambda>()
482 SizeCalculator.getFeaturedIndividualTileSize(requireActivity()) in <lambda>()
484 SizeCalculator.getIndividualTileSize(requireActivity()) in <lambda>()
708 SizeCalculator.getNumFeaturedIndividualColumns(activity) in <lambda>()
710 SizeCalculator.getNumIndividualColumns(activity) in <lambda>()
889 SizeCalculator.getFeaturedIndividualTileSize(activity).y in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java63 import com.android.wallpaper.util.SizeCalculator;
162 mTileSizePx = SizeCalculator.getCategoryTileSize(getActivity()); in onCreateView()
337 return activity == null ? 1 : SizeCalculator.getNumCategoryColumns(activity); in getNumColumns()
503 SizeCalculator.getFeaturedCategoryTileSize(getActivity()).y; in FeaturedCategoryHolder()
518 int height = SizeCalculator.getFeaturedCategoryTileSize(getActivity()).y; in MyPhotosCategoryHolder()
642 cardView.getLayoutParams().height = SizeCalculator in setLayoutParams()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/
DPreviewActionFloatingSheet.kt34 import com.android.wallpaper.util.SizeCalculator in <lambda>()
58 SizeCalculator.adjustBackgroundCornerRadius(floatingSheetView) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java37 public class SizeCalculator { class
91 private SizeCalculator() { in SizeCalculator() method in SizeCalculator