HomeSort by relevance Sort by last modified time
    Searched refs:cropHeight (Results 1 - 9 of 9) sorted by null

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 206 int cropHeight = original.getHeight();
209 if (forceCropToSquare && cropWidth != cropHeight) {
211 if (cropHeight > cropWidth) {
212 cropTop = (cropHeight - cropWidth) / 2;
213 cropHeight = cropWidth;
215 cropLeft = (cropWidth - cropHeight) / 2;
216 cropWidth = cropHeight;
220 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight));
224 final int newHeight = (int) (cropHeight * scaleFactor);
234 cropLeft + cropWidth, cropTop + cropHeight);
    [all...]
  /device/lge/mako/camera/inc/
omx_jpeg_ext.h 95 int cropHeight;
  /frameworks/av/media/libstagefright/colorconversion/
ColorConverter.cpp 75 size_t ColorConverter::BitmapParams::cropHeight() const {
143 && src.cropHeight() == dst.cropHeight())) {
153 for (size_t y = 0; y < src.cropHeight(); ++y) {
203 && src.cropHeight() == dst.cropHeight())) {
222 for (size_t y = 0; y < src.cropHeight(); ++y) {
299 && src.cropHeight() == dst.cropHeight())) {
313 for (size_t y = 0; y < src.cropHeight(); ++y)
    [all...]
  /frameworks/av/include/media/stagefright/
ColorConverter.h 55 size_t cropHeight() const;
  /packages/apps/Gallery/src/com/android/camera/
CropImage.java 479 int cropHeight = cropWidth;
483 cropHeight = cropWidth * mAspectY / mAspectX;
485 cropWidth = cropHeight * mAspectX / mAspectY;
490 int y = (height - cropHeight) / 2;
492 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight);
  /frameworks/base/core/java/android/app/
WallpaperManager.java 554 float cropHeight = outHeight * (inWidth / (float) outWidth);
555 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
556 cropRect.bottom = cropRect.top + cropHeight;
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeDecodeTest.java     [all...]
  /device/lge/mako/camera/mm-camera-interface/
mm_omx_jpeg_encoder.c 598 thumbnail.cropHeight = CEILING2(encode_params->dimension->thumbnail_height);
604 thumbnail.cropHeight = CEILING2(encode_params->scaling_params->in1_h);
  /device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/
mm_jpeg.c 312 thumbnail.cropHeight = CEILING2(src_buf->crop.height);
    [all...]

Completed in 572 milliseconds