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

/frameworks/base/core/java/android/webkit/
H A DMockGeolocation.java32 public void setPosition(double latitude, double longitude, double accuracy) { argument
34 nativeSetPosition(latitude, longitude, accuracy);
57 private static native void nativeSetPosition(double latitude, double longitude, double accuracy); argument
/frameworks/base/location/java/android/location/
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)
81 * area immediately surrounding the given latitude and longitude.
90 * @param latitude the latitude a point for the search
97 * @throws IllegalArgumentException if latitude is
104 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) argument
106 if (latitude < -90.0 || latitude > 90.0) {
107 throw new IllegalArgumentException("latitude
[all...]
H A DILocationManager.aidl53 void addProximityAlert(double latitude, double longitude, float distance,
67 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.java29 * time (a "fix"). A location consists of a latitude and longitude, a
40 * Constant used to specify formatting of a latitude or longitude
46 * Constant used to specify formatting of a latitude or longitude
53 * Constant used to specify formatting of a latitude or longitude
96 * Constructs a new Location. By default, time, latitude,
383 * @param startLatitude the starting latitude
385 * @param endLatitude the ending latitude
486 * Returns the latitude of this fix.
493 * Sets the latitude of this fix.
495 public void setLatitude(double latitude) { argument
[all...]
H A DLocationManager.java839 * (latitude, longitude) and the given radius. When the device
866 * @param latitude the latitude of the central point of the
880 public void addProximityAlert(double latitude, double longitude, argument
883 Log.d(TAG, "addProximityAlert: latitude = " + latitude +
889 mService.addProximityAlert(latitude, longitude, radius,
/frameworks/base/location/java/android/location/provider/
H A DGeocodeProvider.java38 public String getFromLocation(double latitude, double longitude, int maxResults,
40 return GeocodeProvider.this.onGetFromLocation(latitude, longitude, maxResults,
59 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, argument
/frameworks/base/location/java/com/android/internal/location/
H A DGeocoderProxy.java69 public String getFromLocation(double latitude, double longitude, int maxResults, argument
77 return provider.getFromLocation(latitude, longitude, maxResults,
H A DGpsLocationProvider.java963 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument
965 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude +
994 mLocation.setLatitude(latitude);
1453 private native void native_inject_location(double latitude, double longitude, float accuracy); argument
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java1065 public ProximityAlert(int uid, double latitude, double longitude, argument
1068 mLatitude = latitude;
1075 mLocation.setLatitude(latitude);
1087 boolean isInProximity(double latitude, double longitude, float accuracy) { argument
1089 loc.setLatitude(latitude);
1131 double latitude = loc.getLatitude();
1143 alert.isInProximity(latitude, longitude, accuracy);
1247 public void addProximityAlert(double latitude, double longitude, argument
1251 addProximityAlertLocked(latitude, longitude, radius, expiration, intent);
1262 private void addProximityAlertLocked(double latitude, doubl argument
1695 getFromLocation(double latitude, double longitude, int maxResults, GeocoderParams params, List<Address> addrs) argument
[all...]
/frameworks/base/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java479 public void setMockGeolocationPosition(double latitude, argument
482 MockGeolocation.getInstance().setPosition(latitude,
/frameworks/base/core/jni/
H A Dandroid_location_GpsLocationProvider.cpp314 (jdouble)sGpsLocationCopy.latitude, (jdouble)sGpsLocationCopy.longitude,
412 jdouble latitude, jdouble longitude, jfloat accuracy)
414 sGpsInterface->inject_location(latitude, longitude, accuracy);
411 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java726 private static final String KEY_GPS_LATITUDE = "gps-latitude";
1318 * Sets GPS latitude coordinate. This will be stored in JPEG EXIF
1321 * @param latitude GPS latitude coordinate.
1323 public void setGpsLatitude(double latitude) { argument
1324 set(KEY_GPS_LATITUDE, Double.toString(latitude));
1367 * Removes GPS latitude, longitude, altitude, and timestamp from the
/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 1745 milliseconds