Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperCropperTest.java160 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ false)) in testNoParallax_noScale()
162 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ true)) in testNoParallax_noScale()
175 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ false)) in testNoParallax_withScale()
177 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ true)) in testNoParallax_withScale()
191 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ false)) in testNoParallax_withScaleAndCrop()
193 assertThat(WallpaperCropper.noParallax(crop, displaySize, bitmapSize, /* rtl */ true)) in testNoParallax_withScaleAndCrop()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java151 landscapeCrop = noParallax(landscapeCrop, rotatedDisplaySize, bitmapSize, rtl); in getCrop()
190 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop()
201 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop()
222 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop()
256 static Rect noParallax(Rect crop, Point displaySize, Point bitmapSize, boolean rtl) { in noParallax() method in WallpaperCropper