Searched refs:lon (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/fudger/ |
D | LocationFudger.java | 225 private static double wrapLongitude(double lon) { in wrapLongitude() argument 226 lon %= 360.0; // wraps into range (-360.0, +360.0) in wrapLongitude() 227 if (lon >= 180.0) { in wrapLongitude() 228 lon -= 360.0; in wrapLongitude() 230 if (lon < -180.0) { in wrapLongitude() 231 lon += 360.0; in wrapLongitude() 233 return lon; in wrapLongitude()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellIdentityCdma.java | 100 public CellIdentityCdma(int nid, int sid, int bid, int lon, int lat, in CellIdentityCdma() argument 107 lon = inRangeOrUnavailable(lon, LONGITUDE_MIN, LONGITUDE_MAX); in CellIdentityCdma() 109 if (!isNullIsland(lat, lon)) { in CellIdentityCdma() 110 mLongitude = lon; in CellIdentityCdma() 153 private boolean isNullIsland(int lat, int lon) { in isNullIsland() argument 154 return Math.abs(lat) <= 1 && Math.abs(lon) <= 1; in isNullIsland()
|