Searched refs:lat (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationFudger.java | 209 double lat = coarse.getLatitude(); in createCoarseLocked() local 213 lat = wrapLatitude(lat); in createCoarseLocked() 226 lon += metersToDegreesLongitude(mOffsetLongitudeMeters, lat); in createCoarseLocked() 227 lat += metersToDegreesLatitude(mOffsetLatitudeMeters); in createCoarseLocked() 232 lat = wrapLatitude(lat); in createCoarseLocked() 246 lat = Math.round(lat / latGranularity) * latGranularity; in createCoarseLocked() 247 double lonGranularity = metersToDegreesLongitude(mGridSizeInMeters, lat); in createCoarseLocked() 251 lat = wrapLatitude(lat); in createCoarseLocked() 255 coarse.setLatitude(lat); in createCoarseLocked() 305 private static double wrapLatitude(double lat) { in wrapLatitude() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CbGeoUtils.java | 92 public final double lat; field in CbGeoUtils.LatLng 100 public LatLng(double lat, double lng) { in LatLng() argument 101 this.lat = lat; in LatLng() 111 return new LatLng(lat - p.lat, lng - p.lng); in subtract() 120 double dlat = Math.sin(0.5 * Math.toRadians(lat - p.lat)); in distance() 123 + dlng * dlng * Math.cos(Math.toRadians(lat)) * Math.cos(Math.toRadians(p.lat)); in distance() 129 return "(" + lat + "," + lng + ")"; in toString() 146 return lat == l.lat && lng == l.lng; in equals() 255 double x = latLng.lat - mOrigin.lat; in convertAndScaleLatLng() 462 sb.append(latLng.lat); in encodeGeometryToString() [all …]
|
D | CellIdentityCdma.java | 95 public CellIdentityCdma(int nid, int sid, int bid, int lon, int lat, in CellIdentityCdma() argument 101 lat = inRangeOrUnavailable(lat, LATITUDE_MIN, LATITUDE_MAX); in CellIdentityCdma() 104 if (!isNullIsland(lat, lon)) { in CellIdentityCdma() 106 mLatitude = lat; in CellIdentityCdma() 159 private boolean isNullIsland(int lat, int lon) { in isNullIsland() argument 160 return Math.abs(lat) <= 1 && Math.abs(lon) <= 1; in isNullIsland()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CbGeoUtilsTest.java | 44 assertThat(latlng.lat).isWithin(CbGeoUtils.EPS).of(-80.1234); in testParseLatLngFromString() 70 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(11.11); in testEncodeGeometries() 73 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(33.33); in testEncodeGeometries() 76 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(55.55); in testEncodeGeometries() 83 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(15.123); in testEncodeGeometries() 102 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(11.11); in testParseGeometriesFromString() 105 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(33.33); in testParseGeometriesFromString() 108 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(55.55); in testParseGeometriesFromString() 115 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(15.123); in testParseGeometriesFromString()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 270 double lat = dt / (loops * mMemLoopCount); in runMemoryLatencyTest() local 271 __android_log_print(ANDROID_LOG_INFO, "bench", "latency ret %f", lat); in runMemoryLatencyTest() 281 return (float)lat; in runMemoryLatencyTest()
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 44 setContentView(R.layout.lat); in onCreate()
|
/frameworks/base/telephony/api/ |
D | system-current.txt | 116 field public final double lat;
|
/frameworks/base/api/ |
D | system-current.txt | 8081 field public final double lat;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 7979 field public final double lat;
|