Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java405 float expectedWallpaperZoom; in testSetsDefaultWallpaperZoomAndScroll() local
421 expectedWallpaperZoom = WallpaperCropUtils.calculateMinZoom( in testSetsDefaultWallpaperZoomAndScroll()
426 assertEquals(expectedWallpaperZoom, fullResImageView.getScale(), FLOAT_ERROR_MARGIN); in testSetsDefaultWallpaperZoomAndScroll()
429 (int) (wallpaperSize.x * expectedWallpaperZoom), in testSetsDefaultWallpaperZoomAndScroll()
430 (int) (wallpaperSize.y * expectedWallpaperZoom)); in testSetsDefaultWallpaperZoomAndScroll()