Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java31 private static final float ASPECT_RATIO_PORTRAIT = 10 / 16f; field in WallpaperCropUtils
55 / (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
56 float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
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()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java460 final float ASPECT_RATIO_PORTRAIT = 10/16f; in wallpaperTravelToScreenWidthRatio() local
471 (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
472 final float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()