/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 89 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()
|
D | ReprocessCaptureTest.java | 475 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 …]
|
D | BurstCaptureTest.java | 84 final Size previewSize = mOrderedPreviewSizes.get(0); in yuvBurstTestByCamera() local 158 previewSize, stillSize, in yuvBurstTestByCamera()
|
D | RecordingTest.java | 1017 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()
|
D | BurstCaptureRawTest.java | 496 Size previewSize = mOrderedPreviewSizes.get(0); in initCaptureSetupForPreviewAndRaw() local 510 CaptureSetup setup = new CaptureSetup(previewSize, rawSize, previewCaptureBuilder, in initCaptureSetupForPreviewAndRaw()
|
D | DngCreatorTest.java | 199 Size previewSize = mOrderedPreviewSizes.get(mOrderedPreviewSizes.size() - 1); in testSingleImageThumbnail() local 211 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
|
D | CaptureResultTest.java | 289 Size previewSize = mOrderedPreviewSizes.get(0); in testResultTimestamps() local 293 previewReader = makeImageReader(previewSize, ImageFormat.YUV_420_888, in testResultTimestamps()
|
D | CaptureRequestTest.java | 1748 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/ |
D | Camera2MultiViewTestCase.java | 139 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/ |
D | CameraTest.java | 650 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 …]
|
D | CameraGLTest.java | 649 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/ |
D | CameraFormatsActivity.java | 369 for (Camera.Size previewSize: mPreviewSizes) { in setUpCamera() 372 + previewSize.width + "x" + previewSize.height in setUpCamera()
|