Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 25 of 41) 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()
57 mLongitude = longitude; in Geofence()
87 private static void checkLatLong(double latitude, double longitude) { in checkLatLong() argument
91 if (longitude > 180.0 || longitude < -180.0) { in checkLatLong()
92 throw new IllegalArgumentException("invalid longitude: " + longitude); in checkLatLong()
108 double longitude = in.readDouble();
111 return Geofence.createCircle(latitude, longitude, radius);
DGeocoder.java123 public List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation() argument
128 if (longitude < -180.0 || longitude > 180.0) { in getFromLocation()
129 throw new IllegalArgumentException("longitude == " + longitude); in getFromLocation()
133 String ex = mService.getFromLocation(latitude, longitude, maxResults, in getFromLocation()
DIGpsGeofenceHardware.aidl28 longitude, double radius, int lastTransition, int monitorTransition, in addCircularHardwareGeofence() argument
DIGeocodeProvider.aidl30 String getFromLocation(double latitude, double longitude, int maxResults, in getFromLocation() argument
DAddress.java349 public void setLongitude(double longitude) { in setLongitude() argument
350 mLongitude = longitude; in setLongitude()
/frameworks/base/services/core/java/com/android/server/location/
DGnssGeofenceProvider.java22 public double longitude; field in GnssGeofenceProvider.GeofenceEntry
54 entry.longitude, in resumeIfStarted()
74 double longitude, double radius, int lastTransition, int monitorTransitions, in addCircularHardwareGeofence() argument
77 boolean added = mNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence()
84 entry.longitude = longitude; 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()
165 double longitude, double radius, int lastTransition, int monitorTransitions, 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
44 mLongitude = longitude; in setCircularGeofence()
57 double longitude, double radius) { in createCircularGeofence() argument
59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
/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.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
422 int longitudex10000 = (int) (longitude * 10000 + 0.5); in setLocation()
429 String msg = "Longitude: " + longitude + " out of range"; in setLocation()
DMediaRecorder.java687 public void setLocation(float latitude, float longitude) { in setLocation() argument
689 int longitudex10000 = (int) (longitude * 10000 + 0.5); in setLocation()
696 String msg = "Longitude: " + longitude + " 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
67 location.setLongitude(longitude); 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/base/telephony/java/android/telephony/ims/
DRcsMessageCreationParams.java194 public Builder setLongitude(double longitude) { in setLongitude() argument
195 mLongitude = longitude; in setLongitude()
DRcsMessage.java290 public void setLongitude(double longitude) throws RcsMessageStoreException { in setLongitude() argument
292 (iRcs, callingPackage) -> iRcs.setLongitudeForMessage(mId, isIncoming(), longitude, in setLongitude()
/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/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()
116 this(cid.base.networkId, cid.base.systemId, cid.base.baseStationId, cid.base.longitude, in CellIdentityCdma()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h136 virtual bool setGpsLongitude(double longitude) = 0;
DExifUtils.cpp126 virtual bool setGpsLongitude(double longitude);
536 bool ExifUtilsImpl::setGpsLongitude(double longitude) { in setGpsLongitude() argument
544 if (longitude >= 0) { in setGpsLongitude()
548 longitude *= -1; in setGpsLongitude()
559 setLatitudeOrLongitudeData(entry->data, longitude); in setGpsLongitude()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java270 double longitude = location.getLongitude(); in setLocation() local
274 int[] longTag = toExifLatLong(longitude); in setLocation()
276 String longRef = longitude >= 0 ? GPS_LONG_REF_EAST : GPS_LONG_REF_WEST; in setLocation()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java94 public final float longitude; field in ExifInterfaceTest.ExpectedValue
137 longitude = typedArray.getFloat(5, 0f); in ExpectedValue()
283 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()

12