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.java194 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY) { in calculateCropRect() argument
206 int extraWidth = defaultCropSurfaceSize.x - targetHostSize.x; in calculateCropRect()
207 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - targetHostSize.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/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java431 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in cropAndSetWallpaperBitmapInRotationStatic() local
450 wallpaperSize, defaultCropSurfaceSize, screenSize, offsetX, offsetY); in cropAndSetWallpaperBitmapInRotationStatic()