/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 207 int cropWidth = original.getWidth(); 211 if (forceCropToSquare && cropWidth != cropHeight) { 213 if (cropHeight > cropWidth) { 214 cropTop = (cropHeight - cropWidth) / 2; 215 cropHeight = cropWidth; 217 cropLeft = (cropWidth - cropHeight) / 2; 218 cropWidth = cropHeight; 222 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight)); 225 final int newWidth = (int) (cropWidth * scaleFactor); 239 cropLeft + cropWidth, cropTop + cropHeight) [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 71 size_t ColorConverter::BitmapParams::cropWidth() const { 142 && src.cropWidth() == dst.cropWidth() 154 for (size_t x = 0; x < src.cropWidth(); x += 2) { 185 if (x + 1 < src.cropWidth()) { 202 && src.cropWidth() == dst.cropWidth() 223 for (size_t x = 0; x < src.cropWidth(); x += 2) { 273 if (x + 1 < src.cropWidth()) { 298 && src.cropWidth() == dst.cropWidth( [all...] |
/device/lge/mako/camera/inc/ |
omx_jpeg_ext.h | 94 int cropWidth;
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 54 size_t cropWidth() const;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
AndroidCamera2Settings.java | 552 float cropHeight, cropWidth; 556 cropWidth = cropHeight * aspectRatioPreview; 559 cropWidth = requestedCrop.width(); 560 cropHeight = cropWidth / aspectRatioPreview; 564 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderBase.cpp | [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
CropImage.java | 478 int cropWidth = Math.min(width, height) * 4 / 5; 479 int cropHeight = cropWidth; 483 cropHeight = cropWidth * mAspectY / mAspectX; 485 cropWidth = cropHeight * mAspectX / mAspectY; 489 int x = (width - cropWidth) / 2; 492 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight);
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 536 float cropWidth = outWidth * (inHeight / (float) outHeight); 537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; 538 cropRect.right = cropRect.left + cropWidth; [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraTestUtils.java | [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 659 final int cropWidth = mCropRect.right - mCropRect.left; 660 final float scaleWidth = CROPPED_SIZE / cropWidth; 661 final float scaleHeight = CROPPED_SIZE / cropWidth; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_omx_jpeg_encoder.c | 597 thumbnail.cropWidth = CEILING2(encode_params->dimension->thumbnail_width); 603 thumbnail.cropWidth = CEILING2(encode_params->scaling_params->in1_w);
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 354 thumbnail.cropWidth = CEILING2(src_buf->crop.width); 376 __func__, thumbnail.cropWidth, thumbnail.cropHeight, [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_mdpcomp.cpp | [all...] |
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 311 thumbnail.cropWidth = CEILING2(src_buf->crop.width); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowManagerService.java | [all...] |