Searched refs:longitude (Results 1 - 25 of 33) 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);
61 double longitude, double accuracy);
60 nativeSetPosition(WebViewCore webViewCore, double latitude, double longitude, double accuracy) argument
/frameworks/base/location/java/android/location/
H A DGeofence.java42 * @param longitude longitude in degrees, between -180 and +180 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);
56 mLongitude = longitude;
86 private static void checkLatLong(double latitude, double longitude) { argument
90 if (longitude > 180.0 || longitude <
[all...]
H A DIGpsGeofenceHardware.aidl28 longitude, double radius, int lastTransition, int monitorTransition,
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.
110 * @param longitude the longitude a point for the search
118 * @throws IllegalArgumentException if longitude is
123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) argument
128 if (longitude < -180.0 || longitude > 180.0) {
129 throw new IllegalArgumentException("longitude
[all...]
H A DILocationManager.aidl54 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.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
399 * @param startLongitude the starting longitude
401 * @param endLongitude the ending longitude
562 * Get the longitude, in degrees.
565 * will have a valid longitude
574 setLongitude(double longitude) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareRequest.java39 private void setCircularGeofence(double latitude, double longitude, double radius) { argument
41 mLongitude = longitude;
50 * @param longitude Longitude of the geofence
54 double longitude, double radius) {
56 geofenceRequest.setCircularGeofence(latitude, longitude, radius);
114 * Returns the longitude of this geofence.
53 createCircularGeofence(double latitude, double longitude, double radius) argument
H A DIGeofenceHardware.aidl28 boolean addCircularFence(int id, int monitoringType, double lat, double longitude,
H A DGeofenceHardwareService.java84 public boolean addCircularFence(int id, int monitoringType, double lat, double longitude,
90 return mGeofenceHardwareImpl.addCircularFence(id, monitoringType, lat, longitude,
H A DGeofenceHardwareImpl.java182 double longitude, double radius, int lastTransition,int monitorTransitions,
188 " Longitude: " + longitude + " Radius: " + radius + " LastTransition: "
209 longitude, radius, lastTransition, monitorTransitions,
338 double longitude, double altitude, float speed, float bearing, float accuracy,
344 location.setLongitude(longitude);
377 double longitude, double altitude, float speed, float bearing, float accuracy,
380 " Long: " + longitude + " Altitude: " + altitude + " Speed: " + speed + " Bearing: " +
383 Location location = getLocation(flags, latitude, longitude, altitude, speed, bearing,
395 double longitude, double altitude, float speed, float bearing, float accuracy,
397 Location location = getLocation(flags, latitude, longitude, altitud
181 addCircularFence(int geofenceId, int monitoringType, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer, IGeofenceHardwareCallback callback) argument
337 getLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
376 reportGpsGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
394 reportGpsGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) 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/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
81 double lambda = Math.toRadians(longitude);
93 double longitude = Math.toDegrees(Math.asin(mCenter[1] / cosPhi));
95 longitude = (longitude > 0) ? 180f - longitude : -180 - longitude;
97 return longitude;
[all...]
H A DClusterManager.java265 double longitude = Double.valueOf(map.get(SEMANTIC_LONGITUDE));
269 new BaseCluster(semanticId, longitude, latitude, duration);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java83 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { argument
85 " longitude=" + longitude + " accuracy=" + accuracy);
86 mLayoutTestsExecutor.setMockGeolocationPosition(latitude, longitude, accuracy);
/frameworks/av/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h94 M4OSA_Char *longitudeRef; /**< longitude reference */
95 M4COMMON_Location longitude; /**< longitude */ 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.java490 double longitude,
495 longitude,
489 setMockGeolocationPosition(double latitude, double longitude, double 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;
/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.java952 double longitude, double radius, int lastTransition, int monitorTransitions,
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 +
1107 mLocation.setLongitude(longitude);
1408 double longitude, double altitude, float speed, float bearing, float accuracy,
1413 mGeofenceHardwareImpl.reportGpsGeofenceTransition(geofenceId, flags, latitude, longitude,
1421 double longitude, double altitude, float speed, float bearing, float accuracy,
1426 mGeofenceHardwareImpl.reportGpsGeofenceStatus(status, flags, latitude, longitude, altitude,
1773 private native void native_inject_location(double latitude, double longitude, floa argument
1407 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1420 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1803 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java391 * Set and store the geodata (latitude and longitude) in the output file.
399 * @param longitude longitude in degrees. Its value must be in the
403 * longitude is out of range.
406 public void setLocation(float latitude, float longitude) { argument
408 int longitudex10000 = (int) (longitude * 10000 + 0.5);
415 String msg = "Longitude: " + longitude + " out of range";
420 setParameter("param-geotag-longitude=" + longitudex10000);
/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,
262 jdouble longitude = 0; local
271 longitude = location->longitude;
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, longitude,
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.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

Completed in 506 milliseconds

12