Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java154 double latRad2, double lngRad2) { in fastDistanceMeters() argument
155 if ((Math.abs(latRad1 - latRad2) > RAD_PER_DEG) in fastDistanceMeters()
157 return accurateDistanceMeters(latRad1, lngRad1, latRad2, lngRad2); in fastDistanceMeters()
160 double sineLat = (latRad1 - latRad2); in fastDistanceMeters()
167 double cosTerms = Math.cos((latRad1 + latRad2) / 2.0); in fastDistanceMeters()