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.java234 List<Camera.Size> previewSizes = camera.getParameters().getSupportedPreviewSizes(); in testStressRecorder() local
235 width = previewSizes.get(0).width; in testStressRecorder()
236 height = previewSizes.get(0).height; in testStressRecorder()
237 for (Camera.Size size : previewSizes) { in testStressRecorder()
329 List<Camera.Size> previewSizes = mCamera.getParameters().getSupportedPreviewSizes(); in testStressCameraSwitchRecorder() local
330 width = previewSizes.get(0).width; in testStressCameraSwitchRecorder()
331 height = previewSizes.get(0).height; in testStressCameraSwitchRecorder()
332 for (Camera.Size size : previewSizes) { in testStressCameraSwitchRecorder()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java677 List<Size> previewSizes = getPreviewSizesForVideo(videoSz, in doRecordingWithDifferentPreviewSizes() local
679 if (previewSizes.size() <= 1) { in doRecordingWithDifferentPreviewSizes()
685 updatePreviewSurface(previewSizes.get(0)); in doRecordingWithDifferentPreviewSizes()
697 updatePreviewSurface(previewSizes.get(1)); in doRecordingWithDifferentPreviewSizes()
1740 ArrayList<Size> previewSizes = new ArrayList<>(); in getPreviewSizesForVideo() local
1756 previewSizes.add(s); in getPreviewSizesForVideo()
1761 if (previewSizes.isEmpty()) { in getPreviewSizesForVideo()
1762 previewSizes.add(videoSize); in getPreviewSizesForVideo()
1765 return previewSizes; in getPreviewSizesForVideo()
1778 List<Size> previewSizes = getPreviewSizesForVideo(videoSize, videoFrameRate); in updatePreviewSurfaceWithVideo() local
[all …]
DCameraExtensionSessionTest.java795 List<Size> previewSizes = getSupportedPreviewSizes(id, in testRepeatingAndCaptureCombined() local
799 previewSizes.stream().filter(repeatingSizes::contains).collect( in testRepeatingAndCaptureCombined()
1154 List<Size> previewSizes = getSupportedPreviewSizes(id, in testIllegalArguments() local
1158 previewSizes.stream().filter(repeatingSizes::contains).collect( in testIllegalArguments()
DSurfaceViewPreviewTest.java750 List<Size> previewSizes = getSupportedPreviewSizes( in previewTestByCamera() local
753 for (final Size sz : previewSizes) { in previewTestByCamera()
DLogicalCameraDeviceTest.java931 List<Size> previewSizes = getSupportedPreviewSizes( in findCommonPreviewSize() local
966 for (Size previewSize : previewSizes) { in findCommonPreviewSize()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java729 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in assertParameters() local
741 assertTrue(previewSizes != null && previewSizes.size() != 0); in assertParameters()
769 Size previewSize = previewSizes.get(0); in assertParameters()
873 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in checkPreferredPreviewSizeForVideo() local
874 assertNotNull(previewSizes); in checkPreferredPreviewSizeForVideo()
875 assertTrue(previewSizes.size() > 0); in checkPreferredPreviewSizeForVideo()
876 assertTrue(previewSizes.contains(preferredPreviewSize)); in checkPreferredPreviewSizeForVideo()