{ "methods": { "addRange(java.util.List\u003cint[]\u003e,int,int)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "ranges", "min", "max" ], "returnType": "void", "exceptions": [], "name": "addRange(java.util.List\u003cint[]\u003e,int,int)" }, "addSize(java.util.List\u003candroid.hardware.Camera.Size\u003e,int,int)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "sizes", "width", "height" ], "returnType": "void", "exceptions": [], "name": "addSize(java.util.List\u003candroid.hardware.Camera.Size\u003e,int,int)" }, "addSupportedPreviewSize(int,int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "width", "height" ], "returnType": "void", "exceptions": [], "name": "addSupportedPreviewSize(int,int)", "documentation": "Add custom preview sizes to supportedPreviewSizes. " }, "getExposureCompensation()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getExposureCompensation()" }, "getExposureCompensationStep()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "float", "exceptions": [], "name": "getExposureCompensationStep()" }, "getFlashMode()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getFlashMode()" }, "getFocusMode()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.lang.String", "exceptions": [], "name": "getFocusMode()" }, "getMaxExposureCompensation()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getMaxExposureCompensation()" }, "getMinExposureCompensation()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getMinExposureCompensation()" }, "getPictureHeight()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPictureHeight()" }, "getPictureSize()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "android.hardware.Camera.Size", "exceptions": [], "name": "getPictureSize()" }, "getPictureWidth()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPictureWidth()" }, "getPreviewFormat()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPreviewFormat()" }, "getPreviewFpsRange(int[])": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "range" ], "returnType": "void", "exceptions": [], "name": "getPreviewFpsRange(int[])" }, "getPreviewFrameRate()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPreviewFrameRate()" }, "getPreviewHeight()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPreviewHeight()" }, "getPreviewSize()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "android.hardware.Camera.Size", "exceptions": [], "name": "getPreviewSize()" }, "getPreviewWidth()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getPreviewWidth()" }, "getSupportedFlashModes()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cjava.lang.String\u003e", "exceptions": [], "name": "getSupportedFlashModes()" }, "getSupportedFocusModes()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cjava.lang.String\u003e", "exceptions": [], "name": "getSupportedFocusModes()" }, "getSupportedPictureFormats()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cjava.lang.Integer\u003e", "exceptions": [], "name": "getSupportedPictureFormats()" }, "getSupportedPictureSizes()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003candroid.hardware.Camera.Size\u003e", "exceptions": [], "name": "getSupportedPictureSizes()" }, "getSupportedPreviewFormats()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cjava.lang.Integer\u003e", "exceptions": [], "name": "getSupportedPreviewFormats()" }, "getSupportedPreviewFpsRange()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cint[]\u003e", "exceptions": [], "name": "getSupportedPreviewFpsRange()" }, "getSupportedPreviewFrameRates()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003cjava.lang.Integer\u003e", "exceptions": [], "name": "getSupportedPreviewFrameRates()" }, "getSupportedPreviewSizes()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "java.util.List\u003candroid.hardware.Camera.Size\u003e", "exceptions": [], "name": "getSupportedPreviewSizes()" }, "initSupportedPreviewSizes()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "void", "exceptions": [], "name": "initSupportedPreviewSizes()", "documentation": "Explicitly initialize custom preview sizes array, to switch from default values to\nindividually added.\n" }, "setExposureCompensation(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "compensation" ], "returnType": "void", "exceptions": [], "name": "setExposureCompensation(int)" }, "setFlashMode(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "flashMode" ], "returnType": "void", "exceptions": [], "name": "setFlashMode(java.lang.String)" }, "setFocusMode(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "focusMode" ], "returnType": "void", "exceptions": [], "name": "setFocusMode(java.lang.String)" }, "setPictureSize(int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "width", "height" ], "returnType": "void", "exceptions": [], "name": "setPictureSize(int,int)" }, "setPreviewFormat(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "pixel_format" ], "returnType": "void", "exceptions": [], "name": "setPreviewFormat(int)" }, "setPreviewFpsRange(int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "min", "max" ], "returnType": "void", "exceptions": [], "name": "setPreviewFpsRange(int,int)" }, "setPreviewFrameRate(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "fps" ], "returnType": "void", "exceptions": [], "name": "setPreviewFrameRate(int)" }, "setPreviewSize(int,int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "width", "height" ], "returnType": "void", "exceptions": [], "name": "setPreviewSize(int,int)" }, "setRecordingHint(boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "recordingHint" ], "returnType": "void", "exceptions": [], "name": "setRecordingHint(boolean)" }, "setRotation(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "rotation" ], "returnType": "void", "exceptions": [], "name": "setRotation(int)" }, "setSupportedFlashModes(java.lang.String...)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "flashModes" ], "returnType": "void", "exceptions": [], "name": "setSupportedFlashModes(java.lang.String...)" }, "setSupportedFocusModes(java.lang.String...)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "focusModes" ], "returnType": "void", "exceptions": [], "name": "setSupportedFocusModes(java.lang.String...)" } }, "imports": [ "org.robolectric.shadow.api.Shadow.newInstanceOf", "android.graphics.ImageFormat", "android.hardware.Camera", "android.view.SurfaceHolder", "java.util.ArrayList", "java.util.Arrays", "java.util.Collections", "java.util.HashMap", "java.util.List", "java.util.Map", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.shadow.api.Shadow", "org.robolectric.util.ReflectionHelpers" ], "name": "org.robolectric.shadows.ShadowCamera.ShadowParameters", "documentation": "Shadows the Android {@code Camera.Parameters} class. " }