Home
last modified time | relevance | path

Searched refs:altitude (Results 1 – 10 of 10) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java72 public final double altitude; field in CameraSettings.GpsData
84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, in GpsData() argument
87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) { in GpsData()
92 this.altitude = altitude; in GpsData()
101 this.altitude = src.altitude; in GpsData()
DAndroidCamera2Settings.java535 location.setAltitude(mGpsData.altitude); in updateRequestGpsData()
DAndroidCameraAgentImpl.java720 parameters.setGpsAltitude(gpsData.altitude); in applySettingsToParameters()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java225 Float altitude = getNullableFloat(cursor, ALTITUDE); in createEntry() local
226 if (altitude != null) { in createEntry()
227 location.setAltitude(altitude); in createEntry()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h128 virtual bool setGpsAltitude(double altitude) = 0;
DExifUtils.cpp118 virtual bool setGpsAltitude(double altitude);
479 bool ExifUtilsImpl::setGpsAltitude(double altitude) { in setGpsAltitude() argument
487 if (altitude >= 0) { in setGpsAltitude()
491 altitude *= -1; in setGpsAltitude()
503 {static_cast<ExifLong>(altitude * 1000), 1000}); in setGpsAltitude()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java95 public final float altitude; field in ExifInterfaceTest.ExpectedValue
138 altitude = typedArray.getFloat(6, 0f); in ExpectedValue()
285 assertEquals(expectedValue.altitude, exifInterface.getAltitude(.0), DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/frameworks/base/location/java/android/location/
DLocation.java695 public void setAltitude(double altitude) { in setAltitude() argument
696 mAltitude = altitude; in setAltitude()
/frameworks/base/core/java/android/hardware/
DCamera.java3451 public void setGpsAltitude(double altitude) { in setGpsAltitude() argument
3452 set(KEY_GPS_ALTITUDE, Double.toString(altitude)); in setGpsAltitude()
/frameworks/base/media/java/android/media/
DExifInterface.java2150 double altitude = getAttributeDouble(TAG_GPS_ALTITUDE, -1); in getAltitude() local
2153 if (altitude >= 0 && ref >= 0) { in getAltitude()
2154 return (altitude * ((ref == 1) ? -1 : 1)); in getAltitude()