Home
last modified time | relevance | path

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

123

/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
/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/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/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/base/media/java/android/media/
DMediaMuxer.java106 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument
196 public void setLocation(float latitude, float longitude) { in setLocation() argument
197 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation()
201 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
DMediaRecorder.java514 public void setLocation(float latitude, float longitude) { in setLocation() argument
515 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation()
519 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.cpp105 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/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.java1209 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
1212 return native_add_geofence(geofenceId, latitude, longitude, radius,
1352 private void reportLocation(int flags, double latitude, double longitude, double altitude, in reportLocation() argument
1354 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude + in reportLocation()
1360 mLocation.setLatitude(latitude); in reportLocation()
1629 double latitude, in buildLocation() argument
1638 location.setLatitude(latitude); in buildLocation()
1684 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, in reportGeofenceTransition() argument
1692 latitude, in reportGeofenceTransition()
1711 private void reportGeofenceStatus(int status, int flags, double latitude, in reportGeofenceStatus() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DGEOLocationElement.java119 double latitude = in GEOLocationElement() local
123 new RealValue(latitude, bitsToAbsResolution(rawLatRes, LL_WIDTH, in GEOLocationElement()
125 new RealValue(latitude); in GEOLocationElement()
/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/base/docs/html/training/location/
Ddisplay-address.jd43 {@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
208 address for the given latitude/longitude.</li>
249 // Catch invalid latitude or longitude values.
342 <li>A {@link android.location.Location} object containing the latitude and
/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/av/include/media/stagefright/
DMediaMuxer.h89 status_t setLocation(int latitude, int 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()
721 jobject /* obj */, jdouble latitude, jdouble longitude, jfloat accuracy) in android_location_GpsLocationProvider_inject_location() argument
724 sGpsInterface->inject_location(latitude, longitude, accuracy); in android_location_GpsLocationProvider_inject_location()
859 jobject /* obj */, jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, in android_location_GpsLocationProvider_add_geofence() argument
863 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitude, in android_location_GpsLocationProvider_add_geofence()
/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>
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java241 double latitude = location.getLatitude(); in setLocation() local
245 int[] latTag = toExifLatLong(latitude); in setLocation()
247 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH; in setLocation()

123