/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() 55 mLatitude = latitude; in Geofence() 86 private static void checkLatLong(double latitude, double longitude) { in checkLatLong() argument 87 if (latitude > 90.0 || latitude < -90.0) { in checkLatLong() 88 throw new IllegalArgumentException("invalid latitude: " + latitude); in checkLatLong() 105 double latitude = 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 125 if (latitude < -90.0 || latitude > 90.0) { in getFromLocation() 126 throw new IllegalArgumentException("latitude == " + latitude); in getFromLocation() 133 String ex = mService.getFromLocation(latitude, longitude, maxResults, in getFromLocation()
|
D | IGpsGeofenceHardware.aidl | 27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
|
D | IGeocodeProvider.aidl | 29 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
|
D | Address.java | 312 public void setLatitude(double latitude) { in setLatitude() argument 313 mLatitude = latitude; in setLatitude()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { in setCircularGeofence() argument 43 mLatitude = latitude; in setCircularGeofence() 56 public static GeofenceHardwareRequest createCircularGeofence(double latitude, in createCircularGeofence() argument 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
|
/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/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 70 public final double latitude; 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() 90 this.latitude = latitude; in GpsData() 99 this.latitude = src.latitude; in GpsData()
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 92 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument 182 public void setLocation(float latitude, float longitude) { in setLocation() argument 183 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation() 187 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
|
D | MediaRecorder.java | 479 public void setLocation(float latitude, float longitude) { in setLocation() argument 480 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation() 484 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
|
/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 82 double phi = Math.toRadians(latitude); in getLocationVector()
|
D | ClusterManager.java | 266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE)); in loadSemanticClusters() local 269 new BaseCluster(semanticId, longitude, latitude, duration); in loadSemanticClusters()
|
/frameworks/av/media/libstagefright/ |
D | MediaMuxer.cpp | 120 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument 131 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation() 132 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
|
/frameworks/av/media/ndk/ |
D | NdkMediaMuxer.cpp | 71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation() argument 72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
|
/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 | GpsLocationProvider.java | 1199 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, 1202 return native_add_geofence(geofenceId, latitude, longitude, radius, 1342 private void reportLocation(int flags, double latitude, double longitude, double altitude, in reportLocation() argument 1344 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude + in reportLocation() 1350 mLocation.setLatitude(latitude); in reportLocation() 1614 double latitude, in buildLocation() argument 1623 location.setLatitude(latitude); in buildLocation() 1669 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, in reportGeofenceTransition() argument 1677 latitude, in reportGeofenceTransition() 1696 private void reportGeofenceStatus(int status, int flags, double latitude, in reportGeofenceStatus() argument [all …]
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 210 int a, longitude, latitude; in createSuperShape() local 228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude) in createSuperShape() 232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; in createSuperShape() 233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; in createSuperShape() 255 if (latitude == latitudeBegin + 1) in createSuperShape()
|
/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 | 90 status_t setLocation(int latitude, int longitude);
|
/frameworks/base/media/jni/ |
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/docs/html/training/location/ |
D | display-address.jd | 46 contains latitude and longitude coordinates. Although latitude and longitude are useful for 52 latitude and longitude values. This lesson shows you how to use this address lookup feature. 71 To get an address for a given latitude and longitude, call 135 * Get a Geocoder instance, get the latitude and longitude
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 91 (jdouble)location->latitude, (jdouble)location->longitude, in location_callback() 357 location->flags, (jdouble)location->latitude, (jdouble)location->longitude, in gps_geofence_transition_callback() 369 jdouble latitude = 0; in gps_geofence_status_callback() local 378 latitude = location->latitude; in gps_geofence_status_callback() 388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback() 708 jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GpsLocationProvider_inject_location() argument 711 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GpsLocationProvider_inject_location() 849 jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, in android_location_GpsLocationProvider_add_geofence() argument 853 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitude, in android_location_GpsLocationProvider_add_geofence()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 233 double latitude = location.getLatitude(); in setLocation() local 237 int[] latTag = toExifLatLong(latitude); in setLocation() 239 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH; in setLocation()
|
/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 /> 84 <tr><td>lat</td><td>latitude</td></tr>
|
D | g-app-intents.jd | 71 <td>geo:<em>latitude</em>,<em>longitude</em><br /> 72 geo:<em>latitude</em>,<em>longitude</em>?z=<em>zoom</em><br /> 94 <tr><td><em>lat</em></td><td>latitude</td></tr>
|