Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssGeofenceProxy.java34 public double longitude; field in GnssGeofenceProxy.GeofenceEntry
65 double longitude, double radius, int lastTransition, int monitorTransitions, in addCircularHardwareGeofence() argument
68 boolean added = mGnssNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence()
75 entry.longitude = longitude; in addCircularHardwareGeofence()
133 entry.longitude, in onHalRestarted()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequest.java42 private void setCircularGeofence(double latitude, double longitude, double radius) { in setCircularGeofence() argument
44 mLongitude = longitude; in setCircularGeofence()
57 double longitude, double radius) { in createCircularGeofence() argument
59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
/frameworks/base/core/java/android/location/
DGeofence.java53 public static Geofence createCircle(double latitude, double longitude, float radius, in createCircle() argument
55 return new Geofence(latitude, longitude, radius, expirationRealtimeMs); in createCircle()
58 Geofence(double latitude, double longitude, float radius, long expirationRealtimeMs) { in Geofence() argument
60 Preconditions.checkArgumentInRange(longitude, -180.0, 180.0, "latitude"); in Geofence()
64 mLongitude = longitude; in Geofence()
DIGpsGeofenceHardware.aidl28 longitude, double radius, int lastTransition, int monitorTransition, in addCircularHardwareGeofence() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java56 public static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
60 location.setLongitude(longitude); in createLocation()
68 double longitude, float accuracy) { in createLocationResult() argument
69 return LocationResult.wrap(createLocation(provider, latitude, longitude, accuracy)); in createLocationResult()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java71 public final double longitude; 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()
91 this.longitude = longitude; in GpsData()
100 this.longitude = src.longitude; in GpsData()
/frameworks/base/services/core/java/com/android/server/location/fudger/
DLocationFudger.java159 double longitude = wrapLongitude(coarse.getLongitude()); in createCoarse() local
162 longitude += wrapLongitude(metersToDegreesLongitude(mLongitudeOffsetM, latitude)); in createCoarse()
174 longitude = wrapLongitude(Math.round(longitude / lonGranularity) * lonGranularity); in createCoarse()
177 coarse.setLongitude(longitude); in createCoarse()
/frameworks/base/location/java/android/location/provider/
DReverseGeocodeRequest.java56 double longitude, in ReverseGeocodeRequest() argument
63 Preconditions.checkArgumentInRange(longitude, -180.0, 180.0, "longitude"); in ReverseGeocodeRequest()
66 mLongitude = longitude; in ReverseGeocodeRequest()
196 @FloatRange(from = -180.0, to = 180.0) double longitude, in Builder()
202 mLongitude = longitude; in Builder()
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
DTwilightServiceTest.java62 private Location createMockLocation(double latitude, double longitude) { in createMockLocation() argument
67 location.setLongitude(longitude); in createMockLocation()
/frameworks/base/location/java/android/location/
DGeocoder.java140 @FloatRange(from = -180D, to = 180D) double longitude, in getFromLocation()
144 getFromLocation(latitude, longitude, maxResults, listener); in getFromLocation()
166 @FloatRange(from = -180D, to = 180D) double longitude, in getFromLocation()
172 longitude, in getFromLocation()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/
DFakeGnssHal.java193 public GnssHalGeofence(int geofenceId, double latitude, double longitude, double radius, in GnssHalGeofence() argument
199 Center.setLongitude(longitude); in GnssHalGeofence()
438 double longitude, double altitude, float speed, float bearing, float horizontalAccuracy, in injectLocation() argument
444 mState.mInjectedLocation.setLongitude(longitude); in injectLocation()
450 double longitude, double altitude, float speed, float bearing, float horizontalAccuracy, in injectBestLocation() argument
457 mState.mInjectedBestLocation.setLongitude(longitude); in injectBestLocation()
626 protected boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument
634 new GnssHalGeofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
/frameworks/base/media/java/android/media/
DMediaMuxer.java298 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument
435 public void setLocation(float latitude, float longitude) { in setLocation() argument
437 int longitudex10000 = Math.round(longitude * 10000); in setLocation()
444 String msg = "Longitude: " + longitude + " out of range"; in setLocation()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsCallProfileTest.java101 double longitude = 456; in testCallComposerExtras() local
103 testLocation.setLongitude(longitude); in testCallComposerExtras()
108 assertEquals(longitude, testGetLocation.getLongitude(), 0); in testCallComposerExtras()
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp158 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument
169 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation()
170 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
/frameworks/native/opengl/tests/angeles/
Ddemo.c210 int a, longitude, latitude; in createSuperShape() local
224 for (longitude = 0; longitude < longitudeCount; ++longitude) in createSuperShape()
230 float t1 = -PI + longitude * 2 * PI / resol1; in createSuperShape()
231 float t2 = -PI + (longitude + 1) * 2 * PI / resol1; in createSuperShape()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaMuxerBase.h83 virtual status_t setLocation(int latitude, int longitude) = 0;
DMediaMuxer.h91 status_t setLocation(int latitude, int longitude);
DMediaAppender.h50 status_t setLocation(int latitude, int longitude);
/frameworks/av/media/ndk/include/media/
DNdkMediaMuxer.h108 float latitude, float longitude) __INTRODUCED_IN(21);
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp196 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument
199 status_t res = muxer->setLocation(latitude, longitude); in android_media_MediaMuxer_setLocation()
/frameworks/base/packages/FusedLocation/test/src/com/android/location/gnss/tests/
DGnssOverlayLocationServiceTest.java171 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
175 location.setLongitude(longitude); in createLocation()
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/
DFusedLocationServiceTest.java196 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
200 location.setLongitude(longitude); in createLocation()
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
DGnssNative.java920 public boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument
924 return mGnssHal.addGeofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
1405 double longitude, double altitude, float speed, float bearing, in injectLocation() argument
1409 native_inject_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectLocation()
1416 double longitude, double altitude, float speed, float bearing, in injectBestLocation() argument
1420 native_inject_best_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectBestLocation()
1521 protected boolean addGeofence(int geofenceId, double latitude, double longitude, in addGeofence() argument
1524 return native_add_geofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
1687 double longitude, double radius, int lastTransition, int monitorTransitions, in native_add_geofence() argument
/frameworks/base/location/lib/java/com/android/location/provider/
DGeocodeProvider.java107 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, in onGetFromLocation() argument
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h136 virtual bool setGpsLongitude(double longitude) = 0;

12