Home
last modified time | relevance | path

Searched refs:previewSize (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DMultiViewTest.java89 Size previewSize = getOrderedPreviewSizes(cameraId).get(0); in testTextureViewPreviewWithImageReader() local
91 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testTextureViewPreviewWithImageReader()
92 yuvReader = makeImageReader(previewSize, in testTextureViewPreviewWithImageReader()
162 Size previewSize = getOrderedPreviewSizes(cameraId).get(0); in testDualTextureViewAndImageReaderPreview() local
164 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testDualTextureViewAndImageReaderPreview()
165 yuvReader = makeImageReader(previewSize, in testDualTextureViewAndImageReaderPreview()
233 Size previewSize = getOrderedPreviewSizes(cameraId).get(0); in startTextureViewPreview() local
246 previewTexture[i].setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in startTextureViewPreview()
248 updatePreviewDisplayRotation(previewSize, view); in startTextureViewPreview()
DReprocessCaptureTest.java475 int reprocessOutputFormat, Size previewSize, CaptureTestCase captureTestCase) in testReprocessingMaxSizes() argument
484 reprocessOutputFormat, previewSize, NUM_REPROCESS_CAPTURES); in testReprocessingMaxSizes()
509 private void testReprocessingAllCombinations(String cameraId, Size previewSize, in testReprocessingAllCombinations() argument
532 reprocessOutputSize, reprocessOutputFormat, previewSize, in testReprocessingAllCombinations()
537 reprocessOutputSize, reprocessOutputFormat, previewSize, in testReprocessingAllCombinations()
542 reprocessOutputSize, reprocessOutputFormat, previewSize, in testReprocessingAllCombinations()
558 Size reprocessOutputSize, int reprocessOutputFormat, Size previewSize, in testReprocessMixedBurst() argument
564 " previewSize: " + previewSize + " numBurst: " + numBurst); in testReprocessMixedBurst()
567 boolean enablePreview = (previewSize != null); in testReprocessMixedBurst()
575 updatePreviewSurface(previewSize); in testReprocessMixedBurst()
[all …]
DBurstCaptureTest.java84 final Size previewSize = mOrderedPreviewSizes.get(0); in yuvBurstTestByCamera() local
158 previewSize, stillSize, in yuvBurstTestByCamera()
DRecordingTest.java1017 Size previewSize = null; in updatePreviewSurfaceWithVideo() local
1033 previewSize = s; in updatePreviewSurfaceWithVideo()
1039 if (previewSize == null) { in updatePreviewSurfaceWithVideo()
1040 previewSize = videoSize; in updatePreviewSurfaceWithVideo()
1042 updatePreviewSurface(previewSize); in updatePreviewSurfaceWithVideo()
DBurstCaptureRawTest.java496 Size previewSize = mOrderedPreviewSizes.get(0); in initCaptureSetupForPreviewAndRaw() local
510 CaptureSetup setup = new CaptureSetup(previewSize, rawSize, previewCaptureBuilder, in initCaptureSetupForPreviewAndRaw()
DDngCreatorTest.java199 Size previewSize = mOrderedPreviewSizes.get(mOrderedPreviewSizes.size() - 1); in testSingleImageThumbnail() local
211 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
DCaptureResultTest.java289 Size previewSize = mOrderedPreviewSizes.get(0); in testResultTimestamps() local
293 previewReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testResultTimestamps()
DCaptureRequestTest.java1748 private void digitalZoomTestByCamera(Size previewSize) throws Exception {
1785 updatePreviewSurface(previewSize);
1828 " Preview size is " + previewSize);
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java139 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument
171 int effectiveWidth = previewSize.getWidth(); in updatePreviewDisplayRotation()
172 int effectiveHeight = previewSize.getHeight(); in updatePreviewDisplayRotation()
174 effectiveWidth = previewSize.getHeight(); in updatePreviewDisplayRotation()
175 effectiveHeight = previewSize.getWidth(); in updatePreviewDisplayRotation()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java650 Size previewSize = previewSizes.get(0); in assertParameters() local
704 parameters.setPreviewSize(previewSize.width, previewSize.height); in assertParameters()
705 assertEquals(previewSize.width, parameters.getPreviewSize().width); in assertParameters()
706 assertEquals(previewSize.height, parameters.getPreviewSize().height); in assertParameters()
715 assertEquals(previewSize.width, paramActual.getPreviewSize().width); in assertParameters()
716 assertEquals(previewSize.height, paramActual.getPreviewSize().height); in assertParameters()
1790 for (Size previewSize: parameters.getSupportedPreviewSizes()) {
1792 Log.v(TAG, "Test previewSize=(" + previewSize.width + "," +
1793 previewSize.height + ") pictureSize=(" +
1797 callback.expectedPreviewSize = previewSize;
[all …]
DCameraGLTest.java649 public void setCameraSizing(Camera.Size previewSize) { in setCameraSizing() argument
650 mCameraRatio = (float)previewSize.width/previewSize.height; in setCameraSizing()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java369 for (Camera.Size previewSize: mPreviewSizes) { in setUpCamera()
372 + previewSize.width + "x" + previewSize.height in setUpCamera()