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

12

/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...]
/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.java213 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument
219 Log.d(TAG, "addCircularFence: GeofenceId: " + geofenceId + " Latitude: " + latitude +
240 result = mGpsService.addCircularHardwareGeofence(geofenceId, latitude,
253 latitude,
/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:__anon230
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java95 private static native void nativeSetLocation(int nativeObject, int latitude, int longitude); argument
169 * Set and store the geodata (latitude and longitude) in the output file.
175 * @param latitude Latitude in degrees. Its value must be in the range [-90,
179 * @throws IllegalArgumentException If the given latitude or longitude is out
183 public void setLocation(float latitude, float longitude) { argument
184 int latitudex10000 = (int) (latitude * 10000 + 0.5);
188 String msg = "Latitude: " + latitude + " out of range.";
H A DMediaRecorder.java425 * Set and store the geodata (latitude and longitude) in the output file.
431 * @param latitude latitude in degrees. Its value must be in the
436 * @throws IllegalArgumentException if the given latitude or
440 public void setLocation(float latitude, float longitude) { argument
441 int latitudex10000 = (int) (latitude * 10000 + 0.5);
445 String msg = "Latitude: " + latitude + " out of range.";
453 setParameter("param-geotag-latitude=" + latitudex10000);
/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.java980 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
983 return native_add_geofence(geofenceId, latitude, longitude, radius,
1127 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument
1129 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude +
1135 mLocation.setLatitude(latitude);
1437 double latitude,
1446 location.setLatitude(latitude);
1492 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument
1500 latitude,
1519 private void reportGeofenceStatus(int status, int flags, double latitude, argument
1435 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1888 native_inject_location(double latitude, double longitude, float accuracy) argument
1918 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp106 status_t MediaMuxer::setLocation(int latitude, int longitude) { argument
112 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude);
113 return mWriter->setGeoData(latitude, longitude);
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h83 * @param latitude The latitude in degree x 1000. Its value must be in the range
89 status_t setLocation(int latitude, int longitude);
/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/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp83 (jdouble)location->latitude, (jdouble)location->longitude,
250 location->flags, (jdouble)location->latitude, (jdouble)location->longitude,
262 jdouble latitude = 0; local
271 latitude = location->latitude;
281 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
566 jdouble latitude, jdouble longitude, jfloat accuracy)
569 sGpsInterface->inject_location(latitude, longitude, accuracy);
692 jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius,
696 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitud
565 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument
691 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...]
H A Dcom_android_server_location_FlpHardwareProvider.cpp181 location.latitude = env->CallDoubleMethod(locationObject, getLatitude);
293 circle.latitude = env->CallDoubleMethod(geofenceRequestObject, getLatitude);
360 sCallbackEnv->CallVoidMethod(locationObject, setLatitude, location->latitude);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp168 JNIEnv *env, jclass clazz, jint nativeObject, jint latitude, jint longitude) {
171 status_t res = muxer->setLocation(latitude, longitude);
167 android_media_MediaMuxer_setLocation( JNIEnv *env, jclass clazz, jint nativeObject, jint latitude, jint longitude) 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/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1898 * Gets the double representation of the GPS latitude or longitude
1925 * Gets the GPS latitude and longitude as a pair of doubles from this
1928 * @return an array of 2 doubles containing the latitude, and longitude
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE);
1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null
1938 || latitude.length < 3 || longitude.length < 3) {
1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef);
1980 * Creates and sets all to the GPS tags for a give latitude and longitude.
1982 * @param latitude a GPS latitude coordinat
1986 addGpsTags(double latitude, double longitude) argument
[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 616 milliseconds

12