Lines Matching refs:cropRect
618 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight());
620 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
639 RectF cropRect = new RectF();
642 cropRect.top = 0;
643 cropRect.bottom = inHeight;
645 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
646 cropRect.right = cropRect.left + cropWidth;
648 cropRect.left = 0;
649 cropRect.right = inWidth;
651 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
652 cropRect.bottom = cropRect.top + cropHeight;
654 return cropRect;