Searched defs:latitude (Results 1 - 23 of 23) sorted by relevance

/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
H A DWebViewCore.java3054 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
3055 mMockGeolocation.setPosition(latitude, longitude, accuracy);
H A DWebViewClassic.java4936 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
4937 mWebViewCore.setMockGeolocationPosition(latitude, longitude, accuracy);
/frameworks/base/location/java/android/location/
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 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 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
109 * <p>By default time, latitude and longitude are 0, and the location
395 * @param startLatitude the starting latitude
397 * @param endLatitude the ending latitude
542 * Get the latitude, in degrees.
545 * will have a valid latitude
554 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/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/av/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h92 M4OSA_Char *latitudeRef; /**< latitude reference */
93 M4COMMON_Location latitude; /**< latitude */ member in struct:__anon217
/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java70 public String getFromLocation(double latitude, double longitude, int maxResults, argument
75 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
H A DGpsLocationProvider.java1019 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument
1021 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude +
1027 mLocation.setLatitude(latitude);
1622 private native void native_inject_location(double latitude, double longitude, float accuracy); 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/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,
H A DTestShellActivity.java543 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
544 WebViewClassic.fromWebView(mWebView).setMockGeolocationPosition(latitude, longitude,
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java398 * Set and store the geodata (latitude and longitude) in the output file.
404 * @param latitude latitude in degrees. Its value must be in the
409 * @throws IllegalArgumentException if the given latitude or
413 public void setLocation(float latitude, float longitude) { argument
414 int latitudex10000 = (int) (latitude * 10000 + 0.5);
418 String msg = "Latitude: " + latitude + " out of range.";
426 setParameter("param-geotag-latitude=" + latitudex10000);
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp75 (jdouble)location->latitude, (jdouble)location->longitude,
451 jdouble latitude, jdouble longitude, jfloat accuracy)
454 sGpsInterface->inject_location(latitude, longitude, accuracy);
450 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
/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
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java1814 public String getFromLocation(double latitude, double longitude, int maxResults, argument
1817 return mGeocodeProvider.getFromLocation(latitude, longitude, maxResults,
/frameworks/base/core/java/android/hardware/
H A DCamera.java1677 private static final String KEY_GPS_LATITUDE = "gps-latitude";
2670 * Sets GPS latitude coordinate. This will be stored in JPEG EXIF
2673 * @param latitude GPS latitude coordinate.
2675 public void setGpsLatitude(double latitude) { argument
2676 set(KEY_GPS_LATITUDE, Double.toString(latitude));
2719 * Removes GPS latitude, longitude, altitude, and timestamp from the

Completed in 4542 milliseconds