Searched refs:postalAddress (Results 1 – 3 of 3) sorted by relevance
26 public static Intent getViewPostalAddressIntent(String postalAddress) { in getViewPostalAddressIntent() argument27 return new Intent(Intent.ACTION_VIEW, getPostalAddressUri(postalAddress)); in getViewPostalAddressIntent()30 public static Uri getPostalAddressUri(String postalAddress) { in getPostalAddressUri() argument31 return Uri.parse("geo:0,0?q=" + Uri.encode(postalAddress)); in getPostalAddressUri()34 public static Intent getViewPostalAddressDirectionsIntent(String postalAddress) { in getViewPostalAddressDirectionsIntent() argument35 return new Intent(Intent.ACTION_VIEW, getPostalAddressDirectionsUri(postalAddress)); in getViewPostalAddressDirectionsIntent()38 public static Uri getPostalAddressDirectionsUri(String postalAddress) { in getPostalAddressDirectionsUri() argument39 return Uri.parse("https://maps.google.com/maps?daddr=" + Uri.encode(postalAddress)); in getPostalAddressDirectionsUri()
229 final String postalAddress = postal.getFormattedAddress(); in DataAction() local230 if (!TextUtils.isEmpty(postalAddress)) { in DataAction()231 mIntent = StructuredPostalUtils.getViewPostalAddressIntent(postalAddress); in DataAction()
1811 final String postalAddress = postal.getFormattedAddress(); in dataItemToEntry() local1812 if (!TextUtils.isEmpty(postalAddress)) { in dataItemToEntry()1814 intent = StructuredPostalUtils.getViewPostalAddressIntent(postalAddress); in dataItemToEntry()1827 StructuredPostalUtils.getViewPostalAddressDirectionsIntent(postalAddress); in dataItemToEntry()