Searched refs:cropWidth (Results 1 – 7 of 7) sorted by relevance
71 size_t ColorConverter::BitmapParams::cropWidth() const { in cropWidth() function in android::ColorConverter::BitmapParams142 && 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 …]
561 float cropHeight, cropWidth; in effectiveCropRectFromRequested() local565 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()
54 size_t cropWidth() const;
630 final int cropWidth = mCropRect.right - mCropRect.left; in getCroppedPhoto() local631 final float scaleWidth = CROPPED_SIZE / cropWidth; in getCroppedPhoto()632 final float scaleHeight = CROPPED_SIZE / cropWidth; in getCroppedPhoto()
627 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect() local628 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()629 cropRect.right = cropRect.left + cropWidth; in getMaxCropRect()
1562 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom() local1566 /*left*/cropCenterX - cropWidth / 2, in getCropRegionForZoom()1568 /*right*/ cropCenterX + cropWidth / 2 - 1, in getCropRegionForZoom()
6375 int cropWidth = (int)((float)width / (float)height * frame.height()); in screenshotApplicationsInner() local6376 crop.right = crop.left + cropWidth; in screenshotApplicationsInner()