Home
last modified time | relevance | path

Searched refs:previewSizes (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java239 List<Camera.Size> previewSizes = camera.getParameters().getSupportedPreviewSizes(); in testStressRecorder() local
240 width = previewSizes.get(0).width; in testStressRecorder()
241 height = previewSizes.get(0).height; in testStressRecorder()
242 for (Camera.Size size : previewSizes) { in testStressRecorder()
338 List<Camera.Size> previewSizes = mCamera.getParameters().getSupportedPreviewSizes(); in testStressCameraSwitchRecorder() local
339 width = previewSizes.get(0).width; in testStressCameraSwitchRecorder()
340 height = previewSizes.get(0).height; in testStressCameraSwitchRecorder()
341 for (Camera.Size size : previewSizes) { in testStressCameraSwitchRecorder()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1013 List<Size> previewSizes = getPreviewSizesForVideo(videoSz, in doRecordingWithDifferentPreviewSizes() local
1015 if (previewSizes.size() <= 1) { in doRecordingWithDifferentPreviewSizes()
1021 updatePreviewSurface(previewSizes.get(0)); in doRecordingWithDifferentPreviewSizes()
1033 updatePreviewSurface(previewSizes.get(1)); in doRecordingWithDifferentPreviewSizes()
2134 ArrayList<Size> previewSizes = new ArrayList<>(); in getPreviewSizesForVideo() local
2150 previewSizes.add(s); in getPreviewSizesForVideo()
2155 if (previewSizes.isEmpty()) { in getPreviewSizesForVideo()
2156 previewSizes.add(videoSize); in getPreviewSizesForVideo()
2159 return previewSizes; in getPreviewSizesForVideo()
2172 List<Size> previewSizes = getPreviewSizesForVideo(videoSize, videoFrameRate); in updatePreviewSurfaceWithVideo() local
[all …]
DSurfaceViewPreviewTest.java738 List<Size> previewSizes = getSupportedPreviewSizes( in previewTestByCamera() local
741 for (final Size sz : previewSizes) { in previewTestByCamera()
DCameraExtensionSessionTest.java847 List<Size> previewSizes = getSupportedPreviewSizes(id, in test10bitRepeatingAndCaptureCombined() local
851 previewSizes.stream().filter(repeatingSizes::contains).collect( in test10bitRepeatingAndCaptureCombined()
1431 List<Size> previewSizes = getSupportedPreviewSizes(id, in testRepeatingAndCaptureCombined() local
1435 previewSizes.stream().filter(repeatingSizes::contains).collect( in testRepeatingAndCaptureCombined()
2972 List<Size> previewSizes = getSupportedPreviewSizes(id, in testIllegalArguments() local
2976 previewSizes.stream().filter(repeatingSizes::contains).collect( in testIllegalArguments()
DLogicalCameraDeviceTest.java959 List<Size> previewSizes = getSupportedPreviewSizes( in findCommonPreviewSize() local
997 for (Size previewSize : previewSizes) { in findCommonPreviewSize()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java730 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in assertParameters() local
742 assertTrue(previewSizes != null && previewSizes.size() != 0); in assertParameters()
770 Size previewSize = previewSizes.get(0); in assertParameters()
874 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in checkPreferredPreviewSizeForVideo() local
875 assertNotNull(previewSizes); in checkPreferredPreviewSizeForVideo()
876 assertTrue(previewSizes.size() > 0); in checkPreferredPreviewSizeForVideo()
877 assertTrue(previewSizes.contains(preferredPreviewSize)); in checkPreferredPreviewSizeForVideo()