/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 102 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() 251 int cropTop = crop.top; in compressJpegFromYUV420Image() 252 cropTop = Math.max(cropTop, 0); in compressJpegFromYUV420Image() 253 cropTop = Math.min(cropTop, img.getHeight() - 1); in compressJpegFromYUV420Image() 268 outBuf, quality, cropLeft, cropTop, cropRight, cropBot, in compressJpegFromYUV420Image()
|
D | AspectRatio.java | 178 int cropTop = (area.height() - cropHeight) / 2; in getLargestCenterCrop() local 179 int cropBottom = cropTop + cropHeight; in getLargestCenterCrop() 182 return new Rect(cropLeft, cropTop, cropRight, cropBottom); in getLargestCenterCrop() 188 int cropTop = 0; in getLargestCenterCrop() local 190 return new Rect(cropLeft, cropTop, cropRight, cropBottom); in getLargestCenterCrop()
|
/packages/apps/Camera2/jni/ |
D | jpegutil.cpp | 95 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in ForCropFollowedByRotation() argument 103 int cropYLow = min(cropTop, cropBottom); in ForCropFollowedByRotation() 105 int cropYHigh = max(cropTop, cropBottom); in ForCropFollowedByRotation() 319 int cropLeft, int cropTop, int cropRight, int cropBottom, in Compress() argument 326 finalHeight = cropBottom - cropTop; in Compress() 331 finalWidth = cropBottom - cropTop; in Compress() 334 finalWidth = cropBottom - cropTop; in Compress() 352 cropLeft, cropTop, cropRight, cropBottom, rot90); in Compress() 355 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90); in Compress()
|
D | jpegutilnative.cpp | 84 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()
|
D | jpegutil.h | 51 static Transform ForCropFollowedByRotation(int cropLeft, int cropTop, 167 int cropLeft, int cropTop, int cropRight, int cropBottom,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 203 int cropTop = 0; in getNormalizedBitmap() local 207 cropTop = (cropHeight - cropWidth) / 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/ |
D | CropView.java | 125 float cropTop = -edges.top / scale; in getCrop() local 127 float cropBottom = cropTop + getHeight() / scale; in getCrop() 129 return new RectF(cropLeft, cropTop, cropRight, cropBottom); in getCrop()
|