Lines Matching refs:get
103 if ( NULL != mAppCallbackNotifier.get() )
276 if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))) {
279 CAMHAL_LOGEB("Invalid preview format.Supported: %s", mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS));
284 if ((valstr = params.get(TICameraParameters::KEY_VNF)) != NULL) {
286 CAMHAL_LOGDB("VNF set %s", params.get(TICameraParameters::KEY_VNF));
294 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) {
297 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED),
300 params.get(CameraParameters::KEY_VIDEO_STABILIZATION));
302 params.get(CameraParameters::KEY_VIDEO_STABILIZATION));
312 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL)
314 CAMHAL_LOGDB("Capture mode set %s", params.get(TICameraParameters::KEY_CAP_MODE));
318 if ((valstr = params.get(TICameraParameters::KEY_IPP)) != NULL) {
319 if (isParameterValid(valstr,mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES))) {
320 CAMHAL_LOGDB("IPP mode set %s", params.get(TICameraParameters::KEY_IPP));
328 if((valstr = params.get(TICameraParameters::KEY_S3D2D_PREVIEW)) != NULL)
330 CAMHAL_LOGDB("Stereo 3D->2D Preview mode is %s", params.get(TICameraParameters::KEY_S3D2D_PREVIEW));
334 if((valstr = params.get(TICameraParameters::KEY_AUTOCONVERGENCE)) != NULL)
336 CAMHAL_LOGDB("AutoConvergence mode is %s", params.get(TICameraParameters::KEY_AUTOCONVERGENCE));
344 CAMHAL_LOGEA("Unable to get preview size");
352 if((valstr = params.get(TICameraParameters::KEY_SENSOR_ORIENTATION)) != NULL)
354 CAMHAL_LOGDB("Sensor Orientation is set to %s", params.get(TICameraParameters::KEY_SENSOR_ORIENTATION));
361 if ( !isResolutionValid(h,w, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES)))
375 if ( !isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES)))
394 valstr = params.get(CameraParameters::KEY_RECORDING_HINT);
447 if ((valstr = params.get(CameraParameters::KEY_FOCUS_MODE)) != NULL) {
448 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_FOCUS_MODES))) {
449 CAMHAL_LOGDB("Focus mode set %s", params.get(CameraParameters::KEY_FOCUS_MODE));
468 if (isParameterValid(params.getPictureFormat(),mCameraProperties->get
477 if ( isResolutionValid(w, h, mCameraProperties->get(CameraProperties::SUPPORTED_PICTURE_SIZES))) {
486 if ((valstr = params.get(TICameraParameters::KEY_BURST)) != NULL) {
488 CAMHAL_LOGDB("Burst set %s", params.get(TICameraParameters::KEY_BURST));
497 valstr = params.get(CameraParameters::KEY_PREVIEW_FPS_RANGE);
501 , mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED));
503 , mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES));
508 , mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED))
510 mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES)))
518 // be cleared by the client in order for constant FPS to get
520 if ( strcmp(valstr, mCameraProperties->get(CameraProperties::FRAMERATE_RANGE)) != 0)
538 if ( framerate != atoi(mCameraProperties->get(CameraProperties::PREVIEW_FRAME_RATE)) )
547 valstr = mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_VIDEO);
553 valstr = mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_IMAGE);
565 CAMHAL_LOGDB("DEFAULT FPS Range = %s", mCameraProperties->get(CameraProperties::FRAMERATE_RANGE));
583 mParameters.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, params.get(CameraParameters::KEY_PREVIEW_FPS_RANGE));
589 if( ( valstr = params.get(TICameraParameters::KEY_GBCE) ) != NULL )
595 if( ( valstr = params.get(TICameraParameters::KEY_GLBCE) ) != NULL )
602 if( (valstr = params.get(TICameraParameters::KEY_AUTOCONVERGENCE)) != NULL)
604 CAMHAL_LOGDB("AutoConvergence Mode is set = %s", params.get(TICameraParameters::KEY_AUTOCONVERGENCE));
608 if( (valstr = params.get(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES)) !=NULL )
610 CAMHAL_LOGDB("ManualConvergence Value = %s", params.get(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES));
614 if ((valstr = params.get(TICameraParameters::KEY_EXPOSURE_MODE)) != NULL) {
615 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_EXPOSURE_MODES))) {
624 if ((valstr = params.get(CameraParameters::KEY_WHITE_BALANCE)) != NULL) {
625 if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_WHITE_BALANCE))) {
634 if ((valstr = params.get(TICameraParameters::KEY_CONTRAST)) != NULL) {
644 if ((valstr =params.get(TICameraParameters::KEY_SHARPNESS)) != NULL) {
654 if ((valstr = params.get(TICameraParameters::KEY_SATURATION)) != NULL) {
664 if ((valstr = params.get(TICameraParameters::KEY_BRIGHTNESS)) != NULL) {
674 if ((valstr = params.get(CameraParameters::KEY_ANTIBANDING)) != NULL) {
675 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_ANTIBANDING))) {
684 if ((valstr = params.get(TICameraParameters::KEY_ISO)) != NULL) {
685 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_ISO_VALUES))) {
694 if( (valstr = params.get(CameraParameters::KEY_FOCUS_AREAS)) != NULL )
696 CAMHAL_LOGEB("Focus areas position set %s", params.get(CameraParameters::KEY_FOCUS_AREAS));
700 if( (valstr = params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE)) != NULL )
702 CAMHAL_LOGDB("Measurements set to %s", params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE));
720 if( (valstr = params.get(CameraParameters::KEY_EXPOSURE_COMPENSATION)) != NULL)
722 CAMHAL_LOGDB("Exposure compensation set %s", params.get(CameraParameters::KEY_EXPOSURE_COMPENSATION));
726 if ((valstr = params.get(CameraParameters::KEY_SCENE_MODE)) != NULL) {
727 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_SCENE_MODES))) {
730 mParameters.get(CameraParameters::KEY_SCENE_MODE),
739 if ((valstr = params.get(CameraParameters::KEY_FLASH_MODE)) != NULL) {
740 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_FLASH_MODES))) {
749 if ((valstr = params.get(CameraParameters::KEY_EFFECT)) != NULL) {
750 if (isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_EFFECTS))) {
759 if(( (valstr = params.get(CameraParameters::KEY_ROTATION)) != NULL)
762 CAMHAL_LOGDB("Rotation set %s", params.get(CameraParameters::KEY_ROTATION));
766 if(( (valstr = params.get(CameraParameters::KEY_JPEG_QUALITY)) != NULL)
769 CAMHAL_LOGDB("Jpeg quality set %s", params.get(CameraParameters::KEY_JPEG_QUALITY));
773 if(( (valstr = params.get(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH)) != NULL)
776 CAMHAL_LOGDB("Thumbnail width set %s", params.get(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH));
780 if(( (valstr = params.get(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT)) != NULL)
783 CAMHAL_LOGDB("Thumbnail width set %s", params.get(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT));
787 if(( (valstr = params.get(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY)) != NULL )
790 CAMHAL_LOGDB("Thumbnail quality set %s", params.get(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY));
794 if( (valstr = params.get(CameraParameters::KEY_GPS_LATITUDE)) != NULL )
796 CAMHAL_LOGDB("GPS latitude set %s", params.get(CameraParameters::KEY_GPS_LATITUDE));
802 if( (valstr = params.get(CameraParameters::KEY_GPS_LONGITUDE)) != NULL )
804 CAMHAL_LOGDB("GPS longitude set %s", params.get(CameraParameters::KEY_GPS_LONGITUDE));
810 if( (valstr = params.get(CameraParameters::KEY_GPS_ALTITUDE)) != NULL )
812 CAMHAL_LOGDB("GPS altitude set %s", params.get(CameraParameters::KEY_GPS_ALTITUDE));
818 if( (valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP)) != NULL )
820 CAMHAL_LOGDB("GPS timestamp set %s", params.get(CameraParameters::KEY_GPS_TIMESTAMP));
826 if( (valstr = params.get(TICameraParameters::KEY_GPS_DATESTAMP)) != NULL )
828 CAMHAL_LOGDB("GPS datestamp set %s", params.get(TICameraParameters::KEY_GPS_DATESTAMP));
834 get(CameraParameters::KEY_GPS_PROCESSING_METHOD)) != NULL )
836 CAMHAL_LOGDB("GPS processing method set %s", params.get(CameraParameters::KEY_GPS_PROCESSING_METHOD));
842 if( (valstr = params.get(TICameraParameters::KEY_GPS_MAPDATUM )) != NULL )
844 CAMHAL_LOGDB("GPS MAPDATUM set %s", params.get(TICameraParameters::KEY_GPS_MAPDATUM));
850 if( (valstr = params.get(TICameraParameters::KEY_GPS_VERSION)) != NULL )
852 CAMHAL_LOGDB("GPS MAPDATUM set %s", params.get(TICameraParameters::KEY_GPS_VERSION));
858 if( (valstr = params.get(TICameraParameters::KEY_EXIF_MODEL)) != NULL )
860 CAMHAL_LOGDB("EXIF Model set %s", params.get(TICameraParameters::KEY_EXIF_MODEL));
864 if( (valstr = params.get(TICameraParameters::KEY_EXIF_MAKE)) != NULL )
866 CAMHAL_LOGDB("EXIF Make set %s", params.get(TICameraParameters::KEY_EXIF_MAKE));
870 if( (valstr = params.get(TICameraParameters::KEY_EXP_BRACKETING_RANGE)) != NULL )
872 CAMHAL_LOGDB("Exposure Bracketing set %s", params.get(TICameraParameters::KEY_EXP_BRACKETING_RANGE));
880 if ((valstr = params.get(CameraParameters::KEY_ZOOM)) != NULL ) {
885 mParameters.get(CameraParameters::KEY_ZOOM),
894 if( (valstr = params.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK)) != NULL )
896 CAMHAL_LOGDB("Auto Exposure Lock set %s", params.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK));
898 mParameters.get(CameraParameters::KEY_AUTO_EXPOSURE_LOCK),
903 if( (valstr = params.get(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK)) != NULL )
905 CAMHAL_LOGDB("Auto WhiteBalance Lock set %s", params.get(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK));
907 mParameters.get(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK),
911 if( (valstr = params.get(CameraParameters::KEY_METERING_AREAS)) != NULL )
913 CAMHAL_LOGEB("Metering areas position set %s", params.get(CameraParameters::KEY_METERING_AREAS));
927 if( NULL != params.get(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_POS) )
938 if( NULL != params.get(TICameraParameters::KEY_TEMP_BRACKETING_RANGE_NEG) )
948 if( ( (valstr = params.get(TICameraParameters::KEY_TEMP_BRACKETING)) != NULL) &&
967 else if ( ( (valstr = params.get(TICameraParameters::KEY_TEMP_BRACKETING)) != NULL ) &&
985 if( ( (valstr = params.get(TICameraParameters::KEY_SHUTTER_ENABLE)) != NULL ) &&
994 else if ( ( (valstr = params.get(TICameraParameters::KEY_SHUTTER_ENABLE)) != NULL ) &&
1011 if ( NULL != mAppCallbackNotifier.get() ) {
1044 if(mDisplayAdapter.get() == NULL)
1077 mBufProvider = (BufferProvider*) mDisplayAdapter.get();
1252 GraphicBufferAllocator &GrallocAlloc = GraphicBufferAllocator::get();
1365 int count = atoi(mCameraProperties->get
1373 GraphicBufferAllocator &GrallocAlloc = GraphicBufferAllocator::get();
1437 if(!mSetPreviewWindowCalled || (mDisplayAdapter.get() == NULL)){
1448 if( (mDisplayAdapter.get() != NULL) && ( !mPreviewEnabled ) && ( mDisplayPaused ) )
1472 required_buffer_count = atoi(mCameraProperties->get(CameraProperties::REQUIRED_PREVIEW_BUFS));
1556 if(mDisplayAdapter.get() != NULL)
1564 if ( (valstr = mParameters.get(TICameraParameters::KEY_S3D_SUPPORTED)) != NULL) {
1567 if ( (valstr = mParameters.get(TICameraParameters::KEY_S3D2D_PREVIEW)) != NULL) {
1630 if(mDisplayAdapter.get() != NULL)
1664 if(mDisplayAdapter.get() != NULL)
1675 }else if(mDisplayAdapter.get() == NULL)
1681 if(!mDisplayAdapter.get() || ((ret=mDisplayAdapter->initialize())!=NO_ERROR))
1698 // DisplayAdapter needs to know where to get the CameraFrames from inorder to display
1705 mDisplayAdapter->setErrorHandler(mAppCallbackNotifier.get());
1723 * We get a surface handle directly now, so we can reconfigure surface
1827 if ( ((valstr = mParameters.get(CameraParameters::KEY_FOCUS_MODE)) != NULL) &&
1833 valstr = mParameters.get(CameraParameters::KEY_RECORDING_HINT);
1845 int count = atoi(mCameraProperties->get(CameraProperties::REQUIRED_PREVIEW_BUFS));
1913 valstr = mParameters.get(TICameraParameters::KEY_CAP_MODE);
1923 valstr = mParameters.get(TICameraParameters::KEY_CAP_MODE);
1926 if (params.get(CameraParameters::KEY_VIDEO_STABILIZATION) != NULL) {
1928 if (strcmp(mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED),
1930 valstr = mParameters.get(CameraParameters::KEY_VIDEO_STABILIZATION);
1933 strcmp(valstr, params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != 0) {
1937 params.get(CameraParameters::KEY_VIDEO_STABILIZATION));
1939 } else if (mParameters.get(CameraParameters::KEY_VIDEO_STABILIZATION)) {
1946 if (params.get(TICameraParameters::KEY_VNF) == NULL) {
1951 valstr = mParameters.get(TICameraParameters::KEY_VNF);
1952 if (valstr && strcmp(valstr, params.get(TICameraParameters::KEY_VNF)) != 0) {
1955 mParameters.set(TICameraParameters::KEY_VNF, params.get(TICameraParameters::KEY_VNF));
1961 valstr = mParameters.get(CameraParameters::KEY_VIDEO_STABILIZATION);
1996 valstr = mParameters.get(TICameraParameters::KEY_CAP_MODE);
2027 valstr = mParameters.get(TICameraParameters::KEY_CAP_MODE);
2337 if ( NULL != mAppCallbackNotifier.get() )
2456 valstr = mParameters.get(TICameraParameters::KEY_CAP_MODE);
2475 if ( NULL != mAppCallbackNotifier.get() )
2482 if ( NULL != mAppCallbackNotifier.get() )
2491 NULL != mDisplayAdapter.get() &&
2623 valstr = mParameters.get(CameraParameters::KEY_RECORDING_HINT);
2896 // Get my camera properties
2908 if (strcmp(CameraProperties::DEFAULT_VALUE, mCameraProperties->get(CameraProperties::CAMERA_SENSOR_INDEX)) != 0 )
2910 sensor_index = atoi(mCameraProperties->get(CameraProperties::CAMERA_SENSOR_INDEX));
2927 if(!mAppCallbackNotifier.get())
2931 if( ( NULL == mAppCallbackNotifier.get() ) || ( mAppCallbackNotifier->initialize() != NO_ERROR))
2938 if(!mMemoryManager.get())
2942 if( ( NULL == mMemoryManager.get() ) || ( mMemoryManager->initialize() != NO_ERROR))
2951 ///AppCallbackNotifier has to know where to get the Camera frames and the events like auto focus lock etc from.
2963 mCameraAdapter->setErrorHandler(mAppCallbackNotifier.get());
2986 if (mSensorListener.get()) {
3209 p.set(TICameraParameters::KEY_CAMERA_NAME, mCameraProperties->get(CameraProperties::CAMERA_NAME));
3211 mMaxZoomSupported = atoi(mCameraProperties->get(CameraProperties::SUPPORTED_ZOOM_STAGES));
3213 p.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, mCameraProperties->get(CameraProperties::SUPPORTED_PICTURE_SIZES));
3214 p.set(CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS, mCameraProperties->get(CameraProperties::SUPPORTED_PICTURE_FORMATS));
3215 p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_SIZES));
3216 p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS));
3217 p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FRAME_RATES));
3218 p.set(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, mCameraProperties->get(CameraProperties::SUPPORTED_THUMBNAIL_SIZES));
3219 p.set(CameraParameters::KEY_SUPPORTED_WHITE_BALANCE, mCameraProperties->get(CameraProperties::SUPPORTED_WHITE_BALANCE));
3220 p.set(CameraParameters::KEY_SUPPORTED_EFFECTS, mCameraProperties->get(CameraProperties::SUPPORTED_EFFECTS));
3221 p.set(CameraParameters::KEY_SUPPORTED_SCENE_MODES, mCameraProperties->get(CameraProperties::SUPPORTED_SCENE_MODES));
3222 p.set(CameraParameters::KEY_SUPPORTED_FLASH_MODES, mCameraProperties->get(CameraProperties::SUPPORTED_FLASH_MODES));
3223 p.set(CameraParameters::KEY_SUPPORTED_FOCUS_MODES, mCameraProperties->get(CameraProperties::SUPPORTED_FOCUS_MODES));
3224 p.set(CameraParameters::KEY_SUPPORTED_ANTIBANDING, mCameraProperties->get(CameraProperties::SUPPORTED_ANTIBANDING));
3225 p.set(CameraParameters::KEY_MAX_EXPOSURE_COMPENSATION, mCameraProperties->get(CameraProperties::SUPPORTED_EV_MAX));
3226 p.set(CameraParameters::KEY_MIN_EXPOSURE_COMPENSATION, mCameraProperties->get(CameraProperties::SUPPORTED_EV_MIN));
3227 p.set(CameraParameters::KEY_EXPOSURE_COMPENSATION_STEP, mCameraProperties->get(CameraProperties::SUPPORTED_EV_STEP));
3228 p.set(CameraParameters::KEY_SUPPORTED_SCENE_MODES, mCameraProperties->get(CameraProperties::SUPPORTED_SCENE_MODES));
3229 p.set(TICameraParameters::KEY_SUPPORTED_EXPOSURE, mCameraProperties->get(CameraProperties::SUPPORTED_EXPOSURE_MODES));
3230 p.set(TICameraParameters::KEY_SUPPORTED_ISO_VALUES, mCameraProperties->get(CameraProperties::SUPPORTED_ISO_VALUES));
3231 p.set(CameraParameters::KEY_ZOOM_RATIOS, mCameraProperties->get(CameraProperties::SUPPORTED_ZOOM_RATIOS));
3232 p.set(CameraParameters::KEY_MAX_ZOOM, mCameraProperties->get(CameraProperties::SUPPORTED_ZOOM_STAGES));
3233 p.set(CameraParameters::KEY_ZOOM_SUPPORTED, mCameraProperties->get(CameraProperties::ZOOM_SUPPORTED));
3234 p.set(CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED, mCameraProperties->get(CameraProperties::SMOOTH_ZOOM_SUPPORTED));
3235 p.set(TICameraParameters::KEY_SUPPORTED_IPP, mCameraProperties->get(CameraProperties::SUPPORTED_IPP_MODES));
3236 p.set(TICameraParameters::KEY_S3D_SUPPORTED,mCameraProperties->get(CameraProperties::S3D_SUPPORTED));
3237 p.set(TICameraParameters::KEY_S3D2D_PREVIEW_MODE,mCameraProperties->get(CameraProperties::S3D2D_PREVIEW_MODES));
3238 p.set(TICameraParameters::KEY_AUTOCONVERGENCE_MODE, mCameraProperties->get(CameraProperties::AUTOCONVERGENCE_MODE));
3239 p.set(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES, mCameraProperties->get(CameraProperties::MANUALCONVERGENCE_VALUES));
3240 p.set(CameraParameters::KEY_VIDEO_STABILIZATION_SUPPORTED, mCameraProperties->get(CameraProperties::VSTAB_SUPPORTED));
3241 p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE, mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED));
3242 p.set(TICameraParameters::KEY_SENSOR_ORIENTATION, mCameraProperties->get(CameraProperties::SENSOR_ORIENTATION));
3243 p.set(TICameraParameters::KEY_SENSOR_ORIENTATION_VALUES, mCameraProperties->get(CameraProperties::SENSOR_ORIENTATION_VALUES));
3244 p.set(CameraParameters::KEY_AUTO_EXPOSURE_LOCK_SUPPORTED, mCameraProperties->get(CameraProperties::AUTO_EXPOSURE_LOCK_SUPPORTED));
3245 p.set(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED, mCameraProperties->get(CameraProperties::AUTO_WHITEBALANCE_LOCK_SUPPORTED));
3246 p.set(CameraParameters::KEY_VIDEO_SNAPSHOT_SUPPORTED, mCameraProperties->get(CameraProperties::VIDEO_SNAPSHOT_SUPPORTED));
3264 ret = parseResolution(mCameraProperties->get(CameraProperties::PREVIEW_SIZE), width, height);
3275 ret = parseResolution(mCameraProperties->get(CameraProperties::PICTURE_SIZE), width, height);
3286 ret = parseResolution(mCameraProperties->get(CameraProperties::JPEG_THUMBNAIL_SIZE), width, height);
3302 p.setPreviewFrameRate(atoi(mCameraProperties->get(CameraProperties::PREVIEW_FRAME_RATE)));
3303 p.setPreviewFormat(mCameraProperties->get(CameraProperties::PREVIEW_FORMAT));
3304 p.setPictureFormat(mCameraProperties->get(CameraProperties::PICTURE_FORMAT));
3305 p.set(CameraParameters::KEY_JPEG_QUALITY, mCameraProperties->get(CameraProperties::JPEG_QUALITY));
3306 p.set(CameraParameters::KEY_WHITE_BALANCE, mCameraProperties->get(CameraProperties::WHITEBALANCE));
3307 p.set(CameraParameters::KEY_EFFECT, mCameraProperties->get(CameraProperties::EFFECT));
3308 p.set(CameraParameters::KEY_ANTIBANDING, mCameraProperties->get(CameraProperties::ANTIBANDING));
3309 p.set(CameraParameters::KEY_FLASH_MODE, mCameraProperties->get(CameraProperties::FLASH_MODE));
3310 p.set(CameraParameters::KEY_FOCUS_MODE, mCameraProperties->get(CameraProperties::FOCUS_MODE));
3311 p.set(CameraParameters::KEY_EXPOSURE_COMPENSATION, mCameraProperties->get(CameraProperties::EV_COMPENSATION));
3312 p.set(CameraParameters::KEY_SCENE_MODE, mCameraProperties->get(CameraProperties::SCENE_MODE));
3313 p.set(CameraParameters::KEY_FLASH_MODE, mCameraProperties->get(CameraProperties::FLASH_MODE));
3314 p.set(CameraParameters::KEY_ZOOM, mCameraProperties->get(CameraProperties::ZOOM));
3315 p.set(TICameraParameters::KEY_CONTRAST, mCameraProperties->get(CameraProperties::CONTRAST));
3316 p.set(TICameraParameters::KEY_SATURATION, mCameraProperties->get(CameraProperties::SATURATION));
3317 p.set(TICameraParameters::KEY_BRIGHTNESS, mCameraProperties->get(CameraProperties::BRIGHTNESS));
3318 p.set(TICameraParameters::KEY_SHARPNESS, mCameraProperties->get(CameraProperties::SHARPNESS));
3319 p.set(TICameraParameters::KEY_EXPOSURE_MODE, mCameraProperties->get(CameraProperties::EXPOSURE_MODE));
3320 p.set(TICameraParameters::KEY_ISO, mCameraProperties->get(CameraProperties::ISO_MODE));
3321 p.set(TICameraParameters::KEY_IPP, mCameraProperties->get(CameraProperties::IPP));
3322 p.set(TICameraParameters::KEY_GBCE, mCameraProperties->get(CameraProperties::GBCE));
3323 p.set(TICameraParameters::KEY_S3D2D_PREVIEW, mCameraProperties->get(CameraProperties::S3D2D_PREVIEW));
3324 p.set(TICameraParameters::KEY_AUTOCONVERGENCE, mCameraProperties->get(CameraProperties::AUTOCONVERGENCE));
3325 p.set(TICameraParameters::KEY_MANUALCONVERGENCE_VALUES, mCameraProperties->get(CameraProperties::MANUALCONVERGENCE_VALUES));
3326 p.set(CameraParameters::KEY_VIDEO_STABILIZATION, mCameraProperties->get(CameraProperties::VSTAB));
3327 p.set(CameraParameters::KEY_FOCAL_LENGTH, mCameraProperties->get(CameraProperties::FOCAL_LENGTH));
3328 p.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, mCameraProperties->get(CameraProperties::HOR_ANGLE));
3329 p.set(CameraParameters::KEY_VERTICAL_VIEW_ANGLE, mCameraProperties->get(CameraProperties::VER_ANGLE));
3330 p.set(CameraParameters::KEY_PREVIEW_FPS_RANGE,mCameraProperties->get(CameraProperties::FRAMERATE_RANGE));
3331 p.set(TICameraParameters::KEY_SENSOR_ORIENTATION, mCameraProperties->get(CameraProperties::SENSOR_ORIENTATION));
3332 p.set(TICameraParameters::KEY_SENSOR_ORIENTATION_VALUES, mCameraProperties->get(CameraProperties::SENSOR_ORIENTATION_VALUES));
3333 p.set(TICameraParameters::KEY_EXIF_MAKE, mCameraProperties->get(CameraProperties::EXIF_MAKE));
3334 p.set(TICameraParameters::KEY_EXIF_MODEL, mCameraProperties->get(CameraProperties::EXIF_MODEL));
3335 p.set(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY, mCameraProperties->get(CameraProperties::JPEG_THUMBNAIL_QUALITY));
3337 p.set(CameraParameters::KEY_MAX_NUM_DETECTED_FACES_HW, mCameraProperties->get(CameraProperties::MAX_FD_HW_FACES));
3338 p.set(CameraParameters::KEY_MAX_NUM_DETECTED_FACES_SW, mCameraProperties->get(CameraProperties::MAX_FD_SW_FACES));
3342 p.set(CameraParameters::KEY_MAX_NUM_FOCUS_AREAS, mCameraProperties->get(CameraProperties::MAX_FOCUS_AREAS));
3343 p.set(CameraParameters::KEY_AUTO_EXPOSURE_LOCK, mCameraProperties->get(CameraProperties::AUTO_EXPOSURE_LOCK));
3344 p.set(CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK, mCameraProperties->get(CameraProperties::AUTO_WHITEBALANCE_LOCK));
3345 p.set(CameraParameters::KEY_MAX_NUM_METERING_AREAS, mCameraProperties->get(CameraProperties::MAX_NUM_METERING_AREAS));
3363 if(mDisplayAdapter.get() != NULL) {
3368 if(mAppCallbackNotifier.get() != NULL) {
3438 if (mSensorListener.get()) {
3465 size_t size = strlen(mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED))+1;
3466 strncpy(supported, mCameraProperties->get(CameraProperties::FRAMERATE_RANGE_SUPPORTED), size);