Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java193 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in calculateCropRect() local
195 int extraWidth = defaultCropSurfaceSize.x - screenSize.x; in calculateCropRect()
196 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - screenSize.y) / 2f); in calculateCropRect()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java413 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in testSetsDefaultWallpaperZoomAndScroll() local
422 wallpaperSize, defaultCropSurfaceSize); in testSetsDefaultWallpaperZoomAndScroll()
432 defaultCropSurfaceSize, screenSize, true /* alignStart */, false /* isRtl */); in testSetsDefaultWallpaperZoomAndScroll()
434 scaledWallpaperSize, defaultCropSurfaceSize, false /* alignStart */, in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java129 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize(
139 scale = (float) defaultCropSurfaceSize.y / dimensions.y;