Searched refs:latitude (Results 1 - 25 of 40) 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 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 DILocationManager.aidl56 String getFromLocation(double latitude, double longitude, int maxResults,
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareRequest.java42 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 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/include/ndk/
H A DNdkMediaMuxer.h63 * Set and store the geodata (latitude and longitude) in the output file.
73 media_status_t AMediaMuxer_setLocation(AMediaMuxer*, float latitude, float longitude);
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
H A DTwilightServiceTest.java62 private Location createMockLocation(double latitude, double longitude) { argument
66 location.setLatitude(latitude);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraSettings.java70 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/services/core/java/com/android/server/location/
H A DGeocoderProxy.java74 public String getFromLocation(double latitude, double longitude, int maxResults, argument
79 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightCalculator.java84 * @param latitude latitude in degrees.
85 * @param longitude latitude in degrees.
88 public void calculateTwilight(long time, double latitude, double longitude) { argument
110 final double latRad = latitude * DEGREES_TO_RADIANS;
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp105 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/av/media/ndk/
H A DNdkMediaMuxer.cpp71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { argument
72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000));
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h84 * @param latitude The latitude in degree x 1000. Its value must be in the range
90 status_t setLocation(int latitude, int longitude);
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaMuxer.h84 * @param latitude The latitude in degree x 1000. Its value must be in the range
90 status_t setLocation(int latitude, int longitude);
/frameworks/av/media/libstagefright/include/
H A DMediaMuxer.h84 * @param latitude The latitude in degree x 1000. Its value must be in the range
90 status_t setLocation(int latitude, int longitude);
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java288 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.
393 * @param latitude Latitude in degrees. Its value must be in the range [-90,
397 * @throws IllegalArgumentException If the given latitude or longitude is out
401 public void setLocation(float latitude, float longitude) { argument
402 int latitudex10000 = (int) (latitude * 10000 + 0.5);
406 String msg = "Latitude: " + latitude + " out of range.";
H A DMediaRecorder.java551 * Set and store the geodata (latitude and longitude) in the output file.
557 * @param latitude latitude in degrees. Its value must be in the
562 * @throws IllegalArgumentException if the given latitude or
566 public void setLocation(float latitude, float longitude) { argument
567 int latitudex10000 = (int) (latitude * 10000 + 0.5);
571 String msg = "Latitude: " + latitude + " out of range.";
579 setParameter("param-geotag-latitude=" + latitudex10000);
/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.parseDouble(map.get(SEMANTIC_LATITUDE));
269 new BaseCluster(semanticId, longitude, latitude, duration);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp192 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/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/core/java/android/hardware/camera2/
H A DDngCreator.java252 * The given location object must contain at least a valid time, latitude, and longitude
269 double latitude = location.getLatitude();
273 int[] latTag = toExifLatLong(latitude);
275 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH;

Completed in 4805 milliseconds

12