Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java94 List<Camera.Size> supportedSizes = parameters.getSupportedPictureSizes(); in testGetSupportedPictureSizes() local
95 assertThat(supportedSizes).isNotNull(); in testGetSupportedPictureSizes()
96 assertThat(supportedSizes.size()).isEqualTo(3); in testGetSupportedPictureSizes()
97 assertThat(supportedSizes.get(0).width).isEqualTo(320); in testGetSupportedPictureSizes()
98 assertThat(supportedSizes.get(0).height).isEqualTo(240); in testGetSupportedPictureSizes()
103 List<Camera.Size> supportedSizes = parameters.getSupportedPreviewSizes(); in testGetSupportedPreviewSizes() local
104 assertThat(supportedSizes).isNotNull(); in testGetSupportedPreviewSizes()
105 assertThat(supportedSizes.size()).isEqualTo(2); in testGetSupportedPreviewSizes()
106 assertThat(supportedSizes.get(0).width).isEqualTo(320); in testGetSupportedPreviewSizes()
107 assertThat(supportedSizes.get(0).height).isEqualTo(240); in testGetSupportedPreviewSizes()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java314 List<Camera.Size> supportedSizes = new ArrayList<>(); in getSupportedPictureSizes() local
315 addSize(supportedSizes, 320, 240); in getSupportedPictureSizes()
316 addSize(supportedSizes, 640, 480); in getSupportedPictureSizes()
317 addSize(supportedSizes, 800, 600); in getSupportedPictureSizes()
318 return supportedSizes; in getSupportedPictureSizes()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java203 List<android.hardware.Camera.Size> supportedSizes, final int requestedWidth,
205 return Collections.min(supportedSizes,