/cts/tests/tests/location/src/android/location/cts/ |
GeocoderTest.java | 20 import android.location.Geocoder; 32 new Geocoder(getContext()); 34 new Geocoder(getContext(), Locale.ENGLISH); 37 new Geocoder(getContext(), null); 45 Geocoder geocoder = new Geocoder(getContext()); local 46 assertTrue(geocoder.isPresent()); 50 Geocoder geocoder = new Geocoder(getContext()) local 103 Geocoder geocoder = new Geocoder(getContext(), Locale.US); local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
GeoUtil.java | 49 final PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); local 55 return geocoder.getDescriptionForNumber(structuredPhoneNumber, locale);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
GeocoderTest.java | 5 import android.location.Geocoder; 21 private Geocoder geocoder; field in class:GeocoderTest 25 geocoder = new Geocoder(new Activity()); 30 geocoder.getFromLocationName("731 Market St, San Francisco, CA 94103", 1); 31 String lastLocationName = shadowOf(geocoder).getLastLocationName(); 38 shadowOf(geocoder).setSimulatedHasLatLong(true, true); 39 Address address = geocoder.getFromLocationName("731 Market St, San Francisco, CA 94103", 1).get(0); 42 shadowOf(geocoder).setSimulatedHasLatLong(false, false) [all...] |
/packages/apps/Dialer/src/com/android/dialer/util/ |
PhoneNumberUtil.java | 111 PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); local 127 String description = geocoder.getDescriptionForNumber(pn, locale);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsAddressResolver.java | 48 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); local 49 return geocoder.lookupAddress(mLatlng[0], mLatlng[1], true);
|
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoderTest.java | 30 private final PhoneNumberOfflineGeocoder geocoder = field in class:PhoneNumberOfflineGeocoderTest 71 geocoder.getDescriptionForNumber(US_NUMBER1, Locale.SIMPLIFIED_CHINESE)); 73 geocoder.getDescriptionForNumber(BS_NUMBER1, new Locale("en", "US"))); 75 geocoder.getDescriptionForNumber(AU_NUMBER, new Locale("en", "US"))); 76 assertEquals("", geocoder.getDescriptionForNumber(NUMBER_WITH_INVALID_COUNTRY_CODE, 78 assertEquals("", geocoder.getDescriptionForNumber(INTERNATIONAL_TOLL_FREE, 86 geocoder.getDescriptionForNumber(US_NUMBER4, new Locale("en", "US"))); 93 geocoder.getDescriptionForNumber(NANPA_TOLL_FREE, new Locale("en", "US"))); 98 geocoder.getDescriptionForNumber(US_NUMBER1, new Locale("en", "US"))); 100 geocoder.getDescriptionForNumber(US_NUMBER2, new Locale("en", "US"))) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
UpdateCountryService.java | 9 import android.location.Geocoder; 70 final Geocoder geocoder = new Geocoder(context); local 73 final List<Address> addresses = geocoder.getFromLocation(
|
/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 | 587 PhoneNumberOfflineGeocoder geocoder = PhoneNumberOfflineGeocoder.getInstance(); local 602 String description = geocoder.getDescriptionForNumber(pn, locale);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocationClustering.java | 118 ReverseGeocoder geocoder = new ReverseGeocoder(mContext); local 123 String name = generateName(cluster, geocoder); 151 ReverseGeocoder geocoder) { 178 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...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |