Searched refs:maxPreviewSize (Results 1 – 6 of 6) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 205 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in preparePerformanceTestByCamera() local 217 updatePreviewSurface(maxPreviewSize); in preparePerformanceTestByCamera() 358 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in surfaceEqualityTestByCamera() local 364 sharedOutputTexture.setDefaultBufferSize(maxPreviewSize.getWidth(), in surfaceEqualityTestByCamera() 365 maxPreviewSize.getHeight()); in surfaceEqualityTestByCamera() 368 updatePreviewSurface(maxPreviewSize); in surfaceEqualityTestByCamera() 400 updatePreviewSurface(maxPreviewSize); in surfaceEqualityTestByCamera() 451 Size maxPreviewSize = m1080pBoundedOrderedPreviewSizes.get(0); in testDeferredSurfacesByCamera() local 457 sharedOutputTexture.setDefaultBufferSize(maxPreviewSize.getWidth(), in testDeferredSurfacesByCamera() 458 maxPreviewSize.getHeight()); in testDeferredSurfacesByCamera() [all …]
|
D | RecordingTest.java | 908 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in basicRecordingTestByCamera() local 930 (videoSz.getWidth() > maxPreviewSize.getWidth() || in basicRecordingTestByCamera() 931 videoSz.getHeight() > maxPreviewSize.getHeight())) { in basicRecordingTestByCamera() 1157 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in videoSnapshotTestByCamera() local 1160 (videoSz.getWidth() > maxPreviewSize.getWidth() || in videoSnapshotTestByCamera() 1161 videoSz.getHeight() > maxPreviewSize.getHeight())) { in videoSnapshotTestByCamera() 1214 videoSz.getWidth() <= maxPreviewSize.getWidth() && in videoSnapshotTestByCamera() 1215 videoSz.getHeight() <= maxPreviewSize.getHeight()) { in videoSnapshotTestByCamera() 1407 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in updatePreviewSurfaceWithVideo() local 1409 if (videoSize.getWidth() > maxPreviewSize.getWidth() || in updatePreviewSurfaceWithVideo() [all …]
|
D | CaptureRequestTest.java | 740 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in testDigitalZoom() local 741 digitalZoomTestByCamera(maxPreviewSize); in testDigitalZoom() 2071 Size maxPreviewSize = mOrderedPreviewSizes.get(0); 2075 startPreview(requestBuilder, maxPreviewSize, /*listener*/null); 2150 Size maxPreviewSize = mOrderedPreviewSizes.get(0); 2153 startPreview(requestBuilder, maxPreviewSize, /*listener*/null); 2197 Size maxPreviewSize = mOrderedPreviewSizes.get(0); 2201 startPreview(requestBuilder, maxPreviewSize, listener); 2401 Size maxPreviewSize = mOrderedPreviewSizes.get(0); 2402 aspectRatiosTested.add((double)(maxPreviewSize.getWidth()) / maxPreviewSize.getHeight()); [all …]
|
D | PerformanceTest.java | 985 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in prepareReprocessCapture() local 991 updatePreviewSurface(maxPreviewSize); in prepareReprocessCapture() 1071 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in initializeImageReader() local 1072 createImageReader(maxPreviewSize, format, NUM_MAX_IMAGES, /*listener*/null); in initializeImageReader() 1073 updatePreviewSurface(maxPreviewSize); in initializeImageReader()
|
D | ImageReaderTest.java | 363 Size maxPreviewSize = mOrderedPreviewSizes.get(0); in testAllOutputYUVResolutions() local 403 if (captureSz.getWidth() > maxPreviewSize.getWidth() || in testAllOutputYUVResolutions() 404 captureSz.getHeight() > maxPreviewSize.getHeight()) { in testAllOutputYUVResolutions() 409 + "max preview size (" + maxPreviewSize in testAllOutputYUVResolutions()
|
D | RobustnessTest.java | 1373 Size maxPreviewSize = getMaxPreviewSize(context, cameraId); in MaxStreamSizes() local 1380 maxPrivSizes[PREVIEW] = getMaxSize(privSizes, maxPreviewSize); in MaxStreamSizes() 1381 maxYuvSizes[PREVIEW] = getMaxSize(yuvSizes, maxPreviewSize); in MaxStreamSizes() 1382 maxJpegSizes[PREVIEW] = getMaxSize(jpegSizes, maxPreviewSize); in MaxStreamSizes()
|