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

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraSettings.java72 public final double altitude; field in class:CameraSettings.GpsData
81 * {@code latitude}, {@code longitude}, and {@code altitude} will be
84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, argument
87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) {
92 this.altitude = altitude;
101 this.altitude = src.altitude;
H A DAndroidCamera2Settings.java535 location.setAltitude(mGpsData.altitude);
H A DAndroidCameraAgentImpl.java720 parameters.setGpsAltitude(gpsData.altitude);
/frameworks/base/media/java/android/media/
H A DExifInterface.java62 * The altitude (in meters) based on the reference in TAG_GPS_ALTITUDE_REF.
68 * 0 if the altitude is above sea level. 1 if the altitude is below sea
332 * Return the altitude in meters. If the exif tag does not exist, return
338 double altitude = getAttributeDouble(TAG_GPS_ALTITUDE, -1);
341 if (altitude >= 0 && ref >= 0) {
342 return (double) (altitude * ((ref == 1) ? -1 : 1));
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java225 Float altitude = getNullableFloat(cursor, ALTITUDE);
226 if (altitude != null) {
227 location.setAltitude(altitude);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java1376 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument
1392 mLocation.setAltitude(altitude);
1657 double altitude,
1670 location.setAltitude(altitude);
1711 double longitude, double altitude, float speed, float bearing, float accuracy,
1720 altitude,
1738 double longitude, double altitude, float speed, float bearing, float accuracy,
1747 altitude,
1653 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1710 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1737 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp92 (jdouble)location->altitude,
358 (jdouble)location->altitude,
371 jdouble altitude = 0; local
380 altitude = location->altitude;
388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
H A Dcom_android_server_location_FlpHardwareProvider.cpp230 location.altitude = env->CallDoubleMethod(locationObject, getAltitude);
428 sCallbackEnv->CallVoidMethod(locationObject, setAltitude, location->altitude);
/frameworks/base/location/java/android/location/
H A DLocation.java34 * and other information such as bearing, altitude and velocity.
112 * has no bearing, altitude, speed, accuracy or extras.
580 * True if this location has an altitude.
587 * Get the altitude if available, in meters above the WGS 84 reference
590 * <p>If this location does not have an altitude then 0.0 is returned.
597 * Set the altitude, in meters above the WGS 84 reference ellipsoid.
601 public void setAltitude(double altitude) { argument
602 mAltitude = altitude;
607 * Remove the altitude from this location.
730 * velocity or altitude i
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2097 private static final String KEY_GPS_ALTITUDE = "gps-altitude";
3164 * Sets GPS altitude. This will be stored in JPEG EXIF header.
3166 * @param altitude GPS altitude in meters.
3168 public void setGpsAltitude(double altitude) { argument
3169 set(KEY_GPS_ALTITUDE, Double.toString(altitude));
3193 * Removes GPS latitude, longitude, altitude, and timestamp from the

Completed in 782 milliseconds