/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/ |
D | FullResImageViewUtil.kt | 22 import com.android.wallpaper.util.WallpaperCropUtils 50 WallpaperCropUtils.calculateVisibleRect(rawWallpaperSize, viewSize) in getScaleAndCenter() 61 WallpaperCropUtils.calculateMinZoom( in getScaleAndCenter() 66 WallpaperCropUtils.calculateMinZoom( in getScaleAndCenter()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/ |
D | StaticWallpaperPreviewBinder.kt | 36 import com.android.wallpaper.util.WallpaperCropUtils in <lambda>() 94 WallpaperCropUtils.calculateVisibleRect( in <lambda>() 101 WallpaperCropUtils.calculateMinZoom( in <lambda>() 107 WallpaperCropUtils.calculateCropSurfaceSize( in <lambda>() 163 WallpaperCropUtils.getSystemWallpaperMaximumScale( in <lambda>()
|
D | FullWallpaperPreviewBinder.kt | 51 import com.android.wallpaper.util.WallpaperCropUtils in <lambda>() 265 WallpaperCropUtils.calculateCropSurfaceSize( in <lambda>() 336 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(applicationContext) in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | SystemScaledSubsamplingScaleImageView.kt | 20 import com.android.wallpaper.util.WallpaperCropUtils 32 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onMeasure() 39 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onLayout()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPreviewBitmapTransformation.java | 28 import com.android.wallpaper.util.WallpaperCropUtils; 57 float scale = WallpaperCropUtils.calculateMinZoom( in transform() 64 Point scaledThumbnailToScreenSize = WallpaperCropUtils.calculateCenterPosition( in transform()
|
D | ImagePreviewFragment.java | 75 import com.android.wallpaper.util.WallpaperCropUtils; 224 float screenScale = WallpaperCropUtils.getScaleOfScreenResolution( in setWallpaper() 405 WallpaperCropUtils.calculateVisibleRect(mRawWallpaperSize, crop); in setDefaultWallpaperZoomAndScroll() 422 final float defaultWallpaperZoom = WallpaperCropUtils.calculateMinZoom( in setDefaultWallpaperZoomAndScroll() 447 Point cropSurfaceSize = WallpaperCropUtils.calculateCropSurfaceSize(res, maxCrop, minCrop, in calculateCropRect() 449 Rect result = WallpaperCropUtils.calculateCropRect(appContext, hostViewSize, in calculateCropRect() 496 float scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context); in surfaceCreated()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperCropUtils.java | 33 public final class WallpaperCropUtils { class 42 private WallpaperCropUtils() { in WallpaperCropUtils() method in WallpaperCropUtils 176 WallpaperCropUtils.adjustCurrentWallpaperCropRect(context, wallpaperSize, in calculateDefaultCenter() 304 Point defaultCropSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in calculateCropRect()
|
D | BitmapProcessor.java | 44 WallpaperCropUtils.fitToSize(rect, outWidth / DOWNSAMPLE, outHeight / DOWNSAMPLE); in createLowResBitmap()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 54 import com.android.wallpaper.util.WallpaperCropUtils; 308 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in cropAndSetWallpaperBitmapInRotationStatic() 314 WallpaperCropUtils.calculateMinZoom(wallpaperSize, screenSize); in cropAndSetWallpaperBitmapInRotationStatic() 316 PointF centerPosition = WallpaperCropUtils.calculateDefaultCenter(mAppContext, in cropAndSetWallpaperBitmapInRotationStatic() 317 wallpaperSize, WallpaperCropUtils.calculateVisibleRect(wallpaperSize, screenSize)); in cropAndSetWallpaperBitmapInRotationStatic() 325 Rect cropRect = WallpaperCropUtils.calculateCropRect(mAppContext, minWallpaperZoom, in cropAndSetWallpaperBitmapInRotationStatic()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 63 import com.android.wallpaper.util.WallpaperCropUtils; 465 Point defaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in testSetsDefaultWallpaperZoomAndScroll() 473 expectedWallpaperZoom = WallpaperCropUtils.calculateMinZoom( in testSetsDefaultWallpaperZoomAndScroll() 483 Point cropSurfaceToScreen = WallpaperCropUtils.calculateCenterPosition( in testSetsDefaultWallpaperZoomAndScroll() 485 Point wallpaperToCropSurface = WallpaperCropUtils.calculateCenterPosition( in testSetsDefaultWallpaperZoomAndScroll()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | CurrentWallpaperAsset.java | 34 import com.android.wallpaper.util.WallpaperCropUtils; 148 WallpaperCropUtils.adjustCurrentWallpaperCropRect(context, assetDimensions, cropRect); in adjustCropRect()
|
D | Asset.java | 43 import com.android.wallpaper.util.WallpaperCropUtils; 371 WallpaperCropUtils.calculateVisibleRect(dimensions, screenSize); in loadPreviewImage() 461 WallpaperCropUtils.adjustCropRect(context, cropRect, true /* zoomIn */); in adjustCropRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 61 import com.android.wallpaper.util.WallpaperCropUtils in <lambda>() 653 WallpaperCropUtils.calculateCropRect( in <lambda>()
|