/packages/apps/Camera2/src/com/android/camera/util/ |
AspectRatio.java | 178 int cropTop = (area.height() - cropHeight) / 2; 179 int cropBottom = cropTop + cropHeight; 182 return new Rect(cropLeft, cropTop, cropRight, cropBottom); 188 int cropTop = 0; 190 return new Rect(cropLeft, cropTop, cropRight, cropBottom);
|
JpegUtilNative.java | 56 * <li>The image is cropped to the rectangle from (cropLeft, cropTop) to 87 * @param cropTop top-edge of the bounds of the image to crop to before 102 int cropLeft, int cropTop, int cropRight, int cropBottom, 145 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { 157 cropLeft, cropTop, cropRight, cropBottom, rot90)); 160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); 251 int cropTop = crop.top; 252 cropTop = Math.max(cropTop, 0); 253 cropTop = Math.min(cropTop, img.getHeight() - 1) [all...] |
/packages/apps/Camera2/jni/ |
jpegutil.cpp | 95 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { 103 int cropYLow = min(cropTop, cropBottom); 105 int cropYHigh = max(cropTop, cropBottom); 319 int cropLeft, int cropTop, int cropRight, int cropBottom, 326 finalHeight = cropBottom - cropTop; 331 finalWidth = cropBottom - cropTop; 334 finalWidth = cropBottom - cropTop; 352 cropLeft, cropTop, cropRight, cropBottom, rot90); 355 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90);
|
jpegutilnative.cpp | 38 * 1. The image is cropped to the rectangle from (cropLeft, cropTop) to 84 jint cropLeft, jint cropTop, jint cropRight, jint cropBottom, 99 cropLeft, cropTop, cropRight, cropBottom, //
|
jpegutil.h | 51 static Transform ForCropFollowedByRotation(int cropLeft, int cropTop, 167 int cropLeft, int cropTop, int cropRight, int cropBottom,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BorderCropDrawable.java | 31 boolean cropTop, boolean cropRight, boolean cropBottom) { 42 if (cropTop) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 210 int cropTop = 0; 214 cropTop = (cropHeight - cropWidth) / 2; 224 if (scaleFactor < 1.0f || cropLeft != 0 || cropTop != 0 || originalHasAlpha) { 238 final Rect src = new Rect(cropLeft, cropTop, 239 cropLeft + cropWidth, cropTop + cropHeight);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 51 size_t cropLeft, size_t cropTop,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 125 float cropTop = -edges.top / scale; 127 float cropBottom = cropTop + getHeight() / scale; 129 return new RectF(cropLeft, cropTop, cropRight, cropBottom);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 125 float cropTop = -edges.top / scale; 127 float cropBottom = cropTop + getHeight() / scale; 129 return new RectF(cropLeft, cropTop, cropRight, cropBottom);
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderDefs.h | 215 int32_t cropTop;
|
VideoDecoderVP8.cpp | 84 mVideoFormatInfo.cropTop = data->codec_data->crop_top;
|
VideoDecoderBase.cpp | [all...] |
VideoDecoderAVC.cpp | 762 mVideoFormatInfo.cropTop = data->codec_data->crop_top; [all...] |
/frameworks/av/media/libstagefright/ |
Utils.cpp | 135 int32_t cropLeft, cropTop, cropRight, cropBottom; 138 &cropTop, 141 msg->setRect("crop", cropLeft, cropTop, cropRight, cropBottom); 590 int32_t cropLeft, cropTop, cropRight, cropBottom; 593 &cropTop, 596 meta->setRect(kKeyCropRect, cropLeft, cropTop, cropRight, cropBottom);
|
AwesomePlayer.cpp | [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 60 size_t cropLeft, size_t cropTop, 66 mCropTop(cropTop),
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 760 final int cropTop = (layoutHeight - mCropSize) / 2; 762 final int cropBottom = cropTop + mCropSize; 766 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom); [all...] |
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderBase.cpp | 702 uint32_t heightCropped = formatInfo->height - formatInfo->cropTop - formatInfo->cropBottom; [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayer.cpp | [all...] |