Lines Matching refs:flash
256 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
260 * @on : Indicates whether to turn the flash on or off
349 LOGE("Failed to register callbacks with flash module!");
505 * DESCRIPTION: Attempt to turn on or off the torch mode of the flash unit.
509 * @on : Indicates whether to turn the flash on or off
521 QCameraFlash& flash = QCameraFlash::getInstance();
533 retVal = flash.initFlash(cameraIdInt);
536 retVal = flash.setFlashMode(cameraIdInt, on);
542 // Flash is already on, so treat this as a success.
548 retVal = flash.setFlashMode(cameraIdInt, on);
551 retVal = flash.deinitFlash(cameraIdInt);
558 // Flash is already off, so treat this as a success.