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.java195 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY, in calculateCropRect() argument
210 int extraWidth = defaultCropSurfaceSize.x - targetHostSize.x; in calculateCropRect()
211 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - targetHostSize.y) / 2f); in calculateCropRect()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java465 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in testSetsDefaultWallpaperZoomAndScroll() local
474 wallpaperSize, defaultCropSurfaceSize); in testSetsDefaultWallpaperZoomAndScroll()
484 defaultCropSurfaceSize, screenSize, true /* alignStart */, false /* isRtl */); in testSetsDefaultWallpaperZoomAndScroll()
486 scaledWallpaperSize, defaultCropSurfaceSize, false /* alignStart */, in testSetsDefaultWallpaperZoomAndScroll()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java308 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in cropAndSetWallpaperBitmapInRotationStatic() local
326 wallpaperSize, defaultCropSurfaceSize, screenSize, offsetX, in cropAndSetWallpaperBitmapInRotationStatic()