Home | History | Annotate | Download | only in QCamera2

Lines Matching refs:flash

261  * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
265 * @on : Indicates whether to turn the flash on or off
354 LOGE("Failed to register callbacks with flash module!");
510 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
514 * @on : Indicates whether to turn the flash on or off
526 QCameraFlash& flash = QCameraFlash::getInstance();
538 retVal = flash.initFlash(cameraIdInt);
541 retVal = flash.setFlashMode(cameraIdInt, on);
547 // Flash is already on, so treat this as a success.
553 retVal = flash.setFlashMode(cameraIdInt, on);
556 retVal = flash.deinitFlash(cameraIdInt);
563 // Flash is already off, so treat this as a success.