Searched refs:lat (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocationClustering.java47 public Point(double lat, double lng) { argument
48 latRad = Math.toRadians(lat);
57 double lat, lng; field in class:LocationClustering.SmallItem
70 // Separate items to two sets: with or without lat-long.
79 s.lat = latLong[0];
91 if (GalleryUtils.isValidLocation(s.lat, s.lng)) {
93 points.add(new Point(s.lat, s.lng));
103 // cluster the items with lat-long
157 double itemLatitude = item.lat;
H A DTimeClustering.java113 s.lat = latLng[0];
323 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng)
324 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) {
329 Math.toRadians(itemA.lat),
331 Math.toRadians(itemB.lat),
345 double lat, lng; field in class:SmallItem
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java642 double lat = loc.getLatitude();
644 boolean hasLatLon = (lat != 0.0d) || (lon != 0.0d);
648 parameters.setGpsLatitude(lat);
/packages/apps/Camera2/src/com/android/camera/util/
H A DCameraUtil.java770 double lat;
774 lat = loc.getLatitude();
776 hasLatLon = (lat != 0.0d) || (lon != 0.0d);
1076 // The q=(lat, lng) syntax is suggested by geo-team.
/packages/apps/Settings/src/com/android/settings/
H A DRadioInfo.java608 int lat = loc.getBaseStationLatitude();
620 + ((lat == -1) ? "unknown" : Integer.toHexString(lat))

Completed in 381 milliseconds