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/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/support/exifinterface/tests/src/android/support/media/
DExifInterfaceTest.java115 public final float altitude; field in ExifInterfaceTest.ExpectedValue
158 altitude = typedArray.getFloat(6, 0f); in ExpectedValue()
387 assertEquals(expectedValue.altitude, exifInterface.getAltitude(.0), DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/frameworks/base/location/java/android/location/
DLocation.java639 public void setAltitude(double altitude) { in setAltitude() argument
640 mAltitude = altitude; in setAltitude()
/frameworks/base/core/java/android/hardware/
DCamera.java3190 public void setGpsAltitude(double altitude) { in setGpsAltitude() argument
3191 set(KEY_GPS_ALTITUDE, Double.toString(altitude)); in setGpsAltitude()
/frameworks/base/media/java/android/media/
DExifInterface.java2000 double altitude = getAttributeDouble(TAG_GPS_ALTITUDE, -1); in getAltitude() local
2003 if (altitude >= 0 && ref >= 0) { in getAltitude()
2004 return (altitude * ((ref == 1) ? -1 : 1)); in getAltitude()
/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java1931 double altitude = getAttributeDouble(TAG_GPS_ALTITUDE, -1); in getAltitude() local
1934 if (altitude >= 0 && ref >= 0) { in getAltitude()
1935 return (altitude * ((ref == 1) ? -1 : 1)); in getAltitude()