Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsAddressResolver.java42 protected AddressLookupJob(double[] latlng) { in AddressLookupJob() argument
43 mLatlng = latlng; in AddressLookupJob()
62 public String resolveAddress(double[] latlng, AddressResolvingListener listener) { in resolveAddress() argument
65 new AddressLookupJob(latlng), in resolveAddress()
80 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]); in resolveAddress()
DMenuExecutor.java398 double latlng[] = new double[2]; in execute() local
399 item.getLatLong(latlng); in execute()
400 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) { in execute()
401 GalleryUtils.showOnMap(mActivity, latlng[0], latlng[1]); in execute()
DDetailsHelper.java74 public static String resolveAddress(AbstractGalleryActivity activity, double[] latlng, in resolveAddress() argument
81 return sAddressResolver.resolveAddress(latlng, listener); in resolveAddress()
DDialogDetailsView.java141 double[] latlng = (double[]) detail.getValue(); in setDetails() local
143 value = DetailsHelper.resolveAddress(mActivity, latlng, this); in setDetails()
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java177 float latlng[] = new float[2]; in hasLatLngData() local
178 return exif.getLatLong(latlng); in hasLatLngData()
221 float[] latlng = new float[2]; in setLatLngDetails() local
222 if (exif.getLatLong(latlng)) { in setLatLngDetails()
223 setDetailsValue(d, String.valueOf(latlng[0]), in setLatLngDetails()
225 setDetailsValue(d, String.valueOf(latlng[1]), in setLatLngDetails()
228 if (latlng[0] == INVALID_LATLNG || latlng[1] == INVALID_LATLNG) { in setLatLngDetails()
238 new ReverseGeocoderTask(geocoder, latlng, cb).execute(); in setLatLngDetails()
271 float latlng[] = null; in onShowMapClicked()
273 latlng = new float[2]; in onShowMapClicked()
[all …]
DReverseGeocoderTask.java40 public ReverseGeocoderTask(Geocoder geocoder, float[] latlng, in ReverseGeocoderTask() argument
43 mLat = latlng[0]; in ReverseGeocoderTask()
44 mLng = latlng[1]; in ReverseGeocoderTask()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto412 // https://github.com/googleapis/googleapis/blob/master/google/type/latlng.proto