Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 25 of 47) 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/location/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()
DGeocoder.java129 @FloatRange(from = -180D, to = 180D)double longitude, in getFromLocation()
133 getFromLocation(latitude, longitude, maxResults, listener); in getFromLocation()
156 @FloatRange(from = -180D, to = 180D) double longitude, in getFromLocation()
160 Preconditions.checkArgumentInRange(longitude, -180.0, 180.0, "longitude"); in getFromLocation()
163 mService.getFromLocation(latitude, longitude, maxResults, mParams, in getFromLocation()
DIGpsGeofenceHardware.aidl28 longitude, double radius, int lastTransition, int monitorTransition, in addCircularHardwareGeofence() argument
DIGeocodeProvider.aidl30 …oneway void getFromLocation(double latitude, double longitude, int maxResults, in GeocoderParams p… in getFromLocation() 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/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/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/location/lib/java/com/android/location/provider/
DGeocodeProvider.java44 public void getFromLocation(double latitude, double longitude, int maxResults,
47 String error = onGetFromLocation(latitude, longitude, maxResults, params, results);
77 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, in onGetFromLocation() argument
/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/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/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/av/media/libstagefright/tests/fuzzers/
DMediaMuxerFuzzer.cpp83 int longitude = fdp.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput() local
84 mMuxer->setLocation(latitude, longitude); in LLVMFuzzerTestOneInput()
/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/base/services/core/java/com/android/server/location/
DGeocoderProxy.java76 public void getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
82 provider.getFromLocation(latitude, longitude, maxResults, params, listener); in getFromLocation()
/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/services/core/java/com/android/server/location/gnss/hal/
DGnssNative.java895 public boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument
899 return mGnssHal.addGeofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
1352 double longitude, double altitude, float speed, float bearing, in injectLocation() argument
1356 native_inject_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectLocation()
1363 double longitude, double altitude, float speed, float bearing, in injectBestLocation() argument
1367 native_inject_best_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectBestLocation()
1468 protected boolean addGeofence(int geofenceId, double latitude, double longitude, in addGeofence() argument
1471 return native_add_geofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
1638 double longitude, double radius, int lastTransition, int monitorTransitions, in native_add_geofence() argument
/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/fused/tests/
DFusedLocationServiceTest.java196 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
200 location.setLongitude(longitude); in createLocation()

12