Home
last modified time | relevance | path

Searched refs:postalAddress (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DStructuredPostalUtils.java26 public static Intent getViewPostalAddressIntent(String postalAddress) { in getViewPostalAddressIntent() argument
27 return new Intent(Intent.ACTION_VIEW, getPostalAddressUri(postalAddress)); in getViewPostalAddressIntent()
30 public static Uri getPostalAddressUri(String postalAddress) { in getPostalAddressUri() argument
31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress)); in getPostalAddressUri()
34 public static Intent getViewPostalAddressDirectionsIntent(String postalAddress) { in getViewPostalAddressDirectionsIntent() argument
35 return new Intent(Intent.ACTION_VIEW, getPostalAddressDirectionsUri(postalAddress)); in getViewPostalAddressDirectionsIntent()
38 public static Uri getPostalAddressDirectionsUri(String postalAddress) { in getPostalAddressDirectionsUri() argument
39 return Uri.parse("https://maps.google.com/maps?daddr=" + Uri.encode(postalAddress)); in getPostalAddressDirectionsUri()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java229 final String postalAddress = postal.getFormattedAddress(); in DataAction() local
230 if (!TextUtils.isEmpty(postalAddress)) { in DataAction()
231 mIntent = StructuredPostalUtils.getViewPostalAddressIntent(postalAddress); in DataAction()
DQuickContactActivity.java1811 final String postalAddress = postal.getFormattedAddress(); in dataItemToEntry() local
1812 if (!TextUtils.isEmpty(postalAddress)) { in dataItemToEntry()
1814 intent = StructuredPostalUtils.getViewPostalAddressIntent(postalAddress); in dataItemToEntry()
1827 StructuredPostalUtils.getViewPostalAddressDirectionsIntent(postalAddress); in dataItemToEntry()