Home | History | Annotate | Download | only in service

Lines Matching refs:ATTRACTIONS

62 import static com.example.android.xyztouristattractions.provider.TouristAttractions.ATTRACTIONS;
318 List<Attraction> attractions = ATTRACTIONS.get(cityId);
322 sendDataToWearable(attractions);
326 Attraction attraction = attractions.get(0);
328 // Limit attractions to send
329 int count = attractions.size() > Constants.MAX_ATTRACTIONS ?
330 Constants.MAX_ATTRACTIONS : attractions.size();
336 bitmaps.put(attractions.get(i).name,
338 .load(attractions.get(i).imageUrl)
377 // the other nearby tourist attractions.
383 Utils.getLocation(this), attractions.get(i).location);
387 .setContentTitle(attractions.get(i).name)
391 .setBackground(bitmaps.get(attractions.get(i).name))
405 * @param attractions list of attraction data to transfer over
407 private void sendDataToWearable(List<Attraction> attractions) {
417 // Limit attractions to send
418 int count = attractions.size() > Constants.MAX_ATTRACTIONS ?
419 Constants.MAX_ATTRACTIONS : attractions.size();
424 Attraction attraction = attractions.get(i);