/frameworks/base/location/java/android/location/ |
H A D | Geocoder.java | 34 * 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 D | Geofence.java | 42 * @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 D | Address.java | 325 * 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 D | Location.java | 32 * <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...] |
H A D | LocationManager.java | 913 * (latitude, longitude) and the given radius. 946 * @param longitude the longitude of the central point of the 958 public void addProximityAlert(double latitude, double longitude, float radius, long expiration, argument 963 Geofence fence = Geofence.createCircle(latitude, longitude, radius);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | GeocodeProvider.java | 40 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 D | M4EXIFC_CommonAPI.h | 94 M4OSA_Char *longitudeRef; /**< longitude reference */ 95 M4COMMON_Location longitude; /**< longitude */ member in struct:__anon230
|
/frameworks/av/media/libstagefright/ |
H A D | MediaMuxer.cpp | 106 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/base/services/java/com/android/server/ |
H A D | TwilightCalculator.java | 69 * @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 D | LocationManagerService.java | 2143 public String getFromLocation(double latitude, double longitude, int maxResults, argument 2146 return mGeocodeProvider.getFromLocation(latitude, longitude, maxResults,
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareRequest.java | 39 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 D | GeofenceHardwareImpl.java | 214 double longitude, double radius, int lastTransition,int monitorTransitions, 220 " Longitude: " + longitude + " Radius: " + radius + " LastTransition: " 241 longitude, radius, lastTransition, monitorTransitions, 254 longitude, 213 addCircularFence(int geofenceId, int monitoringType, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer, IGeofenceHardwareCallback callback) argument
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeocoderProxy.java | 75 public String getFromLocation(double latitude, double longitude, int maxResults, argument 80 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
|
H A D | GpsLocationProvider.java | 981 double longitude, double radius, int lastTransition, int monitorTransitions, 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 + 1136 mLocation.setLongitude(longitude); 1438 double longitude, 1447 location.setLongitude(longitude); 1493 double longitude, double altitude, float speed, float bearing, float accuracy, 1501 longitude, 1520 double longitude, doubl 1435 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 1492 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument 1519 reportGeofenceStatus(int status, 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/base/media/java/android/media/ |
H A D | MediaMuxer.java | 95 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. 177 * @param longitude Longitude in degrees. Its value must be in the range 179 * @throws IllegalArgumentException If the given latitude or longitude is out 183 public void setLocation(float latitude, float longitude) { argument 185 int longitudex10000 = (int) (longitude * 10000 + 0.5); 192 String msg = "Longitude: " + longitude + " out of range";
|
H A D | MediaRecorder.java | 425 * Set and store the geodata (latitude and longitude) in the output file. 433 * @param longitude longitude in degrees. Its value must be in the 437 * longitude is out of range. 440 public void setLocation(float latitude, float longitude) { argument 442 int longitudex10000 = (int) (longitude * 10000 + 0.5); 449 String msg = "Longitude: " + longitude + " out of range"; 454 setParameter("param-geotag-longitude=" + longitudex10000);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 168 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/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BaseCluster.java | 52 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...] |
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 210 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/java/android/provider/ |
H A D | Contacts.java | 1245 * 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
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 83 (jdouble)location->latitude, (jdouble)location->longitude, 250 location->flags, (jdouble)location->latitude, (jdouble)location->longitude, 263 jdouble longitude = 0; local 272 longitude = location->longitude; 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, longitude, 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...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1838 private static final String KEY_GPS_LONGITUDE = "gps-longitude"; 2843 * Sets GPS longitude coordinate. This will be stored in JPEG EXIF 2846 * @param longitude GPS longitude coordinate. 2848 public void setGpsLongitude(double longitude) { argument 2849 set(KEY_GPS_LONGITUDE, Double.toString(longitude)); 2882 * Removes GPS latitude, longitude, altitude, and timestamp from the
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1898 * 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 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null 1938 || latitude.length < 3 || longitude.length < 3) { 1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); 1980 * Creates and sets all to the GPS tags for a give latitude and longitude. 1983 * @param longitude a GPS longitude coordinat 1986 addGpsTags(double latitude, double longitude) argument [all...] |