Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java176 public static double accurateDistanceMeters(double lat1, double lng1, in accurateDistanceMeters() argument
178 double dlat = Math.sin(0.5 * (lat2 - lat1)); in accurateDistanceMeters()
180 double x = dlat * dlat + dlng * dlng * Math.cos(lat1) * Math.cos(lat2); in accurateDistanceMeters()