1{ 2 "methods": { 3 "addRange(java.util.List\u003cint[]\u003e,int,int)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "private" 7 ], 8 "params": [ 9 "ranges", 10 "min", 11 "max" 12 ], 13 "returnType": "void", 14 "exceptions": [], 15 "name": "addRange(java.util.List\u003cint[]\u003e,int,int)" 16 }, 17 "addSize(java.util.List\u003candroid.hardware.Camera.Size\u003e,int,int)": { 18 "isImplementation": false, 19 "modifiers": [ 20 "private" 21 ], 22 "params": [ 23 "sizes", 24 "width", 25 "height" 26 ], 27 "returnType": "void", 28 "exceptions": [], 29 "name": "addSize(java.util.List\u003candroid.hardware.Camera.Size\u003e,int,int)" 30 }, 31 "addSupportedPreviewSize(int,int)": { 32 "isImplementation": false, 33 "modifiers": [ 34 "public" 35 ], 36 "params": [ 37 "width", 38 "height" 39 ], 40 "returnType": "void", 41 "exceptions": [], 42 "name": "addSupportedPreviewSize(int,int)", 43 "documentation": "Add custom preview sizes to supportedPreviewSizes. " 44 }, 45 "getExposureCompensation()": { 46 "isImplementation": true, 47 "modifiers": [ 48 "protected" 49 ], 50 "params": [], 51 "returnType": "int", 52 "exceptions": [], 53 "name": "getExposureCompensation()" 54 }, 55 "getExposureCompensationStep()": { 56 "isImplementation": true, 57 "modifiers": [ 58 "protected" 59 ], 60 "params": [], 61 "returnType": "float", 62 "exceptions": [], 63 "name": "getExposureCompensationStep()" 64 }, 65 "getFlashMode()": { 66 "isImplementation": true, 67 "modifiers": [ 68 "protected" 69 ], 70 "params": [], 71 "returnType": "java.lang.String", 72 "exceptions": [], 73 "name": "getFlashMode()" 74 }, 75 "getFocusMode()": { 76 "isImplementation": true, 77 "modifiers": [ 78 "protected" 79 ], 80 "params": [], 81 "returnType": "java.lang.String", 82 "exceptions": [], 83 "name": "getFocusMode()" 84 }, 85 "getMaxExposureCompensation()": { 86 "isImplementation": true, 87 "modifiers": [ 88 "protected" 89 ], 90 "params": [], 91 "returnType": "int", 92 "exceptions": [], 93 "name": "getMaxExposureCompensation()" 94 }, 95 "getMinExposureCompensation()": { 96 "isImplementation": true, 97 "modifiers": [ 98 "protected" 99 ], 100 "params": [], 101 "returnType": "int", 102 "exceptions": [], 103 "name": "getMinExposureCompensation()" 104 }, 105 "getPictureHeight()": { 106 "isImplementation": false, 107 "modifiers": [ 108 "public" 109 ], 110 "params": [], 111 "returnType": "int", 112 "exceptions": [], 113 "name": "getPictureHeight()" 114 }, 115 "getPictureSize()": { 116 "isImplementation": true, 117 "modifiers": [ 118 "protected" 119 ], 120 "params": [], 121 "returnType": "android.hardware.Camera.Size", 122 "exceptions": [], 123 "name": "getPictureSize()" 124 }, 125 "getPictureWidth()": { 126 "isImplementation": false, 127 "modifiers": [ 128 "public" 129 ], 130 "params": [], 131 "returnType": "int", 132 "exceptions": [], 133 "name": "getPictureWidth()" 134 }, 135 "getPreviewFormat()": { 136 "isImplementation": true, 137 "modifiers": [ 138 "protected" 139 ], 140 "params": [], 141 "returnType": "int", 142 "exceptions": [], 143 "name": "getPreviewFormat()" 144 }, 145 "getPreviewFpsRange(int[])": { 146 "isImplementation": true, 147 "modifiers": [ 148 "protected" 149 ], 150 "params": [ 151 "range" 152 ], 153 "returnType": "void", 154 "exceptions": [], 155 "name": "getPreviewFpsRange(int[])" 156 }, 157 "getPreviewFrameRate()": { 158 "isImplementation": true, 159 "modifiers": [ 160 "protected" 161 ], 162 "params": [], 163 "returnType": "int", 164 "exceptions": [], 165 "name": "getPreviewFrameRate()" 166 }, 167 "getPreviewHeight()": { 168 "isImplementation": false, 169 "modifiers": [ 170 "public" 171 ], 172 "params": [], 173 "returnType": "int", 174 "exceptions": [], 175 "name": "getPreviewHeight()" 176 }, 177 "getPreviewSize()": { 178 "isImplementation": true, 179 "modifiers": [ 180 "protected" 181 ], 182 "params": [], 183 "returnType": "android.hardware.Camera.Size", 184 "exceptions": [], 185 "name": "getPreviewSize()" 186 }, 187 "getPreviewWidth()": { 188 "isImplementation": false, 189 "modifiers": [ 190 "public" 191 ], 192 "params": [], 193 "returnType": "int", 194 "exceptions": [], 195 "name": "getPreviewWidth()" 196 }, 197 "getSupportedFlashModes()": { 198 "isImplementation": true, 199 "modifiers": [ 200 "protected" 201 ], 202 "params": [], 203 "returnType": "java.util.List\u003cjava.lang.String\u003e", 204 "exceptions": [], 205 "name": "getSupportedFlashModes()" 206 }, 207 "getSupportedFocusModes()": { 208 "isImplementation": true, 209 "modifiers": [ 210 "protected" 211 ], 212 "params": [], 213 "returnType": "java.util.List\u003cjava.lang.String\u003e", 214 "exceptions": [], 215 "name": "getSupportedFocusModes()" 216 }, 217 "getSupportedPictureFormats()": { 218 "isImplementation": true, 219 "modifiers": [ 220 "protected" 221 ], 222 "params": [], 223 "returnType": "java.util.List\u003cjava.lang.Integer\u003e", 224 "exceptions": [], 225 "name": "getSupportedPictureFormats()" 226 }, 227 "getSupportedPictureSizes()": { 228 "isImplementation": true, 229 "modifiers": [ 230 "protected" 231 ], 232 "params": [], 233 "returnType": "java.util.List\u003candroid.hardware.Camera.Size\u003e", 234 "exceptions": [], 235 "name": "getSupportedPictureSizes()" 236 }, 237 "getSupportedPreviewFormats()": { 238 "isImplementation": true, 239 "modifiers": [ 240 "protected" 241 ], 242 "params": [], 243 "returnType": "java.util.List\u003cjava.lang.Integer\u003e", 244 "exceptions": [], 245 "name": "getSupportedPreviewFormats()" 246 }, 247 "getSupportedPreviewFpsRange()": { 248 "isImplementation": true, 249 "modifiers": [ 250 "protected" 251 ], 252 "params": [], 253 "returnType": "java.util.List\u003cint[]\u003e", 254 "exceptions": [], 255 "name": "getSupportedPreviewFpsRange()" 256 }, 257 "getSupportedPreviewFrameRates()": { 258 "isImplementation": true, 259 "modifiers": [ 260 "protected" 261 ], 262 "params": [], 263 "returnType": "java.util.List\u003cjava.lang.Integer\u003e", 264 "exceptions": [], 265 "name": "getSupportedPreviewFrameRates()" 266 }, 267 "getSupportedPreviewSizes()": { 268 "isImplementation": true, 269 "modifiers": [ 270 "protected" 271 ], 272 "params": [], 273 "returnType": "java.util.List\u003candroid.hardware.Camera.Size\u003e", 274 "exceptions": [], 275 "name": "getSupportedPreviewSizes()" 276 }, 277 "initSupportedPreviewSizes()": { 278 "isImplementation": false, 279 "modifiers": [ 280 "public" 281 ], 282 "params": [], 283 "returnType": "void", 284 "exceptions": [], 285 "name": "initSupportedPreviewSizes()", 286 "documentation": "Explicitly initialize custom preview sizes array, to switch from default values to\nindividually added.\n" 287 }, 288 "setExposureCompensation(int)": { 289 "isImplementation": true, 290 "modifiers": [ 291 "protected" 292 ], 293 "params": [ 294 "compensation" 295 ], 296 "returnType": "void", 297 "exceptions": [], 298 "name": "setExposureCompensation(int)" 299 }, 300 "setFlashMode(java.lang.String)": { 301 "isImplementation": true, 302 "modifiers": [ 303 "protected" 304 ], 305 "params": [ 306 "flashMode" 307 ], 308 "returnType": "void", 309 "exceptions": [], 310 "name": "setFlashMode(java.lang.String)" 311 }, 312 "setFocusMode(java.lang.String)": { 313 "isImplementation": true, 314 "modifiers": [ 315 "protected" 316 ], 317 "params": [ 318 "focusMode" 319 ], 320 "returnType": "void", 321 "exceptions": [], 322 "name": "setFocusMode(java.lang.String)" 323 }, 324 "setPictureSize(int,int)": { 325 "isImplementation": true, 326 "modifiers": [ 327 "protected" 328 ], 329 "params": [ 330 "width", 331 "height" 332 ], 333 "returnType": "void", 334 "exceptions": [], 335 "name": "setPictureSize(int,int)" 336 }, 337 "setPreviewFormat(int)": { 338 "isImplementation": true, 339 "modifiers": [ 340 "protected" 341 ], 342 "params": [ 343 "pixel_format" 344 ], 345 "returnType": "void", 346 "exceptions": [], 347 "name": "setPreviewFormat(int)" 348 }, 349 "setPreviewFpsRange(int,int)": { 350 "isImplementation": true, 351 "modifiers": [ 352 "protected" 353 ], 354 "params": [ 355 "min", 356 "max" 357 ], 358 "returnType": "void", 359 "exceptions": [], 360 "name": "setPreviewFpsRange(int,int)" 361 }, 362 "setPreviewFrameRate(int)": { 363 "isImplementation": true, 364 "modifiers": [ 365 "protected" 366 ], 367 "params": [ 368 "fps" 369 ], 370 "returnType": "void", 371 "exceptions": [], 372 "name": "setPreviewFrameRate(int)" 373 }, 374 "setPreviewSize(int,int)": { 375 "isImplementation": true, 376 "modifiers": [ 377 "protected" 378 ], 379 "params": [ 380 "width", 381 "height" 382 ], 383 "returnType": "void", 384 "exceptions": [], 385 "name": "setPreviewSize(int,int)" 386 }, 387 "setRecordingHint(boolean)": { 388 "isImplementation": true, 389 "modifiers": [ 390 "protected" 391 ], 392 "params": [ 393 "recordingHint" 394 ], 395 "returnType": "void", 396 "exceptions": [], 397 "name": "setRecordingHint(boolean)" 398 }, 399 "setRotation(int)": { 400 "isImplementation": true, 401 "modifiers": [ 402 "protected" 403 ], 404 "params": [ 405 "rotation" 406 ], 407 "returnType": "void", 408 "exceptions": [], 409 "name": "setRotation(int)" 410 }, 411 "setSupportedFlashModes(java.lang.String...)": { 412 "isImplementation": false, 413 "modifiers": [ 414 "public" 415 ], 416 "params": [ 417 "flashModes" 418 ], 419 "returnType": "void", 420 "exceptions": [], 421 "name": "setSupportedFlashModes(java.lang.String...)" 422 }, 423 "setSupportedFocusModes(java.lang.String...)": { 424 "isImplementation": false, 425 "modifiers": [ 426 "public" 427 ], 428 "params": [ 429 "focusModes" 430 ], 431 "returnType": "void", 432 "exceptions": [], 433 "name": "setSupportedFocusModes(java.lang.String...)" 434 } 435 }, 436 "imports": [ 437 "org.robolectric.shadow.api.Shadow.newInstanceOf", 438 "android.graphics.ImageFormat", 439 "android.hardware.Camera", 440 "android.view.SurfaceHolder", 441 "java.util.ArrayList", 442 "java.util.Arrays", 443 "java.util.Collections", 444 "java.util.HashMap", 445 "java.util.List", 446 "java.util.Map", 447 "org.robolectric.annotation.Implementation", 448 "org.robolectric.annotation.Implements", 449 "org.robolectric.annotation.RealObject", 450 "org.robolectric.shadow.api.Shadow", 451 "org.robolectric.util.ReflectionHelpers" 452 ], 453 "name": "org.robolectric.shadows.ShadowCamera.ShadowParameters", 454 "documentation": "Shadows the Android {@code Camera.Parameters} class. " 455}