Searched refs:cropSize (Results 1 – 8 of 8) sorted by relevance
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
H A D | WallpaperPreviewBitmapTransformation.java | 69 Rect cropSize = new Rect(x, y, x + Math.round(mScreenSize.x / scale), in transform() local 72 if (!originalSize.contains(cropSize)) { in transform() 76 cropped = Bitmap.createBitmap(toTransform, cropSize.left, cropSize.top, in transform() 77 cropSize.width(), cropSize.height()); in transform()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/ |
H A D | Program.cpp | 155 glUniform2f(mCropCenterLoc, desc.cropSize.x / 2.0f, desc.cropSize.y / 2.0f); in setUniforms()
|
H A D | GLESRenderEngine.cpp | 1332 mState.cropSize = half2(width, height); in setupCornerRadiusCropSize()
|
/aosp12/frameworks/native/libs/renderengine/gl/ |
H A D | Program.cpp | 167 glUniform2f(mCropCenterLoc, desc.cropSize.x / 2.0f, desc.cropSize.y / 2.0f); in setUniforms()
|
H A D | GLESRenderEngine.cpp | 1411 mState.cropSize = half2(width, height); in setupCornerRadiusCropSize()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/ |
H A D | Description.h | 57 half2 cropSize; member
|
/aosp12/frameworks/native/libs/renderengine/include/renderengine/private/ |
H A D | Description.h | 58 half2 cropSize; member
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | WallpaperCropUtils.java | 307 public static Rect calculateCropRect(Context context, Point hostViewSize, Point cropSize, in calculateCropRect() argument 312 return calculateCropRect(context, wallpaperZoom, rawWallpaperSize, cropSize, hostViewSize, in calculateCropRect()
|