Home
last modified time | relevance | path

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

/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/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java35 private static final float ASPECT_RATIO_PORTRAIT = 10 / 16f; field in WallpaperCropUtils
61 / (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
62 float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java548 final float ASPECT_RATIO_PORTRAIT = 10/16f; in wallpaperTravelToScreenWidthRatio() local
559 (ASPECT_RATIO_LANDSCAPE - ASPECT_RATIO_PORTRAIT); in wallpaperTravelToScreenWidthRatio()
560 final float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio()