Home
last modified time | relevance | path

Searched refs:bufferRect (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DViewFilter.java84 protected RectF getTargetRect(Rect frameRect, Rect bufferRect) { in getTargetRect() argument
86 if (bufferRect.width() > 0 && bufferRect.height() > 0) { in getTargetRect()
88 float bufferAR = (float)bufferRect.width() / bufferRect.height(); in getTargetRect()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java653 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform() local
656 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform()
657 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp890 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer() local
892 crop.intersect(bufferRect, &croppedRect); in queueBuffer()