Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcEllipseLocation.java133 double comparingLongitude = comparingLocation.getLongitude(); in checkLocation() local
141 if (mLongitude + semiMajorAxisDegrees > MAX_LONGITUDE && comparingLongitude < 0) { in checkLocation()
142 comparingLongitude = comparingLongitude + 360; in checkLocation()
143 } else if (mLongitude - semiMajorAxisDegrees < MIN_LONGITUDE && comparingLongitude > 0) { in checkLocation()
144 comparingLongitude = comparingLongitude - 360; in checkLocation()
150 double checkPoint = Math.pow((comparingLongitude - mLongitude) / semiMajorAxisDegrees, 2) in checkLocation()