Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperInfo.java308 public void setWallpaperCropHints(Map<Point, Rect> cropHints) {
309 if (cropHints == null) {
313 cropHints.forEach((displaySize, rect) -> {
328 Map<Point, Rect> cropHints = new HashMap<>();
330 (displaySize, rect) -> cropHints.put(
333 return cropHints;
DWallpaperMetadata.java39 android.app.WallpaperInfo wallpaperComponent, Map<Point, Rect> cropHints) { in WallpaperMetadata() argument
44 mCropHints = cropHints; in WallpaperMetadata()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModel.kt86 private val cropHints: Flow<Map<Point, Rect>?> = in <lambda>() constant
136 combine(storedWallpaperColors, subsamplingScaleImageViewModel, cropHints) { in <lambda>()
139 cropHints -> in <lambda>() method
141 if (cropHints == null) { in <lambda>()
148 interactor.getWallpaperColors(wallpaperViewModel.rawWallpaperBitmap, cropHints) in <lambda>()
DWallpaperPreviewViewModel.kt162 fun setCropHints(cropHints: Map<Point, Rect>) { in <lambda>()
166 cropHints.mapValues { in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt206 cropHints: Map<Point, Rect>, in <lambda>()
215 cropHints, in <lambda>()
222 cropHints, in <lambda>()
609 val cropHints: List<Rect>? = in <lambda>() constant
612 return cropHints?.indices?.associate { displaySizes[it] to cropHints[it] } in <lambda>()
617 cropHints: Map<Point, Rect>? in <lambda>()
619 return wallpaperManager.getWallpaperColors(bitmap, cropHints) in <lambda>()
DWallpaperClient.kt106 suspend fun getWallpaperColors(bitmap: Bitmap, cropHints: Map<Point, Rect>?): WallpaperColors?
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/domain/interactor/
DWallpaperPreviewInteractor.kt84 suspend fun getWallpaperColors(bitmap: Bitmap, cropHints: Map<Point, Rect>?): WallpaperColors? =
85 wallpaperRepository.getWallpaperColors(bitmap, cropHints)
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java349 boolean offsetToStart, @Nullable Map<Point, Rect> cropHints) { in loadPreviewImage() argument
372 if (cropHints != null && cropHints.containsKey(screenSize)) { in loadPreviewImage()
374 cropHints.get(screenSize), screenSize, RtlUtils.isRtl(activity)); in loadPreviewImage()
DBitmapCachingAsset.java175 boolean offsetToStart, @Nullable Map<Point, Rect> cropHints) { in loadPreviewImage() argument
178 cropHints); in loadPreviewImage()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DWallpaperModelUtils.kt64 cropHints: Map<Point, Rect> = emptyMap(), in getStaticWallpaperModel()
92 cropHints, in getStaticWallpaperModel()
DFakeWallpaperClient.kt173 cropHints: Map<Point, Rect>? in <lambda>()
DTestWallpaperPersister.java249 @NonNull Map<Point, Rect> cropHints, boolean allowBackup, int whichWallpaper) { in setStreamWithCropsToWallpaperManager() argument
DTestWallpaperPreferences.kt481 cropHints: Map<Point, Rect>?, in addStaticWallpaperToRecentWallpapers()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepository.kt180 suspend fun getWallpaperColors(bitmap: Bitmap, cropHints: Map<Point, Rect>?): WallpaperColors? = in <lambda>()
181 withContext(backgroundDispatcher) { client.getWallpaperColors(bitmap, cropHints) } in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/data/
DStaticWallpaperData.kt26 val cropHints: Map<Point, Rect>? = null, constant in com.android.wallpaper.picker.data.StaticWallpaperData
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/converter/
DDefaultWallpaperModelFactory.kt51 cropHints = wallpaperInfo.wallpaperCropHints in getWallpaperModel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DWallpaperPreferences.kt395 cropHints: Map<Point, Rect>?, in getWallpaperPresentationMode()
DDefaultWallpaperPersister.java411 @NonNull Map<Point, Rect> cropHints, boolean allowBackup, int whichWallpaper) { in setStreamWithCropsToWallpaperManager() argument
413 return mWallpaperManager.setStreamWithCrops(inputStream, cropHints, allowBackup, in setStreamWithCropsToWallpaperManager()
DDefaultWallpaperPreferences.kt900 cropHints: Map<Point, Rect>?, in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/
DWallpaperPreviewActivity.kt114 wallpaper.staticWallpaperData.cropHints?.let { in <lambda>()