Home
last modified time | relevance | path

Searched refs:supportedPreviewSizes (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java264 private static List<Camera.Size> supportedPreviewSizes; field in ShadowCamera.ShadowParameters
271 supportedPreviewSizes = new ArrayList<>(); in initSupportedPreviewSizes()
277 supportedPreviewSizes.add(newSize); in addSupportedPreviewSize()
356 if (supportedPreviewSizes == null) { in getSupportedPreviewSizes()
361 return supportedPreviewSizes; in getSupportedPreviewSizes()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/
DWebCamFacade.java283 List<Size> supportedPreviewSizes = mParameters.getSupportedPreviewSizes(); in openCamera() local
284 Collections.sort(supportedPreviewSizes, new Comparator<Size>() { in openCamera()
291 supportedPreviewSizes.get( in openCamera()
292 Math.min(resolutionLevel, supportedPreviewSizes.size() - 1)); in openCamera()