/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 72 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 D | AndroidCamera2Settings.java | 535 location.setAltitude(mGpsData.altitude);
|
H A D | AndroidCameraAgentImpl.java | 720 parameters.setGpsAltitude(gpsData.altitude);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerEntry.java | 225 Float altitude = getNullableFloat(cursor, ALTITUDE); 226 if (altitude != null) { 227 location.setAltitude(altitude);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | GEOLocationElement.java | 18 * RFC-3825 defines a resolution field for each of latitude, longitude and altitude as "the number 142 double altitude = fixToFloat(reverseBitStream.sliceOff(ALT_WIDTH), ALT_FRACTION_SIZE, 146 new RealValue(altitude, bitsToAbsResolution(rawAltRes, ALT_WIDTH, 148 new RealValue(altitude);
|
/frameworks/base/media/jni/ |
H A D | android_media_ExifInterface.cpp | 259 if (image_data.gps.altitude.denominator != 0) { 263 image_data.gps.altitude.numerator, 264 image_data.gps.altitude.denominator));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | ExifInterfaceTest.java | 95 public final float altitude; field in class:ExifInterfaceTest.ExpectedValue 138 altitude = typedArray.getFloat(6, 0f); 286 assertEquals(expectedValue.altitude, exifInterface.getAltitude(.0), DIFFERENCE_TOLERANCE);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GnssLocationProvider.java | 1449 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument 1465 mLocation.setAltitude(altitude); 1732 double altitude, 1745 location.setAltitude(altitude); 1786 double longitude, double altitude, float speed, float bearing, float accuracy, 1795 altitude, 1813 double longitude, double altitude, float speed, float bearing, float accuracy, 1822 altitude, 1728 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 1785 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument 1812 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 D | com_android_server_location_GnssLocationProvider.cpp | 116 (jdouble)location->altitude, 475 (jdouble)location->altitude, 488 jdouble altitude = 0; local 497 altitude = location->altitude; 505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
|
H A D | com_android_server_location_FlpHardwareProvider.cpp | 298 location.altitude = env->CallDoubleMethod(locationObject, getAltitude); 504 sCallbackEnv->CallVoidMethod(locationObject, setAltitude, location->altitude);
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 34 * and other information such as bearing, altitude and velocity. 131 * has no bearing, altitude, speed, accuracy or extras. 596 * True if this location has an altitude. 603 * Get the altitude if available, in meters above the WGS 84 reference 606 * <p>If this location does not have an altitude then 0.0 is returned. 613 * Set the altitude, in meters above the WGS 84 reference ellipsoid. 617 public void setAltitude(double altitude) { argument 618 mAltitude = altitude; 623 * Remove the altitude from this location. 746 * velocity or altitude i [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 2105 private static final String KEY_GPS_ALTITUDE = "gps-altitude"; 3172 * Sets GPS altitude. This will be stored in JPEG EXIF header. 3174 * @param altitude GPS altitude in meters. 3176 public void setGpsAltitude(double altitude) { argument 3177 set(KEY_GPS_ALTITUDE, Double.toString(altitude)); 3201 * Removes GPS latitude, longitude, altitude, and timestamp from the
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 271 * The altitude (in meters) based on the reference in TAG_GPS_ALTITUDE_REF. 276 * 0 if the altitude is above sea level. 1 if the altitude is below sea 1714 * Return the altitude in meters. If the exif tag does not exist, return 1720 double altitude = getAttributeDouble(TAG_GPS_ALTITUDE, -1); 1723 if (altitude >= 0 && ref >= 0) { 1724 return (altitude * ((ref == 1) ? -1 : 1));
|