Home
last modified time | relevance | path

Searched refs:attractionData (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsActivity.java216 DataMap attractionData = itr.next(); in doInBackground() local
219 attraction.name = attractionData.getString(Constants.EXTRA_TITLE); in doInBackground()
221 attractionData.getString(Constants.EXTRA_DESCRIPTION); in doInBackground()
222 attraction.city = attractionData.get(Constants.EXTRA_CITY); in doInBackground()
224 attractionData.getString(Constants.EXTRA_DISTANCE); in doInBackground()
226 attractionData.getDouble(Constants.EXTRA_LOCATION_LAT), in doInBackground()
227 attractionData.getDouble(Constants.EXTRA_LOCATION_LNG)); in doInBackground()
229 attractionData.getAsset(Constants.EXTRA_IMAGE)); in doInBackground()
231 attractionData.getAsset(Constants.EXTRA_IMAGE_SECONDARY)); in doInBackground()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java450 DataMap attractionData = new DataMap(); in sendDataToWearable() local
455 attractionData.putString(Constants.EXTRA_TITLE, attraction.name); in sendDataToWearable()
456 attractionData.putString(Constants.EXTRA_DESCRIPTION, attraction.description); in sendDataToWearable()
457 attractionData.putDouble( in sendDataToWearable()
459 attractionData.putDouble( in sendDataToWearable()
461 attractionData.putString(Constants.EXTRA_DISTANCE, distance); in sendDataToWearable()
462 attractionData.putString(Constants.EXTRA_CITY, attraction.city); in sendDataToWearable()
463 attractionData.putAsset(Constants.EXTRA_IMAGE, in sendDataToWearable()
465 attractionData.putAsset(Constants.EXTRA_IMAGE_SECONDARY, in sendDataToWearable()
468 attractionsData.add(attractionData); in sendDataToWearable()