Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/
DTwilightCalculator.java93 final double latRad = latiude * DEGREES_TO_RADIANS; in calculateTwilight() local
95 double cosHourAngle = (FloatMath.sin(ALTIDUTE_CORRECTION_CIVIL_TWILIGHT) - Math.sin(latRad) in calculateTwilight()
96 * Math.sin(solarDec)) / (Math.cos(latRad) * Math.cos(solarDec)); in calculateTwilight()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java314 float latRad = in computeGeocentricCoordinates() local
317 mGcLatitudeRad = (float) Math.atan(tlat * (latRad * altitudeKm + b2) in computeGeocentricCoordinates()
318 / (latRad * altitudeKm + a2)); in computeGeocentricCoordinates()