Searched refs:longitude (Results 1 - 17 of 17) 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.
91 * @param longitude the longitude a point for the search
99 * @throws IllegalArgumentException if longitude is
104 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) argument
109 if (longitude < -180.0 || longitude > 180.0) {
110 throw new IllegalArgumentException("longitude
[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.java325 * Returns true if a longitude has been assigned to this Address,
333 * Returns the longitude of the address if known.
336 * a longitude.
347 * Sets the longitude associated with this address.
349 public void setLongitude(double longitude) { argument
350 mLongitude = longitude;
355 * Removes any longitude associated with this address.
463 sb.append(",longitude=");
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
97 * longitude, and numSatellites are 0; hasAltitude, hasSpeed, and
384 * @param startLongitude the starting longitude
386 * @param endLongitude the ending longitude
500 * Returns the longitude of this fix.
507 * Sets the longitude of this fix.
509 public void setLongitude(double longitude) { argument
[all...]
H A DLocationManager.java839 * (latitude, longitude) and the given radius. When the device
868 * @param longitude the longitude of the central point of the
880 public void addProximityAlert(double latitude, double longitude, argument
884 ", longitude = " + longitude + ", radius = " + radius +
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 +
995 mLocation.setLongitude(longitude);
1453 private native void native_inject_location(double latitude, double longitude, float accuracy); argument
/frameworks/base/services/java/com/android/server/
H A DTwilightCalculator.java69 * @param longitude latitude in degrees.
71 public void calculateTwilight(long time, double latiude, double longitude) { argument
81 // ecliptic longitude
85 final double arcLongitude = -longitude / 360;
H A DLocationManagerService.java1065 public ProximityAlert(int uid, double latitude, double longitude, argument
1069 mLongitude = longitude;
1076 mLocation.setLongitude(longitude);
1087 boolean isInProximity(double latitude, double longitude, float accuracy) { argument
1090 loc.setLongitude(longitude);
1132 double longitude = loc.getLongitude();
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, double longitude, argument
1695 getFromLocation(double latitude, double longitude, int maxResults, GeocoderParams params, List<Address> addrs) argument
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java480 double longitude,
483 longitude,
479 setMockGeolocationPosition(double latitude, double longitude, double accuracy) argument
/frameworks/base/opengl/tests/angeles/
H A Ddemo.c210 int a, longitude, latitude; local
223 // longitude -pi to pi
224 for (longitude = 0; longitude < longitudeCount; ++longitude)
230 float t1 = -PI + longitude * 2 * PI / resol1;
231 float t2 = -PI + (longitude + 1) * 2 * PI / resol1;
336 } // longitude
/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.java727 private static final String KEY_GPS_LONGITUDE = "gps-longitude";
1328 * Sets GPS longitude coordinate. This will be stored in JPEG EXIF
1331 * @param longitude GPS longitude coordinate.
1333 public void setGpsLongitude(double longitude) { argument
1334 set(KEY_GPS_LONGITUDE, Double.toString(longitude));
1367 * Removes GPS latitude, longitude, altitude, and timestamp from the
/frameworks/base/core/java/android/provider/
H A DContacts.java1245 * The column with longitude data for postal locations
1442 * Add a longitude and latitude location to a postal address.
1447 * @param longitude the longitude for the address
1452 double latitude, double longitude) {
1457 values.put(POSTAL_LOCATION_LONGITUDE, longitude);
1451 addPostalLocation(Context context, long postalId, double latitude, double longitude) argument

Completed in 455 milliseconds