Home
last modified time | relevance | path

Searched refs:cropLeft (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java102 int cropLeft, int cropTop, int cropRight, int cropBottom, in compressJpegFromYUV420pNative() argument
145 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in compressJpegFromYUV420p() argument
157 cropLeft, cropTop, cropRight, cropBottom, rot90)); in compressJpegFromYUV420p()
160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); in compressJpegFromYUV420p()
243 int cropLeft = crop.left; in compressJpegFromYUV420Image()
244 cropLeft = Math.max(cropLeft, 0); in compressJpegFromYUV420Image()
245 cropLeft = Math.min(cropLeft, img.getWidth() - 1); in compressJpegFromYUV420Image()
268 outBuf, quality, cropLeft, cropTop, cropRight, cropBot, in compressJpegFromYUV420Image()
DAspectRatio.java180 int cropLeft = 0; in getLargestCenterCrop() local
182 return new Rect(cropLeft, cropTop, cropRight, cropBottom); in getLargestCenterCrop()
186 int cropLeft = (area.width() - cropWidth) / 2; in getLargestCenterCrop() local
187 int cropRight = cropLeft + cropWidth; in getLargestCenterCrop()
190 return new Rect(cropLeft, cropTop, cropRight, cropBottom); in getLargestCenterCrop()
/packages/apps/Camera2/jni/
Djpegutil.cpp95 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in ForCropFollowedByRotation() argument
102 int cropXLow = min(cropLeft, cropRight); in ForCropFollowedByRotation()
104 int cropXHigh = max(cropLeft, cropRight); in ForCropFollowedByRotation()
319 int cropLeft, int cropTop, int cropRight, int cropBottom, in Compress() argument
325 finalWidth = cropRight - cropLeft; in Compress()
332 finalHeight = cropRight - cropLeft; in Compress()
335 finalHeight = cropRight - cropLeft; in Compress()
352 cropLeft, cropTop, cropRight, cropBottom, rot90); in Compress()
355 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90); in Compress()
Djpegutilnative.cpp84 jint cropLeft, jint cropTop, jint cropRight, jint cropBottom, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument
99 cropLeft, cropTop, cropRight, cropBottom, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
Djpegutil.h51 static Transform ForCropFollowedByRotation(int cropLeft, int cropTop,
167 int cropLeft, int cropTop, int cropRight, int cropBottom,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java202 int cropLeft = 0; in getNormalizedBitmap() local
210 cropLeft = (cropWidth - cropHeight) / 2; in getNormalizedBitmap()
217 if (scaleFactor < 1.0f || cropLeft != 0 || cropTop != 0 || originalHasAlpha) { in getNormalizedBitmap()
231 final Rect src = new Rect(cropLeft, cropTop, in getNormalizedBitmap()
232 cropLeft + cropWidth, cropTop + cropHeight); in getNormalizedBitmap()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java124 float cropLeft = -edges.left / scale; in getCrop() local
126 float cropRight = cropLeft + getWidth() / scale; in getCrop()
129 return new RectF(cropLeft, cropTop, cropRight, cropBottom); in getCrop()