Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/location/java/android/location/
DGeofence.java47 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);
DGeocoder.java123 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()
DIGpsGeofenceHardware.aidl27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
DIGeocodeProvider.aidl29 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
DAddress.java312 public void setLatitude(double latitude) { in setLatitude() argument
313 mLatitude = latitude; in setLatitude()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequest.java42 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/
DGeocodeProvider.java40 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/
DCameraSettings.java70 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/
DMediaMuxer.java92 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()
DMediaRecorder.java479 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/
DBaseCluster.java52 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()
DClusterManager.java266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE)); in loadSemanticClusters() local
269 new BaseCluster(semanticId, longitude, latitude, duration); in loadSemanticClusters()
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp120 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/
DNdkMediaMuxer.cpp71 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/
DGeocoderProxy.java74 public String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
79 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs); in getFromLocation()
DGpsLocationProvider.java1199 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/
Ddemo.c210 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/
DNdkMediaMuxer.h70 media_status_t AMediaMuxer_setLocation(AMediaMuxer*, float latitude, float longitude);
/frameworks/av/include/media/stagefright/
DMediaMuxer.h90 status_t setLocation(int latitude, int longitude);
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp167 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/
Ddisplay-address.jd46 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/
Dcom_android_server_location_GpsLocationProvider.cpp91 (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/
DDngCreator.java233 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/
Dapp-intents.jd61 <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>
Dg-app-intents.jd71 <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>

12