Home
last modified time | relevance | path

Searched refs:ASPECT_RATIO_PORTRAIT (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DWallpaperUtils.java112 final float ASPECT_RATIO_PORTRAIT = 10/16f; in wallpaperTravelToScreenWidthRatio() local
123 (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
124 final float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DWallpaperCropUtils.java37 private static final float ASPECT_RATIO_PORTRAIT = 10 / 16f; field in WallpaperCropUtils
63 / (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
64 float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java218 final float ASPECT_RATIO_PORTRAIT = 10/16f; in wallpaperTravelToScreenWidthRatio() local
229 (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
230 final float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DInvariantDeviceProfile.java635 final float ASPECT_RATIO_PORTRAIT = 10 / 16f; in wallpaperTravelToScreenWidthRatio() local
647 (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
648 final float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()