Home
last modified time | relevance | path

Searched refs:cropWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp71 size_t ColorConverter::BitmapParams::cropWidth() const { in cropWidth() function in android::ColorConverter::BitmapParams
142 && src.cropWidth() == dst.cropWidth() in convertCbYCrY()
154 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertCbYCrY()
185 if (x + 1 < src.cropWidth()) { in convertCbYCrY()
202 && src.cropWidth() == dst.cropWidth() in convertYUV420Planar()
223 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertYUV420Planar()
273 if (x + 1 < src.cropWidth()) { in convertYUV420Planar()
298 && src.cropWidth() == dst.cropWidth() in convertQCOMYUV420SemiPlanar()
314 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertQCOMYUV420SemiPlanar()
346 if (x + 1 < src.cropWidth()) { in convertQCOMYUV420SemiPlanar()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java561 float cropHeight, cropWidth; in effectiveCropRectFromRequested() local
565 cropWidth = cropHeight * aspectRatioPreview; in effectiveCropRectFromRequested()
568 cropWidth = requestedCrop.width(); in effectiveCropRectFromRequested()
569 cropHeight = cropWidth / aspectRatioPreview; in effectiveCropRectFromRequested()
573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight); in effectiveCropRectFromRequested()
/frameworks/av/include/media/stagefright/
DColorConverter.h54 size_t cropWidth() const;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java630 final int cropWidth = mCropRect.right - mCropRect.left; in getCroppedPhoto() local
631 final float scaleWidth = CROPPED_SIZE / cropWidth; in getCroppedPhoto()
632 final float scaleHeight = CROPPED_SIZE / cropWidth; in getCroppedPhoto()
/frameworks/base/core/java/android/app/
DWallpaperManager.java627 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect() local
628 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()
629 cropRect.right = cropRect.left + cropWidth; in getMaxCropRect()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1562 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local
1566 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom()
1568 /*right*/ cropCenterX + cropWidth / 2 - 1, in getCropRegionForZoom()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java6375 int cropWidth = (int)((float)width / (float)height * frame.height()); in screenshotApplicationsInner() local
6376 crop.right = crop.left + cropWidth; in screenshotApplicationsInner()