Searched refs:geocoder (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/location/ |
D | CountryDetector.java | 80 private final Geocoder geocoder; field in CountryDetector 89 Geocoder geocoder) { in CountryDetector() argument 93 this.geocoder = geocoder; in CountryDetector() 215 processLocationUpdate(context, CountryDetector.getInstance(context).geocoder, location); in onReceive() 220 Context appContext, Geocoder geocoder, Location location) { in processLocationUpdate() argument 223 .createNonUiTaskBuilder(new GeocodeCountryWorker(geocoder)) in processLocationUpdate() 248 @NonNull private final Geocoder geocoder; field in CountryDetector.GeocodeCountryWorker 250 GeocodeCountryWorker(@NonNull Geocoder geocoder) { in GeocodeCountryWorker() argument 251 this.geocoder = Assert.isNotNull(geocoder); in GeocodeCountryWorker() 263 geocoder.getFromLocation(location.getLatitude(), location.getLongitude(), 1); in doInBackground()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocationClustering.java | 118 ReverseGeocoder geocoder = new ReverseGeocoder(mContext); in run() local 123 String name = generateName(cluster, geocoder); in run() 151 ReverseGeocoder geocoder) { in generateName() argument 178 return geocoder.computeAddress(set); in generateName()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GeoUtil.java | 49 final PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); in getGeocodedLocationFor() local 55 return geocoder.getDescriptionForNumber(structuredPhoneNumber, locale); in getGeocodedLocationFor()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ReverseGeocoderTask.java | 40 public ReverseGeocoderTask(Geocoder geocoder, float[] latlng, in ReverseGeocoderTask() argument 42 mGeocoder = geocoder; in ReverseGeocoderTask()
|
D | MenuHelper.java | 237 Geocoder geocoder = new Geocoder(context); in setLatLngDetails() local 238 new ReverseGeocoderTask(geocoder, latlng, cb).execute(); in setLatLngDetails()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbergeoutil/impl/ |
D | PhoneNumberGeoUtilImpl.java | 46 PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); in getGeoDescription() local 67 String description = geocoder.getDescriptionForNumber(pn, locale); in getGeoDescription()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DetailsAddressResolver.java | 48 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); in run() local 49 return geocoder.lookupAddress(mLatlng[0], mLatlng[1], true); in run()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | LocationUtils.java | 148 Geocoder geocoder = new Geocoder(sApplicationContext, Locale.getDefault()); in updateAddress() local 151 geocoder.getFromLocation(location.getLatitude(), location.getLongitude(), 1); in updateAddress()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MediaView.java | 222 Geocoder geocoder = new Geocoder(mContext); in getAddress() local 224 Address address = geocoder.getFromLocation(coords[0], // latitude in getAddress()
|