Searched refs:imageRect (Results 1 – 1 of 1) sorted by relevance
845 RectF imageRect = new RectF(0, 0, mPreviewSize.getWidth(), mPreviewSize.getHeight()); in configureImageViewTransform() local846 matrix.mapRect(imageRect, imageRect); in configureImageViewTransform()847 matrix.postTranslate(-imageRect.left, -imageRect.top); in configureImageViewTransform()848 matrix.postTranslate(viewRect.width() / 2 - imageRect.width() / 2, in configureImageViewTransform()849 viewRect.height() / 2 - imageRect.height() / 2); in configureImageViewTransform()