Home
last modified time | relevance | path

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

/cts/tests/camera/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()
168 Size previewSize = getOrderedPreviewSizes(cameraId).get(0); in testDualTextureViewAndImageReaderPreview() local
170 new ImageVerifierListener(previewSize, ImageFormat.YUV_420_888); in testDualTextureViewAndImageReaderPreview()
171 yuvReader = makeImageReader(previewSize, in testDualTextureViewAndImageReaderPreview()
242 Size previewSize = getOrderedPreviewSizes(cameraId).get(0); in startTextureViewPreview() local
255 previewTexture[i].setDefaultBufferSize(previewSize.getWidth(), previewSize.getHeight()); in startTextureViewPreview()
257 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
156 previewSize, stillSize, in yuvBurstTestByCamera()
DRecordingTest.java1080 Size previewSize = null; in updatePreviewSurfaceWithVideo() local
1096 previewSize = s; in updatePreviewSurfaceWithVideo()
1102 if (previewSize == null) { in updatePreviewSurfaceWithVideo()
1103 previewSize = videoSize; in updatePreviewSurfaceWithVideo()
1105 updatePreviewSurface(previewSize); in updatePreviewSurfaceWithVideo()
DBurstCaptureRawTest.java495 Size previewSize = mOrderedPreviewSizes.get(0); in initCaptureSetupForPreviewAndRaw() local
509 CaptureSetup setup = new CaptureSetup(previewSize, rawSize, previewCaptureBuilder, in initCaptureSetupForPreviewAndRaw()
DCaptureRequestTest.java672 Size previewSize = in dynamicBlackWhiteLevelTestByCamera() local
687 prepareRawCaptureAndStartPreview(previewBuilder, rawBuilder, previewSize, rawSize, in dynamicBlackWhiteLevelTestByCamera()
690 startPreview(previewBuilder, previewSize, resultListener); in dynamicBlackWhiteLevelTestByCamera()
2075 private void digitalZoomTestByCamera(Size previewSize) throws Exception {
2112 updatePreviewSurface(previewSize);
2155 " Preview size is " + previewSize);
DDngCreatorTest.java230 Size previewSize = mOrderedPreviewSizes.get(mOrderedPreviewSizes.size() - 1); in testSingleImageThumbnail() local
242 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
DCaptureResultTest.java290 Size previewSize = mOrderedPreviewSizes.get(0); in testResultTimestamps() local
294 previewReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testResultTimestamps()
/cts/tests/camera/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/camera/src/android/hardware/cts/
DCameraTest.java648 Size previewSize = previewSizes.get(0); in assertParameters() local
702 parameters.setPreviewSize(previewSize.width, previewSize.height); in assertParameters()
703 assertEquals(previewSize.width, parameters.getPreviewSize().width); in assertParameters()
704 assertEquals(previewSize.height, parameters.getPreviewSize().height); in assertParameters()
713 assertEquals(previewSize.width, paramActual.getPreviewSize().width); in assertParameters()
714 assertEquals(previewSize.height, paramActual.getPreviewSize().height); in assertParameters()
1787 for (Size previewSize: parameters.getSupportedPreviewSizes()) {
1789 Log.v(TAG, "Test previewSize=(" + previewSize.width + "," +
1790 previewSize.height + ") pictureSize=(" +
1794 callback.expectedPreviewSize = previewSize;
[all …]
DCameraGLTest.java652 public void setCameraSizing(Camera.Size previewSize) { in setCameraSizing() argument
653 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()