Home
last modified time | relevance | path

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

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java233 List<Camera.Size> previewSizes = camera.getParameters().getSupportedPreviewSizes(); in testStressRecorder() local
234 width = previewSizes.get(0).width; in testStressRecorder()
235 height = previewSizes.get(0).height; in testStressRecorder()
236 for (Camera.Size size : previewSizes) { in testStressRecorder()
328 List<Camera.Size> previewSizes = mCamera.getParameters().getSupportedPreviewSizes(); in testStressCameraSwitchRecorder() local
329 width = previewSizes.get(0).width; in testStressCameraSwitchRecorder()
330 height = previewSizes.get(0).height; in testStressCameraSwitchRecorder()
331 for (Camera.Size size : previewSizes) { in testStressCameraSwitchRecorder()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java526 List<Size> previewSizes = getSupportedPreviewSizes( in previewTestByCamera() local
529 for (final Size sz : previewSizes) { in previewTestByCamera()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java620 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in assertParameters() local
632 assertTrue(previewSizes != null && previewSizes.size() != 0); in assertParameters()
648 Size previewSize = previewSizes.get(0); in assertParameters()
752 List<Size> previewSizes = parameters.getSupportedPreviewSizes(); in checkPreferredPreviewSizeForVideo() local
753 assertNotNull(previewSizes); in checkPreferredPreviewSizeForVideo()
754 assertTrue(previewSizes.size() > 0); in checkPreferredPreviewSizeForVideo()
755 assertTrue(previewSizes.contains(preferredPreviewSize)); in checkPreferredPreviewSizeForVideo()