/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/ |
H A D | TwilightServiceTest.java | 62 private Location createMockLocation(double latitude, double longitude) { argument 67 location.setLongitude(longitude);
|
/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 | 33 * <p>A location can consist of a latitude, longitude, timestamp, 37 * guaranteed to have a valid latitude, longitude, and timestamp 43 * Constant used to specify formatting of a latitude or longitude 49 * Constant used to specify formatting of a latitude or longitude 56 * Constant used to specify formatting of a latitude or longitude 146 * <p>By default time, latitude and longitude are 0, and the location 444 * @param startLongitude the starting longitude 446 * @param endLongitude the ending longitude 601 * Get the longitude, in degrees. 604 * will have a valid longitude 613 setLongitude(double longitude) argument [all...] |
H A D | LocationManager.java | 941 * (latitude, longitude) and the given radius. 974 * @param longitude the longitude of the central point of the 987 public void addProximityAlert(double latitude, double longitude, float radius, long expiration, argument 992 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/media/libstagefright/ |
H A D | MediaMuxer.cpp | 105 status_t MediaMuxer::setLocation(int latitude, int longitude) { argument 116 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); 117 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | TwilightCalculator.java | 85 * @param longitude latitude in degrees. 88 public void calculateTwilight(long time, double latitude, double longitude) { argument 98 // ecliptic longitude 102 final double arcLongitude = -longitude / 360;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { argument 44 mLongitude = longitude; 53 * @param longitude Longitude of the geofence 57 double longitude, double radius) { 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); 139 * Returns the longitude of this geofence. 56 createCircularGeofence(double latitude, double longitude, double radius) argument
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeocoderProxy.java | 74 public String getFromLocation(double latitude, double longitude, int maxResults, argument 79 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
|
H A D | GnssLocationProvider.java | 1391 double longitude, double radius, int lastTransition, int monitorTransitions, 1393 return native_add_geofence(geofenceId, latitude, longitude, radius, 2630 private native void native_inject_location(double latitude, double longitude, float accuracy); argument 2661 double longitude, double radius, int lastTransition,int monitorTransitions, 2660 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMuxer.java | 288 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); argument 387 * Set and store the geodata (latitude and longitude) in the output file. 395 * @param longitude Longitude in degrees. Its value must be in the range 397 * @throws IllegalArgumentException If the given latitude or longitude is out 401 public void setLocation(float latitude, float longitude) { argument 403 int longitudex10000 = (int) (longitude * 10000 + 0.5); 410 String msg = "Longitude: " + longitude + " out of range";
|
H A D | MediaRecorder.java | 585 * Set and store the geodata (latitude and longitude) in the output file. 593 * @param longitude longitude in degrees. Its value must be in the 597 * longitude is out of range. 600 public void setLocation(float latitude, float longitude) { argument 602 int longitudex10000 = (int) (longitude * 10000 + 0.5); 609 String msg = "Longitude: " + longitude + " out of range"; 614 setParameter("param-geotag-longitude=" + longitudex10000);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 192 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { 195 status_t res = muxer->setLocation(latitude, longitude); 191 android_media_MediaMuxer_setLocation( JNIEnv *env, jclass , jlong nativeObject, jint latitude, jint longitude) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | ExifInterfaceTest.java | 94 public final float longitude; field in class:ExifInterfaceTest.ExpectedValue 137 longitude = typedArray.getFloat(5, 0f); 283 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 71 public final double longitude; field in class:CameraSettings.GpsData 81 * {@code latitude}, {@code longitude}, and {@code altitude} will be 84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, argument 87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) { 91 this.longitude = longitude; 100 this.longitude = src.longitude;
|
/frameworks/support/exifinterface/tests/src/android/support/media/ |
H A D | ExifInterfaceTest.java | 229 public final float longitude; field in class:ExifInterfaceTest.ExpectedValue 272 longitude = typedArray.getFloat(5, 0f); 737 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE);
|
/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 | 1238 * The column with longitude data for postal locations 1435 * Add a longitude and latitude location to a postal address. 1440 * @param longitude the longitude for the address 1445 double latitude, double longitude) { 1450 values.put(POSTAL_LOCATION_LONGITUDE, longitude); 1444 addPostalLocation(Context context, long postalId, double latitude, double longitude) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | LocationManagerService.java | 2815 public String getFromLocation(double latitude, double longitude, int maxResults, argument 2818 return mGeocodeProvider.getFromLocation(latitude, longitude, maxResults,
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GnssLocationProvider.cpp | 1380 jobject /* obj */, jdouble latitude, jdouble longitude, jfloat accuracy) { 1382 auto result = gnssHal->injectLocation(latitude, longitude, accuracy); 1587 jobject /* obj */, jint geofenceId, jdouble latitude, jdouble longitude, jdouble radius, 1592 geofenceId, latitude, longitude, radius, 1379 android_location_GnssLocationProvider_inject_location(JNIEnv* , jobject , jdouble latitude, jdouble longitude, jfloat accuracy) argument 1586 android_location_GnssLocationProvider_add_geofence(JNIEnv* , jobject , jint geofenceId, jdouble latitude, jdouble longitude, jdouble radius, jint last_transition, jint monitor_transition, jint notification_responsiveness, jint unknown_timer) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 2168 private static final String KEY_GPS_LONGITUDE = "gps-longitude"; 3226 * Sets GPS longitude coordinate. This will be stored in JPEG EXIF 3229 * @param longitude GPS longitude coordinate. 3231 public void setGpsLongitude(double longitude) { argument 3232 set(KEY_GPS_LONGITUDE, Double.toString(longitude)); 3265 * 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...] |
/frameworks/support/exifinterface/src/android/support/media/ |
H A D | ExifInterface.java | 1624 * <p>Indicates whether the longitude is east or west longitude.</p> 1638 * <p>Indicates the longitude. The longitude is expressed as three RATIONAL values giving 1639 * the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, 1869 * <p>Indicates whether the longitude of the destination point is east or west longitude.</p> 1883 * <p>Indicates the longitude of the destination point. The longitude is expressed as three 1885 * If longitude i 4517 setLatLong(double latitude, double longitude) argument [all...] |