Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java184 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in updatePreviewDisplayRotation() local
186 float centerX = viewRect.centerX(); in updatePreviewDisplayRotation()
187 float centerY = viewRect.centerY(); in updatePreviewDisplayRotation()
191 transformMatrix.setRectToRect(viewRect, bufRect, Matrix.ScaleToFit.FILL); in updatePreviewDisplayRotation()
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java810 Rect viewRect = new Rect(0, 0, mImageViewRegular.getWidth(), mImageViewRegular.getHeight()); in testAnimateTransform() local
813 assertEquals(viewRect, mImageViewRegular.getDrawable().getBounds()); in testAnimateTransform()
825 assertEquals(viewRect, mImageViewRegular.getDrawable().getBounds()); in testAnimateTransform()
835 Rect viewRect = new Rect(0, 0, mImageViewRegular.getWidth(), mImageViewRegular.getHeight()); in testAnimateTransformWithNullPassed() local
843 assertEquals(viewRect, mImageViewRegular.getDrawable().getBounds()); in testAnimateTransformWithNullPassed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java713 RectF viewRect = new RectF(0, 0, mPreviewTexWidth, mPreviewTexHeight); in configurePreviewTextureTransform() local
715 float centerX = viewRect.centerX(); in configurePreviewTextureTransform()
716 float centerY = viewRect.centerY(); in configurePreviewTextureTransform()
720 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configurePreviewTextureTransform()