Home
last modified time | relevance | path

Searched refs:cropSize (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DWallpaperPreviewBitmapTransformation.java69 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 DProgram.cpp155 glUniform2f(mCropCenterLoc, desc.cropSize.x / 2.0f, desc.cropSize.y / 2.0f); in setUniforms()
H A DGLESRenderEngine.cpp1332 mState.cropSize = half2(width, height); in setupCornerRadiusCropSize()
/aosp12/frameworks/native/libs/renderengine/gl/
H A DProgram.cpp167 glUniform2f(mCropCenterLoc, desc.cropSize.x / 2.0f, desc.cropSize.y / 2.0f); in setUniforms()
H A DGLESRenderEngine.cpp1411 mState.cropSize = half2(width, height); in setupCornerRadiusCropSize()
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/
H A DDescription.h57 half2 cropSize; member
/aosp12/frameworks/native/libs/renderengine/include/renderengine/private/
H A DDescription.h58 half2 cropSize; member
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DWallpaperCropUtils.java307 public static Rect calculateCropRect(Context context, Point hostViewSize, Point cropSize, in calculateCropRect() argument
312 return calculateCropRect(context, wallpaperZoom, rawWallpaperSize, cropSize, hostViewSize, in calculateCropRect()