Home
last modified time | relevance | path

Searched refs:videoSizes (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/cts/helpers/
DCameraUtils.java325 List<Size> videoSizes = parameters.getSupportedVideoSizes(); in getSupportedVideoSizes() local
327 if (videoSizes == null) { in getSupportedVideoSizes()
328 videoSizes = parameters.getSupportedPreviewSizes(); in getSupportedVideoSizes()
329 assertNotNull(videoSizes); in getSupportedVideoSizes()
332 return videoSizes; in getSupportedVideoSizes()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DCamcorderProfileTest.java119 private void checkProfile(CamcorderProfile profile, List<Size> videoSizes) { in checkProfile() argument
147 videoSizes)); in checkProfile()
151 List<Size> videoSizes) { in checkAllProfiles() argument
371 List<Size> videoSizes) { in checkSpecificProfiles() argument
395 videoSizes)); in checkSpecificProfiles()
431 final List<Size> videoSizes = CameraUtils.getSupportedVideoSizes(camera); in checkGet() local
446 videoSizesToCheck = videoSizes; in checkGet()
525 specificProfileQualities, videoSizes); in checkGet()
DResourceManagerRecorderActivity.java149 List<Camera.Size> videoSizes = CameraUtils.getSupportedVideoSizes(camera); in setSupportedResolution() local
155 for (Camera.Size size : videoSizes) { in setSupportedResolution()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java1194 List<Camera.Size> videoSizes = parameters.getSupportedVideoSizes(); in testRecordedVideoPlaybackWithAngle() local
1197 if (videoSizes == null) { in testRecordedVideoPlaybackWithAngle()
1201 videoSizes = new ArrayList<>(); in testRecordedVideoPlaybackWithAngle()
1202 videoSizes.add(camera.new Size(profile.videoFrameWidth, profile.videoFrameHeight)); in testRecordedVideoPlaybackWithAngle()
1204 videoSizes = parameters.getSupportedPreviewSizes(); in testRecordedVideoPlaybackWithAngle()
1207 for (Camera.Size size : videoSizes) in testRecordedVideoPlaybackWithAngle()
1216 width = videoSizes.get(0).width; in testRecordedVideoPlaybackWithAngle()
1217 height = videoSizes.get(0).height; in testRecordedVideoPlaybackWithAngle()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java442 List<Camera.Size> videoSizes = parameters.getSupportedVideoSizes(); in setSupportedResolution() local
445 if (videoSizes == null) { in setSupportedResolution()
446 videoSizes = parameters.getSupportedPreviewSizes(); in setSupportedResolution()
450 for (Camera.Size size : videoSizes) in setSupportedResolution()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java394 List<Size> videoSizes = CameraTestUtils.getSupportedVideoSizes( in testAvailableStreamConfigs() local
396 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
3559 List<Size> videoSizes = CameraTestUtils.getSupportedVideoSizes(cameraId,
3571 boolean supportUHD = videoSizes.contains(UHD);
3572 boolean supportDC4K = videoSizes.contains(DC4K);
3574 boolean supportFullHD = videoSizes.contains(FULLHD);
3575 boolean support720p = videoSizes.contains(HD);
3631 boolean supportFULLHD = videoSizes.contains(FULLHD);
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java844 List<Size> videoSizes = parameters.getSupportedVideoSizes(); in checkPreferredPreviewSizeForVideo() local
851 if (videoSizes == null) { in checkPreferredPreviewSizeForVideo()
862 assertNull(videoSizes); in checkPreferredPreviewSizeForVideo()
864 assertNotNull(videoSizes); in checkPreferredPreviewSizeForVideo()
867 if (videoSizes != null) { // implies: preferredPreviewSize != null in checkPreferredPreviewSizeForVideo()
870 assertTrue(videoSizes.size() > 0); in checkPreferredPreviewSizeForVideo()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java5375 List<Size> videoSizes = getAscendingOrderSizes(sizes, /*ascending*/false); in getMaxExternalRecordingSize() local
5376 for (Size sz : videoSizes) { in getMaxExternalRecordingSize()