HomeSort by relevance Sort by last modified time
    Searched defs:geocoder (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/location/src/android/location/cts/
GeocoderTest.java 21 import android.location.Geocoder;
30 new Geocoder(getContext());
32 new Geocoder(getContext(), Locale.ENGLISH);
35 new Geocoder(getContext(), null);
43 Geocoder geocoder = new Geocoder(getContext()); local
45 // There is no guarantee that geocoder.getFromLocation returns accurate results
50 List<Address> addrs = geocoder.getFromLocation(60, 30, 5);
54 geocoder.getFromLocation(-91, 30, 5)
82 Geocoder geocoder = new Geocoder(getContext(), Locale.US); local
    [all...]
  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoderTest.java 30 private final PhoneNumberOfflineGeocoder geocoder = field in class:PhoneNumberOfflineGeocoderTest
67 geocoder.getDescriptionForNumber(US_NUMBER1, Locale.SIMPLIFIED_CHINESE));
69 geocoder.getDescriptionForNumber(BS_NUMBER1, new Locale("en", "US")));
71 geocoder.getDescriptionForNumber(AU_NUMBER, new Locale("en", "US")));
72 assertEquals("", geocoder.getDescriptionForNumber(NUMBER_WITH_INVALID_COUNTRY_CODE,
74 assertEquals("", geocoder.getDescriptionForNumber(INTERNATIONAL_TOLL_FREE,
82 geocoder.getDescriptionForNumber(US_NUMBER4, new Locale("en", "US")));
87 geocoder.getDescriptionForNumber(US_NUMBER1, new Locale("en", "US")));
89 geocoder.getDescriptionForNumber(US_NUMBER2, new Locale("en", "US")));
91 geocoder.getDescriptionForNumber(US_NUMBER3, new Locale("en", "US")))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsAddressResolver.java 47 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); local
48 return geocoder.lookupAddress(mLatlng[0], mLatlng[1], true);
  /development/samples/training/location-aware/src/com/example/android/location/
LocationActivity.java 26 import android.location.Geocoder;
98 Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD && Geocoder.isPresent();
252 // Bypass reverse-geocoding only if the Geocoder service is available on the device.
337 // AsyncTask encapsulating the reverse-geocoding API. Since the geocoder API is blocked,
349 Geocoder geocoder = new Geocoder(mContext, Locale.getDefault()); local
354 addresses = geocoder.getFromLocation(loc.getLatitude(), loc.getLongitude(), 1);
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 539 PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); local
554 String description = geocoder.getDescriptionForNumber(pn, locale);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocationClustering.java 117 ReverseGeocoder geocoder = new ReverseGeocoder(mContext); local
122 String name = generateName(cluster, geocoder);
149 ReverseGeocoder geocoder) {
176 return geocoder.computeAddress(set);
  /packages/apps/Gallery/src/com/android/camera/
MenuHelper.java 28 import android.location.Geocoder;
237 Geocoder geocoder = new Geocoder(context); local
238 new ReverseGeocoderTask(geocoder, latlng, cb).execute();
    [all...]

Completed in 528 milliseconds