Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java38 private Point mDefaultCropSurfaceSize; field in WallpaperPreviewBitmapTransformation
45 mDefaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in WallpaperPreviewBitmapTransformation()
57 float scale = Math.max((float) mDefaultCropSurfaceSize.x / toTransform.getWidth(), in transform()
58 (float) mDefaultCropSurfaceSize.y / toTransform.getHeight()); in transform()
62 scaledThumbnailSize, mDefaultCropSurfaceSize, false /* alignStart */, mIsRtl); in transform()
65 mDefaultCropSurfaceSize, mScreenSize, true /* alignStart */, mIsRtl); in transform()
DImagePreviewFragment.java61 private Point mDefaultCropSurfaceSize; field in ImagePreviewFragment
106 mDefaultCropSurfaceSize = WallpaperCropUtils.getDefaultCropSurfaceSize( in onCreateView()
281 WallpaperCropUtils.calculateMinZoom(mRawWallpaperSize, mDefaultCropSurfaceSize); in setDefaultWallpaperZoomAndScroll()
286 mDefaultCropSurfaceSize, mScreenSize, true /* alignStart */, isRtl()); in setDefaultWallpaperZoomAndScroll()
291 zoomedWallpaperSize, mDefaultCropSurfaceSize, false /* alignStart */, isRtl()); in setDefaultWallpaperZoomAndScroll()