/frameworks/base/location/java/android/location/ |
D | Geofence.java | 48 public static Geofence createCircle(double latitude, double longitude, float radius) { in createCircle() argument 49 return new Geofence(latitude, longitude, radius); in createCircle() 52 private Geofence(double latitude, double longitude, float radius) { in Geofence() argument 54 checkLatLong(latitude, longitude); in Geofence() 56 mLatitude = latitude; in Geofence() 87 private static void checkLatLong(double latitude, double longitude) { in checkLatLong() argument 88 if (latitude > 90.0 || latitude < -90.0) { in checkLatLong() 89 throw new IllegalArgumentException("invalid latitude: " + latitude); in checkLatLong() 107 double latitude = in.readDouble(); 111 return Geofence.createCircle(latitude, longitude, radius);
|
D | Geocoder.java | 123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation() argument 125 if (latitude < -90.0 || latitude > 90.0) { in getFromLocation() 126 throw new IllegalArgumentException("latitude == " + latitude); in getFromLocation() 133 String ex = mService.getFromLocation(latitude, longitude, maxResults, in getFromLocation()
|
D | IGpsGeofenceHardware.aidl | 27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
|
D | IGeocodeProvider.aidl | 30 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
|
D | Address.java | 312 public void setLatitude(double latitude) { in setLatitude() argument 313 mLatitude = latitude; in setLatitude()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssGeofenceProvider.java | 21 public double latitude; field in GnssGeofenceProvider.GeofenceEntry 53 boolean added = mNative.addGeofence(entry.geofenceId, entry.latitude, in resumeIfStarted() 73 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, in addCircularHardwareGeofence() argument 77 boolean added = mNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence() 83 entry.latitude = latitude; in addCircularHardwareGeofence() 142 public boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument 145 return native_add_geofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence() 164 private static native boolean native_add_geofence(int geofenceId, double latitude, in native_add_geofence() argument
|
D | GeocoderProxy.java | 67 public String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument 71 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs); in getFromLocation()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { in setCircularGeofence() argument 43 mLatitude = latitude; in setCircularGeofence() 56 public static GeofenceHardwareRequest createCircularGeofence(double latitude, in createCircularGeofence() argument 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 70 public final double latitude; field in CameraSettings.GpsData 84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, in GpsData() argument 87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) { in GpsData() 90 this.latitude = latitude; in GpsData() 99 this.latitude = src.latitude; in GpsData()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | GeocodeProvider.java | 41 public String getFromLocation(double latitude, double longitude, int maxResults, 43 return GeocodeProvider.this.onGetFromLocation(latitude, longitude, maxResults, 62 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, in onGetFromLocation() argument
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 300 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument 419 public void setLocation(float latitude, float longitude) { in setLocation() argument 420 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation() 424 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
|
D | MediaRecorder.java | 687 public void setLocation(float latitude, float longitude) { in setLocation() argument 688 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation() 692 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/ |
D | TwilightServiceTest.java | 62 private Location createMockLocation(double latitude, double longitude) { in createMockLocation() argument 66 location.setLatitude(latitude); in createMockLocation()
|
/frameworks/av/media/libstagefright/ |
D | MediaMuxer.cpp | 129 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument 140 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation() 141 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
|
/frameworks/av/media/ndk/ |
D | NdkMediaMuxer.cpp | 62 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation() argument 63 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 210 int a, longitude, latitude; in createSuperShape() local 228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude) in createSuperShape() 232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; in createSuperShape() 233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; in createSuperShape() 255 if (latitude == latitudeBegin + 1) in createSuperShape()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaMuxer.h | 86 float latitude, float longitude) __INTRODUCED_IN(21);
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 192 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument 195 status_t res = muxer->setLocation(latitude, longitude); in android_media_MediaMuxer_setLocation()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaMuxer.h | 92 status_t setLocation(int latitude, int longitude);
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellIdentityCdma.java | 115 this(cid.networkId, cid.systemId, cid.baseStationId, cid.longitude, cid.latitude, "", ""); in CellIdentityCdma() 121 cid.base.latitude, cid.operatorNames.alphaLong, cid.operatorNames.alphaShort); in CellIdentityCdma()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 269 double latitude = location.getLatitude(); in setLocation() local 273 int[] latTag = toExifLatLong(latitude); in setLocation() 275 String latRef = latitude >= 0 ? GPS_LAT_REF_NORTH : GPS_LAT_REF_SOUTH; in setLocation()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.h | 132 virtual bool setGpsLatitude(double latitude) = 0;
|
D | ExifUtils.cpp | 122 virtual bool setGpsLatitude(double latitude); 508 bool ExifUtilsImpl::setGpsLatitude(double latitude) { in setGpsLatitude() argument 516 if (latitude >= 0) { in setGpsLatitude() 520 latitude *= -1; in setGpsLatitude() 531 setLatitudeOrLongitudeData(entry->data, latitude); in setGpsLatitude()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 93 public final float latitude; field in ExifInterfaceTest.ExpectedValue 136 latitude = typedArray.getFloat(4, 0f); in ExpectedValue() 282 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE); in getLatLongAsDoubles() local 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles() 1938 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles() 1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef); in getLatLongAsDoubles() 1986 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument 1987 ExifTag latTag = buildTag(TAG_GPS_LATITUDE, toExifLatLong(latitude)); in addGpsTags() 1990 latitude >= 0 ? ExifInterface.GpsLatitudeRef.NORTH in addGpsTags()
|