Lines Matching refs:cropRect
510 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight());
512 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
531 RectF cropRect = new RectF();
534 cropRect.top = 0;
535 cropRect.bottom = inHeight;
537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
538 cropRect.right = cropRect.left + cropWidth;
540 cropRect.left = 0;
541 cropRect.right = inWidth;
543 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
544 cropRect.bottom = cropRect.top + cropHeight;
546 return cropRect;