Home
last modified time | relevance | path

Searched refs:getPreviewFormat (Results 1 – 4 of 4) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraParametersTest.java77 assertThat(shadowParameters.getPreviewFormat(), equalTo(ImageFormat.NV21)); in testPreviewFormat()
79 assertThat(shadowParameters.getPreviewFormat(), equalTo(ImageFormat.JPEG)); in testPreviewFormat()
DCameraTest.java73 assertThat(parameters.getPreviewFormat(), equalTo(ImageFormat.NV21)); in testSetParameters()
76 assertThat(camera.getParameters().getPreviewFormat(), equalTo(ImageFormat.JPEG)); in testSetParameters()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCameraParameters.java36 public int getPreviewFormat() { in getPreviewFormat() method in ShadowCameraParameters
/external/opencv3/modules/java/generator/src/java/
Dandroid+JavaCameraView.java176 size = size * ImageFormat.getBitsPerPixel(params.getPreviewFormat()) / 8; in initializeCamera()