Home
last modified time | relevance | path

Searched refs:lng (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java93 public final double lng; field in CbGeoUtils.LatLng
100 public LatLng(double lat, double lng) { in LatLng() argument
102 this.lng = lng; in LatLng()
111 return new LatLng(lat - p.lat, lng - p.lng); in subtract()
121 double dlng = Math.sin(0.5 * Math.toRadians(lng - p.lng)); in distance()
129 return "(" + lat + "," + lng + ")"; in toString()
146 return lat == l.lat && lng == l.lng; in equals()
180 if (vertices.get(i).lng < vertices.get(idx).lng) { in Polygon()
256 double y = latLng.lng - mOrigin.lng; in convertAndScaleLatLng()
264 if (sign(mOrigin.lng) != 0 && sign(mOrigin.lng) != sign(latLng.lng)) { in convertAndScaleLatLng()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCbGeoUtilsTest.java45 assertThat(latlng.lng).isWithin(CbGeoUtils.EPS).of(179.5678); in testParseLatLngFromString()
71 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testEncodeGeometries()
74 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testEncodeGeometries()
77 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(-56.0); in testEncodeGeometries()
84 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(123.456); in testEncodeGeometries()
103 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testParseGeometriesFromString()
106 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testParseGeometriesFromString()
109 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(-56.0); in testParseGeometriesFromString()
116 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(123.456); in testParseGeometriesFromString()
/frameworks/base/telephony/api/
Dsystem-current.txt117 field public final double lng;
/frameworks/base/api/
Dsystem-current.txt8082 field public final double lng;
/frameworks/base/non-updatable-api/
Dsystem-current.txt7980 field public final double lng;