/frameworks/base/location/java/android/location/ |
H A D | Geofence.java | 41 * @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 D | IGpsGeofenceHardware.aidl | 27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double
|
H A D | IGeocodeProvider.aidl | 29 String getFromLocation(double latitude, double longitude, int maxResults,
|
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. 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 D | ILocationManager.aidl | 55 String getFromLocation(double latitude, double longitude, int maxResults,
|
H A D | Address.java | 288 * 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 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 111 * <p>By default time, latitude and longitude are 0, and the location 399 * @param startLatitude the starting latitude 401 * @param endLatitude the ending latitude 546 * Get the latitude, in degrees. 549 * will have a valid latitude 558 setLatitude(double latitude) argument [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { argument 43 mLatitude = latitude; 52 * @param latitude Latitude of the geofence 56 public static GeofenceHardwareRequest createCircularGeofence(double latitude, argument 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); 132 * Returns the latitude of this geofence.
|
/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/include/ndk/ |
H A D | NdkMediaMuxer.h | 60 * Set and store the geodata (latitude and longitude) in the output file. 70 media_status_t AMediaMuxer_setLocation(AMediaMuxer*, float latitude, float longitude);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 70 public final double latitude; 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)) { 90 this.latitude = latitude; 99 this.latitude = src.latitude;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMuxer.java | 92 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); argument 168 * Set and store the geodata (latitude and longitude) in the output file. 174 * @param latitude Latitude in degrees. Its value must be in the range [-90, 178 * @throws IllegalArgumentException If the given latitude or longitude is out 182 public void setLocation(float latitude, float longitude) { argument 183 int latitudex10000 = (int) (latitude * 10000 + 0.5); 187 String msg = "Latitude: " + latitude + " out of range.";
|
H A D | MediaRecorder.java | 472 * Set and store the geodata (latitude and longitude) in the output file. 478 * @param latitude latitude in degrees. Its value must be in the 483 * @throws IllegalArgumentException if the given latitude or 487 public void setLocation(float latitude, float longitude) { argument 488 int latitudex10000 = (int) (latitude * 10000 + 0.5); 492 String msg = "Latitude: " + latitude + " out of range."; 500 setParameter("param-geotag-latitude=" + latitudex10000);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaMuxer.cpp | 71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { argument 72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000));
|
/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 | GpsLocationProvider.java | 1233 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, 1236 return native_add_geofence(geofenceId, latitude, longitude, radius, 1376 private void reportLocation(int flags, double latitude, double longitude, double altitude, argument 1378 if (VERBOSE) Log.v(TAG, "reportLocation lat: " + latitude + " long: " + longitude + 1384 mLocation.setLatitude(latitude); 1655 double latitude, 1664 location.setLatitude(latitude); 1710 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument 1718 latitude, 1737 private void reportGeofenceStatus(int status, int flags, double latitude, argument 1653 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 2183 native_inject_location(double latitude, double longitude, float accuracy) argument 2213 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MediaMuxer.h | 84 * @param latitude The latitude in degree x 1000. Its value must be in the range 90 status_t setLocation(int latitude, int longitude);
|
/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 82 double phi = Math.toRadians(latitude); 91 // Because latitude ranges from -90 to 90 degrees, cosPhi >= 0.
|
H A D | ClusterManager.java | 266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE)); 269 new BaseCluster(semanticId, longitude, latitude, duration);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaMuxer.cpp | 120 status_t MediaMuxer::setLocation(int latitude, int longitude) { argument 131 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); 132 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 167 JNIEnv *env, jclass clazz, jlong nativeObject, jint latitude, jint longitude) { 170 status_t res = muxer->setLocation(latitude, longitude); 166 android_media_MediaMuxer_setLocation( JNIEnv *env, jclass clazz, jlong nativeObject, jint latitude, jint longitude) argument
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 200 // 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/hardware/camera2/ |
H A D | DngCreator.java | 217 * The given location object must contain at least a valid time, latitude, and longitude 233 double latitude = location.getLatitude(); 237 int[] latTag = toExifLatLong(latitude); 239 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 91 (jdouble)location->latitude, (jdouble)location->longitude, 357 location->flags, (jdouble)location->latitude, (jdouble)location->longitude, 369 jdouble latitude = 0; local 378 latitude = location->latitude; 388 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); 708 jdouble latitude, jdouble longitude, jfloat accuracy) 711 sGpsInterface->inject_location(latitude, longitude, accuracy); 849 jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, 853 sGpsGeofencingInterface->add_geofence_area(geofence_id, latitude, longitud 707 android_location_GpsLocationProvider_inject_location(JNIEnv* env, jobject obj, jdouble latitude, jdouble longitude, jfloat accuracy) argument 848 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/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 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...] |