Lines Matching refs:msgType
770 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) {
772 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2);
774 if ( msgType & CAMERA_MSG_FOCUS )
777 if ( msgType & CAMERA_MSG_SHUTTER )
780 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1))
804 void CameraHandler::postData(int32_t msgType,
808 printf("Data cb: %d\n", msgType);
810 if ( msgType & CAMERA_MSG_PREVIEW_FRAME )
817 if ( msgType & msgMask) {
822 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) {
826 if (msgType & CAMERA_MSG_COMPRESSED_IMAGE ) {
831 if ( ( msgType & CAMERA_MSG_PREVIEW_METADATA ) &&
845 void CameraHandler::postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr)
858 if ( msgType & CAMERA_MSG_RAW_BURST) {
864 printf("Recording cb: %d %lld %p\n", msgType, timestamp, dataPtr.get());
3505 int msgType = 0;
3518 msgType = CAMERA_MSG_COMPRESSED_IMAGE |
3521 msgType |= CAMERA_MSG_RAW_BURST;
3527 camera->takePictureWithParameters(msgType, shotParams.flatten());
3552 int msgType = CAMERA_MSG_COMPRESSED_IMAGE;
3566 if (hardwareActive) camera->reprocess(msgType, reprocParams.flatten());