Searched refs:QCameraFlash (Results 1 – 6 of 6) sorted by relevance
44 class QCameraFlash {46 static QCameraFlash& getInstance();56 QCameraFlash();57 virtual ~QCameraFlash();58 QCameraFlash(const QCameraFlash&);59 QCameraFlash& operator=(const QCameraFlash&);
58 QCameraFlash& QCameraFlash::getInstance() in getInstance()60 static QCameraFlash flashInstance; in getInstance()73 QCameraFlash::QCameraFlash() : m_callbacks(NULL) in QCameraFlash() function in qcamera::QCameraFlash91 QCameraFlash::~QCameraFlash() in ~QCameraFlash()112 int32_t QCameraFlash::registerCallbacks( in registerCallbacks()138 int32_t QCameraFlash::initFlash(const int camera_id) in initFlash()219 int32_t QCameraFlash::setFlashMode(const int camera_id, const bool mode) in setFlashMode()269 int32_t QCameraFlash::deinitFlash(const int camera_id) in deinitFlash()313 int32_t QCameraFlash::reserveFlashForCamera(const int camera_id) in reserveFlashForCamera()372 int32_t QCameraFlash::releaseFlashFromCamera(const int camera_id) in releaseFlashFromCamera()
373 rc = QCameraFlash::getInstance().registerCallbacks(callbacks); in QCamera2Factory()555 QCameraFlash& flash = QCameraFlash::getInstance(); in QCamera2Factory()
22 util/QCameraFlash.cpp \
1885 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()2331 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
968 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()1116 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()