Searched refs:adjustedCrop (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperCropper.java | 190 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop() local 191 return getAdjustedCrop(adjustedCrop, bitmapSize, displaySize, false, rtl, BALANCE); in getCrop() 201 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop() local 203 Rect res = getAdjustedCrop(adjustedCrop, bitmapSize, displaySize, false, rtl, REMOVE); in getCrop() 205 if (res.width() < adjustedCrop.width()) { in getCrop() 206 if (rtl) res.left = Math.min(res.left, adjustedCrop.left); in getCrop() 207 else res.right = Math.max(res.right, adjustedCrop.right); in getCrop() 222 Rect adjustedCrop = noParallax(suggestedCrop, suggestedDisplaySize, bitmapSize, rtl); in getCrop() local 223 return getAdjustedCrop(adjustedCrop, bitmapSize, displaySize, false, rtl, ADD); in getCrop() 258 Rect adjustedCrop = getAdjustedCrop(crop, bitmapSize, displaySize, true, rtl, ADD); in noParallax() [all …]
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 619 Rect adjustedCrop = findNewCropfromOldCrop(cropHint, in restoreFromStage() local 623 cropHint.set(adjustedCrop); in restoreFromStage() 735 Rect adjustedCrop = new Rect(crop); in withoutParallax() local 748 Slog.d(TAG, "- adjustedCrop: " + adjustedCrop); in withoutParallax() 754 adjustedCrop.left += widthToRemove; in withoutParallax() 756 adjustedCrop.right -= widthToRemove; in withoutParallax() 762 return adjustedCrop; in withoutParallax() 786 Rect adjustedCrop = new Rect(crop); in sameCenter() local 811 adjustedCrop.top -= actualHeightToAdd / 2 + actualHeightToAdd % 2; in sameCenter() 812 adjustedCrop.bottom += actualHeightToAdd / 2; in sameCenter() [all …]
|