Home
last modified time | relevance | path

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

/packages/apps/Camera2/jni/
Djpegutilnative.cpp141 int srcX = height - 1 - y; 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()
150 int srcX = width - 1 - x; 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()
159 int srcX = y; 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/
DBitmapUtil.java154 int srcX, srcY; in crop() local
158 srcX = (int) (srcWidth * horizontalCenterPercent - srcCroppedW / 2); in crop()
162 srcX = Math.max(Math.min(srcX, srcWidth - srcCroppedW), 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()