Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java500 final SparseArray<Rect> defaultCrops; in generateCropInternal() local
512 defaultCrops = getDefaultCrops(wallpaper.mCropHints, bitmapSize); in generateCropInternal()
517 Rect defaultCrop = defaultCrops.get(orientation); in generateCropInternal()
525 cropHint = getTotalCrop(defaultCrops); in generateCropInternal()
528 Slog.d(TAG, "Generated default crops for wallpaper: " + defaultCrops in generateCropInternal()
543 defaultCrops = getDefaultCrops(new SparseArray<>(), cropSize); in generateCropInternal()
544 cropHint = getTotalCrop(defaultCrops); in generateCropInternal()
548 Slog.d(TAG, "Generated default crops for wallpaper: " + defaultCrops); in generateCropInternal()
552 defaultCrops = null; in generateCropInternal()
597 for (int i = 0; i < defaultCrops.size(); i++) { in generateCropInternal()
[all …]
DWallpaperManagerService.java2309 SparseArray<Rect> defaultCrops = mWallpaperCropper.getDefaultCrops(cropMap, bitmapSize); in getFutureBitmapCrops() local
2314 result.add(mWallpaperCropper.getCrop(displaySize, bitmapSize, defaultCrops, rtl)); in getFutureBitmapCrops()
2326 SparseArray<Rect> defaultCrops = mWallpaperCropper.getDefaultCrops(cropMap, bitmapSize); in getBitmapCrop() local
2327 return WallpaperCropper.getTotalCrop(defaultCrops); in getBitmapCrop()