Home | History | Annotate | Download | only in QCamera2

Lines Matching defs:flash

197  * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
201 * @on : Indicates whether to turn the flash on or off
289 ALOGE("%s : Failed to register callbacks with flash module!", __func__);
436 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
440 * @on : Indicates whether to turn the flash on or off
452 QCameraFlash& flash = QCameraFlash::getInstance();
464 retVal = flash.initFlash(cameraIdInt);
467 retVal = flash.setFlashMode(cameraIdInt, on);
473 // Flash is already on, so treat this as a success.
479 retVal = flash.setFlashMode(cameraIdInt, on);
482 flash.deinitFlash(cameraIdInt);
489 // Flash is already off, so treat this as a success.