Searched refs:latitude (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
H A DMockGeolocation.java40 public void setPosition(double latitude, double longitude, double accuracy) { argument
42 nativeSetPosition(mWebViewCore, latitude, longitude, accuracy);
60 private static native void nativeSetPosition(WebViewCore webViewCore, double latitude, argument
/frameworks/base/location/java/android/location/
H A DGeofence.java41 * @param latitude latitude in degrees, between -90 and +90 inclusive
47 public static Geofence createCircle(double latitude, double longitude, float radius) { argument
48 return new Geofence(latitude, longitude, radius);
51 private Geofence(double latitude, double longitude, float radius) { argument
53 checkLatLong(latitude, longitude);
55 mLatitude = latitude;
86 private static void checkLatLong(double latitude, double longitude) { argument
87 if (latitude > 90.0 || latitude <
[all...]
H A DIGpsGeofenceHardware.aidl27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double
H A DIGeocodeProvider.aidl29 String getFromLocation(double latitude, double longitude, int maxResults,
H A DGeocoder.java34 * of a location into a (latitude, longitude) coordinate. Reverse
35 * geocoding is the process of transforming a (latitude, longitude)
100 * area immediately surrounding the given latitude and longitude.
109 * @param latitude the latitude a point for the search
116 * @throws IllegalArgumentException if latitude is
123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) argument
125 if (latitude < -90.0 || latitude > 90.0) {
126 throw new IllegalArgumentException("latitude
[all...]
H A DILocationManager.aidl54 String getFromLocation(double latitude, double longitude, int maxResults,
H A DAddress.java288 * Returns true if a latitude has been assigned to this Address,
296 * Returns the latitude of the address if known.
299 * a latitude.
310 * Sets the latitude associated with this address.
312 public void setLatitude(double latitude) { argument
313 mLatitude = latitude;
318 * Removes any latitude associated with this address.
366 * a latitude.
459 sb.append(",latitude=");
H A DLocation.java32 * <p>A location can consist of a latitude, longitude, timestamp,
36 * guaranteed to have a valid latitude, longitude, and timestamp
42 * Constant used to specify formatting of a latitude or longitude
48 * Constant used to specify formatting of a latitude or longitude
55 * Constant used to specify formatting of a latitude or longitude
110 * <p>By default time, latitude and longitude are 0, and the location
398 * @param startLatitude the starting latitude
400 * @param endLatitude the ending latitude
545 * Get the latitude, in degrees.
548 * will have a valid latitude
557 setLatitude(double latitude) argument
[all...]
H A DLocationManager.java889 * (latitude, longitude) and the given radius.
920 * @param latitude the latitude of the central point of the
934 public void addProximityAlert(double latitude, double longitude, float radius, long expiration, argument
939 Geofence fence = Geofence.createCircle(latitude, longitude, radius);
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareRequest.java39 private void setCircularGeofence(double latitude, double longitude, double radius) { argument
40 mLatitude = latitude;
49 * @param latitude Latitude of the geofence
53 public static GeofenceHardwareRequest createCircularGeofence(double latitude, argument
56 geofenceRequest.setCircularGeofence(latitude, longitude, radius);
107 * Returns the latitude of this geofence.
H A DGeofenceHardwareImpl.java181 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument
187 Log.d(TAG, "addCircularFence: GeofenceId: " + geofenceId + " Latitude: " + latitude +
208 result = mGpsService.addCircularHardwareGeofence(geofenceId, latitude,
337 private Location getLocation(int flags, double latitude, argument
340 if (DEBUG) Log.d(TAG, "GetLocation: " + flags + ":" + latitude);
343 location.setLatitude(latitude);
376 public void reportGpsGeofenceTransition(int geofenceId, int flags, double latitude, argument
379 if (DEBUG) Log.d(TAG, "GeofenceTransition: Flags: " + flags + " Lat: " + latitude +
383 Location location = getLocation(flags, latitude, longitude, altitude, speed, bearing,
394 public void reportGpsGeofenceStatus(int status, int flags, double latitude, argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A 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, argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java83 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
84 Log.i(LOG_TAG, "setMockGeolocationPosition(): " + "latitude=" + latitude +
86 mLayoutTestsExecutor.setMockGeolocationPosition(latitude, longitude, accuracy);
H A DLayoutTestsExecutor.java696 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
697 WebViewClassic.fromWebView(mCurrentWebView).setMockGeolocationPosition(latitude, longitude,
/frameworks/av/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h92 M4OSA_Char *latitudeRef; /**< latitude reference */
93 M4COMMON_Location latitude; /**< latitude */ member in struct:__anon224
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestController.java76 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy); argument
H A DCallbackProxy.java489 public void setMockGeolocationPosition(double latitude, argument
494 mLayoutTestController.setMockGeolocationPosition(latitude,
/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java75 public String getFromLocation(double latitude, double longitude, int maxResults, argument
80 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
H A DGpsLocationProvider.java951 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
954 return native_add_geofence(geofenceId, latitude, longitude, radius,
1098 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument
1100 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude +
1106 mLocation.setLatitude(latitude);
1407 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument
1413 mGeofenceHardwareImpl.reportGpsGeofenceTransition(geofenceId, flags, latitude, longitude,
1420 private void reportGeofenceStatus(int status, int flags, double latitude, argument
1426 mGeofenceHardwareImpl.reportGpsGeofenceStatus(status, flags, latitude, longitude, altitude,
1773 private native void native_inject_location(double latitude, doubl argument
1803 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBaseCluster.java52 public BaseCluster(String semanticId, double longitude, double latitude, argument
55 mCenter = getLocationVector(longitude, latitude);
79 protected double[] getLocationVector(double longitude, double latitude) { argument
82 double phi = Math.toRadians(latitude);
91 // Because latitude ranges from -90 to 90 degrees, cosPhi >= 0.
H A DClusterManager.java266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE));
269 new BaseCluster(semanticId, longitude, latitude, duration);
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java391 * Set and store the geodata (latitude and longitude) in the output file.
397 * @param latitude latitude in degrees. Its value must be in the
402 * @throws IllegalArgumentException if the given latitude or
406 public void setLocation(float latitude, float longitude) { argument
407 int latitudex10000 = (int) (latitude * 10000 + 0.5);
411 String msg = "Latitude: " + latitude + " out of range.";
419 setParameter("param-geotag-latitude=" + latitudex10000);
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp82 (jdouble)location->latitude, (jdouble)location->longitude,
249 location->flags, (jdouble)location->latitude, (jdouble)location->longitude,
261 jdouble latitude = 0; local
270 latitude = location->latitude;
280 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
565 jdouble latitude, jdouble longitude, jfloat accuracy)
568 sGpsInterface->inject_location(latitude, longitude, accuracy);
691 jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius,
695 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitud
564 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
690 android_location_GpsLocationProvider_add_geofence(JNIEnv* env, jobject obj, jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, jint last_transition, jint monitor_transition, jint notification_responsiveness, jint unknown_timer) argument
[all...]
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c200 // latitude 0 to pi/2 for no mirrored bottom
210 int a, longitude, latitude; local
227 // latitude 0 to pi/2
228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude)
232 float p1 = -PI / 2 + latitude * 2 * PI / resol2;
233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2;
255 if (latitude == latitudeBegin + 1)
335 } // latitude
[all...]
/frameworks/base/core/java/android/provider/
H A DContacts.java1237 * The column with latitude data for postal locations
1442 * Add a longitude and latitude location to a postal address.
1446 * @param latitude the latitude for the address
1452 double latitude, double longitude) {
1456 values.put(POSTAL_LOCATION_LATITUDE, latitude);
1451 addPostalLocation(Context context, long postalId, double latitude, double longitude) argument

Completed in 467 milliseconds

12