Lines Matching refs:valstr
35 const char *valstr = NULL; in setParametersEXIF() local
40 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_LATITUDE) ) != NULL ) in setParametersEXIF()
42 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
72 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_LONGITUDE) ) != NULL ) in setParametersEXIF()
74 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
104 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_ALTITUDE) ) != NULL ) in setParametersEXIF()
106 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
120 if( (valstr = params.get(android::CameraParameters::KEY_GPS_TIMESTAMP)) != NULL ) in setParametersEXIF()
122 long gpsTimestamp = strtol(valstr, NULL, 10); in setParametersEXIF()
141 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_TIMESTAMP) ) != NULL ) in setParametersEXIF()
143 long gpsDatestamp = strtol(valstr, NULL, 10); in setParametersEXIF()
160 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_PROCESSING_METHOD) ) != NULL ) in setParametersEXIF()
162 strncpy(mEXIFData.mGPSData.mProcMethod, valstr, GPS_PROCESSING_SIZE-1); in setParametersEXIF()
170 if( ( valstr = params.get(TICameraParameters::KEY_GPS_MAPDATUM) ) != NULL ) in setParametersEXIF()
172 strncpy(mEXIFData.mGPSData.mMapDatum, valstr, GPS_MAPDATUM_SIZE-1); in setParametersEXIF()
180 if( ( valstr = params.get(TICameraParameters::KEY_GPS_VERSION) ) != NULL ) in setParametersEXIF()
182 strncpy(mEXIFData.mGPSData.mVersionId, valstr, GPS_VERSION_SIZE-1); in setParametersEXIF()
190 if( ( valstr = params.get(TICameraParameters::KEY_EXIF_MODEL ) ) != NULL ) in setParametersEXIF()
192 CAMHAL_LOGVB("EXIF Model: %s", valstr); in setParametersEXIF()
193 strncpy(mEXIFData.mModel, valstr, EXIF_MODEL_SIZE - 1); in setParametersEXIF()
201 if( ( valstr = params.get(TICameraParameters::KEY_EXIF_MAKE ) ) != NULL ) in setParametersEXIF()
203 CAMHAL_LOGVB("EXIF Make: %s", valstr); in setParametersEXIF()
204 strncpy(mEXIFData.mMake, valstr, EXIF_MAKE_SIZE - 1); in setParametersEXIF()
213 if( ( valstr = params.get(android::CameraParameters::KEY_FOCAL_LENGTH) ) != NULL ) { in setParametersEXIF()
214 CAMHAL_LOGVB("EXIF Focal length: %s", valstr); in setParametersEXIF()
215 ExifElementsTable::stringToRational(valstr, in setParametersEXIF()