Home
last modified time | relevance | path

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

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