Home
last modified time | relevance | path

Searched refs:attractions (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java318 List<Attraction> attractions = ATTRACTIONS.get(cityId); in showNotification() local
322 sendDataToWearable(attractions); in showNotification()
326 Attraction attraction = attractions.get(0); in showNotification()
329 int count = attractions.size() > Constants.MAX_ATTRACTIONS ? in showNotification()
330 Constants.MAX_ATTRACTIONS : attractions.size(); in showNotification()
336 bitmaps.put(attractions.get(i).name, in showNotification()
338 .load(attractions.get(i).imageUrl) in showNotification()
383 Utils.getLocation(this), attractions.get(i).location); in showNotification()
387 .setContentTitle(attractions.get(i).name) in showNotification()
391 .setBackground(bitmaps.get(attractions.get(i).name)) in showNotification()
[all …]
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java74 List<Attraction> attractions = loadAttractionsFromLocation(mLatestLocation); in onCreateView() local
75 mAdapter = new AttractionAdapter(getActivity(), attractions); in onCreateView()
117 List<Attraction> attractions = ATTRACTIONS.get(closestCity); in loadAttractionsFromLocation() local
119 Collections.sort(attractions, in loadAttractionsFromLocation()
132 return attractions; in loadAttractionsFromLocation()
143 public AttractionAdapter(Context context, List<Attraction> attractions) { in AttractionAdapter() argument
146 mAttractionList = attractions; in AttractionAdapter()
DDetailFragment.java157 List<Attraction> attractions = attractionsList.getValue(); in findAttraction() local
158 for (Attraction attraction : attractions) { in findAttraction()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DListenerService.java79 private void showNotification(Uri attractionsUri, ArrayList<DataMap> attractions) { in showNotification() argument
99 int count = attractions.size(); in showNotification()
101 DataMap attraction = attractions.get(0); in showNotification()
/development/samples/browseable/XYZTouristAttractions/
D_index.jd13 The app itself is modeled after a hypothetical tourist attractions
19 attractions in a GridViewPager UI component.
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java74 Context context, ArrayList<Attraction> attractions) { in AttractionsGridPagerAdapter() argument
78 mAttractions = attractions; in AttractionsGridPagerAdapter()
81 public void setData(ArrayList<Attraction> attractions) { in setData() argument
82 mAttractions = attractions; in setData()