/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 | 210 int cropTop = 0; in getNormalizedBitmap() local 214 cropTop = (cropHeight - cropWidth) / 2; in getNormalizedBitmap() 224 if (scaleFactor < 1.0f || cropLeft != 0 || cropTop != 0 || originalHasAlpha) { in getNormalizedBitmap() 238 final Rect src = new Rect(cropLeft, cropTop, in getNormalizedBitmap() 239 cropLeft + cropWidth, cropTop + cropHeight); in getNormalizedBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BorderCropDrawable.java | 31 boolean cropTop, boolean cropRight, boolean cropBottom) { in BorderCropDrawable() argument 42 if (cropTop) { in BorderCropDrawable()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | CropView.java | 126 float cropTop = -edges.top / scale; in getCrop() local 128 float cropBottom = cropTop + getHeight() / scale; in getCrop() 130 return new RectF(cropLeft, cropTop, cropRight, cropBottom); in getCrop()
|