/frameworks/base/location/java/android/location/ |
D | Geofence.java | 47 public static Geofence createCircle(double latitude, double longitude, float radius) { in createCircle() argument 48 return new Geofence(latitude, longitude, radius); in createCircle() 51 private Geofence(double latitude, double longitude, float radius) { in Geofence() argument 53 checkLatLong(latitude, longitude); in Geofence() 56 mLongitude = longitude; in Geofence() 86 private static void checkLatLong(double latitude, double longitude) { in checkLatLong() argument 90 if (longitude > 180.0 || longitude < -180.0) { in checkLatLong() 91 throw new IllegalArgumentException("invalid longitude: " + longitude); in checkLatLong() 106 double longitude = in.readDouble(); 109 return Geofence.createCircle(latitude, longitude, radius);
|
D | Geocoder.java | 123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation() argument 128 if (longitude < -180.0 || longitude > 180.0) { in getFromLocation() 129 throw new IllegalArgumentException("longitude == " + longitude); in getFromLocation() 133 String ex = mService.getFromLocation(latitude, longitude, maxResults, in getFromLocation()
|
D | IGpsGeofenceHardware.aidl | 28 longitude, double radius, int lastTransition, int monitorTransition, in addCircularHardwareGeofence() argument
|
D | IGeocodeProvider.aidl | 29 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BaseCluster.java | 52 public BaseCluster(String semanticId, double longitude, double latitude, in BaseCluster() argument 55 mCenter = getLocationVector(longitude, latitude); in BaseCluster() 79 protected double[] getLocationVector(double longitude, double latitude) { in getLocationVector() argument 81 double lambda = Math.toRadians(longitude); in getLocationVector() 93 double longitude = Math.toDegrees(Math.asin(mCenter[1] / cosPhi)); in getCenterLongitude() local 95 longitude = (longitude > 0) ? 180f - longitude : -180 - longitude; in getCenterLongitude() 97 return longitude; in getCenterLongitude()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { in setCircularGeofence() argument 44 mLongitude = longitude; in setCircularGeofence() 57 double longitude, double radius) { in createCircularGeofence() argument 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 71 public final double longitude; 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() 91 this.longitude = longitude; in GpsData() 100 this.longitude = src.longitude; in GpsData()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | GeocodeProvider.java | 40 public String getFromLocation(double latitude, double longitude, int maxResults, 42 return GeocodeProvider.this.onGetFromLocation(latitude, longitude, maxResults, 61 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, in onGetFromLocation() argument
|
/frameworks/base/media/jni/ |
D | android_media_ExifInterface.cpp | 237 if (image_data.gps.longitude[0].denominator != 0 in getRawAttributes() 238 && image_data.gps.longitude[1].denominator != 0 in getRawAttributes() 239 && image_data.gps.longitude[2].denominator != 0) { in getRawAttributes() 244 image_data.gps.longitude[0].numerator, in getRawAttributes() 245 image_data.gps.longitude[0].denominator, in getRawAttributes() 246 image_data.gps.longitude[1].numerator, in getRawAttributes() 247 image_data.gps.longitude[1].denominator, in getRawAttributes() 248 image_data.gps.longitude[2].numerator, in getRawAttributes() 249 image_data.gps.longitude[2].denominator)); in getRawAttributes()
|
D | android_media_MediaMuxer.cpp | 167 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument 170 status_t res = muxer->setLocation(latitude, longitude); in android_media_MediaMuxer_setLocation()
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 106 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument 199 public void setLocation(float latitude, float longitude) { in setLocation() argument 201 int longitudex10000 = (int) (longitude * 10000 + 0.5); in setLocation() 208 String msg = "Longitude: " + longitude + " out of range"; in setLocation()
|
D | MediaRecorder.java | 564 public void setLocation(float latitude, float longitude) { in setLocation() argument 566 int longitudex10000 = (int) (longitude * 10000 + 0.5); in setLocation() 573 String msg = "Longitude: " + longitude + " out of range"; in setLocation()
|
/frameworks/av/media/libstagefright/ |
D | MediaMuxer.cpp | 105 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument 116 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation() 117 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TwilightCalculator.java | 70 public void calculateTwilight(long time, double latiude, double longitude) { in calculateTwilight() argument 84 final double arcLongitude = -longitude / 360; in calculateTwilight()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | TwilightCalculator.java | 85 public void calculateTwilight(long time, double latiude, double longitude) { in calculateTwilight() argument 99 final double arcLongitude = -longitude / 360; in calculateTwilight()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeocoderProxy.java | 74 public String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument 79 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs); in getFromLocation()
|
D | GnssLocationProvider.java | 1307 double longitude, double radius, int lastTransition, int monitorTransitions, 1309 return native_add_geofence(geofenceId, latitude, longitude, radius, 1449 private void reportLocation(int flags, double latitude, double longitude, double altitude, in reportLocation() argument 1451 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude + in reportLocation() 1458 mLocation.setLongitude(longitude); in reportLocation() 1731 double longitude, 1740 location.setLongitude(longitude); 1786 double longitude, double altitude, float speed, float bearing, float accuracy, 1794 longitude, 1813 double longitude, double altitude, float speed, float bearing, float accuracy, [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | GEOLocationElement.java | 128 double longitude = in GEOLocationElement() local 132 new RealValue(longitude, bitsToAbsResolution(rawLonRes, LL_WIDTH, in GEOLocationElement() 134 new RealValue(longitude); in GEOLocationElement()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 210 int a, longitude, latitude; in createSuperShape() local 224 for (longitude = 0; longitude < longitudeCount; ++longitude) in createSuperShape() 230 float t1 = -PI + longitude * 2 * PI / resol1; in createSuperShape() 231 float t2 = -PI + (longitude + 1) * 2 * PI / resol1; in createSuperShape()
|
/frameworks/base/docs/html/training/location/ |
D | display-address.jd | 43 {@link android.location.Location} object that contains latitude and longitude 44 coordinates. Although latitude and longitude are useful for calculating 48 geographic coordinates (latitude/longitude) of the location.</p> 59 street address corresponding to a given latitude and longitude.</p> 93 latitude and longitude, and returns a list of addresses. The method is 188 passing it the latitude and longitude from the location object, and the 202 <li><strong>Invalid latitude or longitude used</strong> - The latitude 203 and/or longitude values provided in the {@link android.location.Location} 208 address for the given latitude/longitude.</li> 249 // Catch invalid latitude or longitude values. [all …]
|
/frameworks/av/include/ndk/ |
D | NdkMediaMuxer.h | 70 media_status_t AMediaMuxer_setLocation(AMediaMuxer*, float latitude, float longitude);
|
/frameworks/av/include/media/stagefright/ |
D | MediaMuxer.h | 89 status_t setLocation(int latitude, int longitude);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 115 (jdouble)location->latitude, (jdouble)location->longitude, in location_callback() 474 location->flags, (jdouble)location->latitude, (jdouble)location->longitude, in gps_geofence_transition_callback() 487 jdouble longitude = 0; in gps_geofence_status_callback() local 496 longitude = location->longitude; in gps_geofence_status_callback() 505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback() 836 jobject /* obj */, jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GnssLocationProvider_inject_location() argument 839 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GnssLocationProvider_inject_location() 974 jobject /* obj */, jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, in android_location_GnssLocationProvider_add_geofence() argument 978 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitude, in android_location_GnssLocationProvider_add_geofence()
|
/frameworks/base/docs/html/guide/appendix/ |
D | app-intents.jd | 61 <td>geo:<em>latitude</em>,<em>longitude</em><br /> 62 geo:<em>latitude</em>,<em>longitude</em>?z=<em>zoom</em><br /> 85 <tr><td>lng</td><td>longitude</td></tr>
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 247 double longitude = location.getLongitude(); in setLocation() local 251 int[] longTag = toExifLatLong(longitude); in setLocation() 253 String longRef = longitude >= 0 ? GPS_LONG_REF_EAST : GPS_LONG_REF_WEST; in setLocation()
|