Searched refs:srcY (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Camera2/jni/ |
D | jpegutilnative.cpp | 142 int srcY = x; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local 143 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 151 int srcY = height - 1 - y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local 152 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 160 int srcY = width - 1 - x; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local 161 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | BitmapUtil.java | 154 int srcX, srcY; in crop() local 159 srcY = (int) (srcHeight * verticalCenterPercent - srcCroppedH / 2); in crop() 163 srcY = Math.max(Math.min(srcY, srcHeight - srcCroppedH), 0); in crop() 165 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, in crop() 171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale, in crop()
|