Searched refs:CameraHalEvent (Results 1 – 12 of 12) sorted by relevance
126 class CameraHalEvent; variable319 class CameraHalEvent375 CameraHalEvent::FocusEventData focusEvent;376 CameraHalEvent::ZoomEventData zoomEvent;377 CameraHalEvent::ShutterEventData shutterEvent;378 CameraHalEvent::FaceEventData faceEvent;382 CameraHalEvent(): in CameraHalEvent() function387 CameraHalEvent(const CameraHalEvent &event) : in CameraHalEvent() function400 typedef void (*event_callback) (CameraHalEvent *event);562 static void eventCallbackRelay(CameraHalEvent* chEvt);[all …]
148 status_t notifyFocusSubscribers(CameraHalEvent::FocusStatus status);
332 CameraHalEvent *evt = NULL; in notifyEvent()333 CameraHalEvent::FocusEventData *focusEvtData; in notifyEvent()334 CameraHalEvent::ZoomEventData *zoomEvtData; in notifyEvent()335 CameraHalEvent::MetaEventData metaEvtData; in notifyEvent()346 evt = ( CameraHalEvent * ) msg.arg1; in notifyEvent()356 case CameraHalEvent::EVENT_SHUTTER: in notifyEvent()368 case CameraHalEvent::EVENT_FOCUS_LOCKED: in notifyEvent()369 case CameraHalEvent::EVENT_FOCUS_ERROR: in notifyEvent()374 case CameraHalEvent::FOCUS_STATUS_SUCCESS: in notifyEvent()381 case CameraHalEvent::FOCUS_STATUS_FAIL: in notifyEvent()[all …]
216 if ( CameraHalEvent::ALL_EVENTS == eventMsg ) in enableMsgType()285 if ( CameraHalEvent::ALL_EVENTS == eventMsg) in disableMsgType()1132 status_t BaseCameraAdapter::notifyFocusSubscribers(CameraHalEvent::FocusStatus status) in notifyFocusSubscribers()1135 CameraHalEvent focusEvent; in notifyFocusSubscribers()1146 if (status == CameraHalEvent::FOCUS_STATUS_PENDING) { in notifyFocusSubscribers()1154 focusEvent.mEventData = new CameraHalEvent::CameraHalEventData(); in notifyFocusSubscribers()1159 focusEvent.mEventType = CameraHalEvent::EVENT_FOCUS_LOCKED; in notifyFocusSubscribers()1178 CameraHalEvent shutterEvent; in notifyShutterSubscribers()1190 shutterEvent.mEventData = new CameraHalEvent::CameraHalEventData(); in notifyShutterSubscribers()1195 shutterEvent.mEventType = CameraHalEvent::EVENT_SHUTTER; in notifyShutterSubscribers()[all …]
3001 mEventProvider->disableEventNotification(CameraHalEvent::ALL_EVENTS); in setEventProvider()3019 void CameraHal::eventCallbackRelay(CameraHalEvent* event) in eventCallbackRelay()3029 void CameraHal::eventCallback(CameraHalEvent* event) in eventCallback()4012 mEventProvider->disableEventNotification(CameraHalEvent::ALL_EVENTS); in ~CameraHal()4061 int32_t eventMask = CameraHalEvent::ALL_EVENTS; in initialize()
322 CameraHalEvent *evt = NULL; in notifyEvent()323 CameraHalEvent::FocusEventData *focusEvtData; in notifyEvent()324 CameraHalEvent::ZoomEventData *zoomEvtData; in notifyEvent()325 CameraHalEvent::FaceEventData faceEvtData; in notifyEvent()336 evt = ( CameraHalEvent * ) msg.arg1; in notifyEvent()346 case CameraHalEvent::EVENT_SHUTTER: in notifyEvent()358 case CameraHalEvent::EVENT_FOCUS_LOCKED: in notifyEvent()359 case CameraHalEvent::EVENT_FOCUS_ERROR: in notifyEvent()361 if ( ( focusEvtData->focusStatus == CameraHalEvent::FOCUS_STATUS_SUCCESS ) && in notifyEvent()369 else if ( ( focusEvtData->focusStatus == CameraHalEvent::FOCUS_STATUS_FAIL ) && in notifyEvent()[all …]
157 else if ( CameraHalEvent::ALL_EVENTS == msgs) in enableMsgType()206 else if ( CameraHalEvent::ALL_EVENTS == msgs) in disableMsgType()987 status_t BaseCameraAdapter::notifyFocusSubscribers(CameraHalEvent::FocusStatus status) in notifyFocusSubscribers()990 CameraHalEvent focusEvent; in notifyFocusSubscribers()1001 if (status == CameraHalEvent::FOCUS_STATUS_PENDING) { in notifyFocusSubscribers()1009 focusEvent.mEventData = new CameraHalEvent::CameraHalEventData(); in notifyFocusSubscribers()1014 focusEvent.mEventType = CameraHalEvent::EVENT_FOCUS_LOCKED; in notifyFocusSubscribers()1033 CameraHalEvent shutterEvent; in notifyShutterSubscribers()1045 shutterEvent.mEventData = new CameraHalEvent::CameraHalEventData(); in notifyShutterSubscribers()1050 shutterEvent.mEventType = CameraHalEvent::EVENT_SHUTTER; in notifyShutterSubscribers()[all …]
995 setEventProvider( CameraHalEvent::ALL_EVENTS, mCameraAdapter ); in setParameters()1014 mEventProvider->disableEventNotification( CameraHalEvent::ALL_EVENTS ); in setParameters()2286 mEventProvider->disableEventNotification(CameraHalEvent::ALL_EVENTS); in setEventProvider()2304 void CameraHal::eventCallbackRelay(CameraHalEvent* event) in eventCallbackRelay()2314 void CameraHal::eventCallback(CameraHalEvent* event) in eventCallback()2322 case CameraHalEvent::EVENT_FOCUS_LOCKED: in eventCallback()2323 case CameraHalEvent::EVENT_FOCUS_ERROR: in eventCallback()2915 mEventProvider->disableEventNotification(CameraHalEvent::ALL_EVENTS); in ~CameraHal()2962 int32_t eventMask = CameraHalEvent::ALL_EVENTS; in initialize()
391 CameraHalEvent::FocusStatus focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()426 focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()434 focusStatus = CameraHalEvent::FOCUS_STATUS_SUCCESS; in returnFocusStatus()443 focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()792 CameraHalEvent::FocusStatus focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in handleFocusCallback()827 focusStatus = CameraHalEvent::FOCUS_STATUS_PENDING; in handleFocusCallback()833 focusStatus = CameraHalEvent::FOCUS_STATUS_DONE; in handleFocusCallback()
121 class CameraHalEvent; variable446 class CameraHalEvent502 CameraHalEvent::FocusEventData focusEvent;503 CameraHalEvent::ZoomEventData zoomEvent;504 CameraHalEvent::ShutterEventData shutterEvent;505 CameraHalEvent::MetaEventData metadataEvent;509 CameraHalEvent(): in CameraHalEvent() function514 CameraHalEvent(const CameraHalEvent &event) : in CameraHalEvent() function527 typedef void (*event_callback) (CameraHalEvent *event);697 static void eventCallbackRelay(CameraHalEvent* chEvt);[all …]
167 status_t notifyFocusSubscribers(CameraHalEvent::FocusStatus status);
418 CameraHalEvent::FocusStatus focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()453 focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()461 focusStatus = CameraHalEvent::FOCUS_STATUS_SUCCESS; in returnFocusStatus()470 focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in returnFocusStatus()829 CameraHalEvent::FocusStatus focusStatus = CameraHalEvent::FOCUS_STATUS_FAIL; in handleFocusCallback()869 focusStatus = CameraHalEvent::FOCUS_STATUS_PENDING; in handleFocusCallback()875 focusStatus = CameraHalEvent::FOCUS_STATUS_DONE; in handleFocusCallback()