Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DGeomagneticField.java307 float altitudeKm = altitudeMeters / 1000.0f; in computeGeocentricCoordinates() local
317 mGcLatitudeRad = (float) Math.atan(tlat * (latRad * altitudeKm + b2) in computeGeocentricCoordinates()
318 / (latRad * altitudeKm + a2)); in computeGeocentricCoordinates()
322 float radSq = altitudeKm * altitudeKm in computeGeocentricCoordinates()
323 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates()