Searched refs:cropWidth (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 181 size_t ColorConverter::BitmapParams::cropWidth() const { in cropWidth() function in android::ColorConverter::BitmapParams 209 && src.cropWidth() == dst.cropWidth() in convert() 281 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertCbYCrY() 312 if (x + 1 < src.cropWidth()) { in convertCbYCrY() 353 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 361 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 369 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 395 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV() 400 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV() 405 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Settings.java | 561 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/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 68 size_t cropWidth() const;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 630 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/ |
D | WallpaperManager.java | 756 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect() local 757 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect() 758 cropRect.right = cropRect.left + cropWidth; in getMaxCropRect()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1634 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local 1638 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom() 1640 /*right*/ cropCenterX + cropWidth / 2 - 1, in getCropRegionForZoom()
|