Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DGeomagneticField.java237 double latDiffRad = Math.toRadians(gdLatitudeDeg) - mGcLatitudeRad; in GeomagneticField() local
238 mX = (float) (gcX * Math.cos(latDiffRad) in GeomagneticField()
239 + gcZ * Math.sin(latDiffRad)); in GeomagneticField()
241 mZ = (float) (- gcX * Math.sin(latDiffRad) in GeomagneticField()
242 + gcZ * Math.cos(latDiffRad)); in GeomagneticField()