Home
last modified time | relevance | path

Searched refs:latlng (Results 1 – 6 of 6) 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()
61 public String resolveAddress(double[] latlng, AddressResolvingListener listener) { in resolveAddress() argument
64 new AddressLookupJob(latlng), in resolveAddress()
77 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]); in resolveAddress()
DMenuExecutor.java351 double latlng[] = new double[2]; in execute() local
352 item.getLatLong(latlng); in execute()
353 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) { in execute()
354 GalleryUtils.showOnMap((Context) mActivity, latlng[0], latlng[1]); in execute() local
DDetailsHelper.java69 public static String resolveAddress(GalleryActivity activity, double[] latlng, in resolveAddress() argument
76 return sAddressResolver.resolveAddress(latlng, listener); in resolveAddress()
DDialogDetailsView.java126 double[] latlng = (double[]) detail.getValue(); in setDetails() local
128 value = DetailsHelper.resolveAddress(mContext, latlng, this); in setDetails()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java40 public ReverseGeocoderTask(Geocoder geocoder, float[] latlng, in ReverseGeocoderTask() argument
43 mLat = latlng[0]; in ReverseGeocoderTask()
44 mLng = latlng[1]; in ReverseGeocoderTask()
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 …]