Searched refs:bufferRect (Results 1 – 3 of 3) sorted by relevance
84 protected RectF getTargetRect(Rect frameRect, Rect bufferRect) { in getTargetRect() argument86 if (bufferRect.width() > 0 && bufferRect.height() > 0) { in getTargetRect()88 float bufferAR = (float)bufferRect.width() / bufferRect.height(); in getTargetRect()
653 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform() local656 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform()657 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
890 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer() local892 crop.intersect(bufferRect, &croppedRect); in queueBuffer()