Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/location/java/android/location/
DGeofence.java48 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);
DGeocoder.java123 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()
DIGpsGeofenceHardware.aidl27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
DIGeocodeProvider.aidl30 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
DAddress.java312 public void setLatitude(double latitude) { in setLatitude() argument
313 mLatitude = latitude; in setLatitude()
/frameworks/base/services/core/java/com/android/server/location/
DGnssGeofenceProvider.java21 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
DGeocoderProxy.java67 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/
DGeofenceHardwareRequest.java42 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/
DCameraSettings.java70 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/
DGeocodeProvider.java41 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/
DMediaMuxer.java301 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument
420 public void setLocation(float latitude, float longitude) { in setLocation() argument
421 int latitudex10000 = (int) (latitude * 10000 + 0.5); in setLocation()
425 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
DTwilightServiceTest.java62 private Location createMockLocation(double latitude, double longitude) { in createMockLocation() argument
66 location.setLatitude(latitude); in createMockLocation()
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp121 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument
132 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation()
133 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp62 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/base/telephony/java/android/telephony/ims/
DRcsMessageCreationParams.java180 public Builder setLatitude(double latitude) { in setLatitude() argument
181 mLatitude = latitude; in setLatitude()
DRcsMessage.java265 public void setLatitude(double latitude) throws RcsMessageStoreException { in setLatitude() argument
267 (iRcs, callingPackage) -> iRcs.setLatitudeForMessage(mId, isIncoming(), latitude, in setLatitude()
/frameworks/native/opengl/tests/angeles/
Ddemo.c210 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/
DNdkMediaMuxer.h80 float latitude, float longitude) __INTRODUCED_IN(21);
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp192 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/
DMediaMuxer.h92 status_t setLocation(int latitude, int longitude);
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java111 this(cid.networkId, cid.systemId, cid.baseStationId, cid.longitude, cid.latitude, "", ""); in CellIdentityCdma()
117 cid.base.latitude, cid.operatorNames.alphaLong, cid.operatorNames.alphaShort); in CellIdentityCdma()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h132 virtual bool setGpsLatitude(double latitude) = 0;
DExifUtils.cpp122 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/core/java/android/hardware/camera2/
DDngCreator.java269 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java93 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()

12