Home
last modified time | relevance | path

Searched refs:lon (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DLocationFudger.java210 double lon = coarse.getLongitude(); in createCoarseLocked() local
214 lon = wrapLongitude(lon); in createCoarseLocked()
226 lon += metersToDegreesLongitude(mOffsetLongitudeMeters, lat); in createCoarseLocked()
233 lon = wrapLongitude(lon); in createCoarseLocked()
248 lon = Math.round(lon / lonGranularity) * lonGranularity; in createCoarseLocked()
252 lon = wrapLongitude(lon); in createCoarseLocked()
256 coarse.setLongitude(lon); in createCoarseLocked()
315 private static double wrapLongitude(double lon) { in wrapLongitude() argument
316 lon %= 360.0; // wraps into range (-360.0, +360.0) in wrapLongitude()
317 if (lon >= 180.0) { in wrapLongitude()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java77 public CellIdentityCdma(int nid, int sid, int bid, int lon, int lat) { in CellIdentityCdma() argument
78 this(nid, sid, bid, lon, lat, null, null); in CellIdentityCdma()
95 public CellIdentityCdma(int nid, int sid, int bid, int lon, int lat, String alphal, in CellIdentityCdma() argument
101 if (!isNullIsland(lat, lon)) { in CellIdentityCdma()
102 mLongitude = lon; in CellIdentityCdma()
126 private boolean isNullIsland(int lat, int lon) { in isNullIsland() argument
127 return Math.abs(lat) <= 1 && Math.abs(lon) <= 1; in isNullIsland()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/location/
DLocationTest.kt25 val (lat, lon) = Location("").apply { in destructuring() constant
30 assertEquals(lon, 2.0, 0.0) in destructuring()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5246 Parcel p, int ni, int si, int bsi, int lon, int lat, String al, String as, in writeToParcelForCdma() argument
5248 new CellIdentityCdma(ni, si, bsi, lon, lat, al, as).writeToParcel(p, 0); in writeToParcelForCdma()