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