Searched refs:Event (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/ |
D | DataFragment.java | 60 mDataItemListAdapter.add(new Event(title, text)); in appendItem() 63 private static class DataItemAdapter extends ArrayAdapter<Event> { 86 Event event = getItem(position); in getView() 99 private class Event { class in DataFragment 104 public Event(String title, String text) { in Event() method in DataFragment.Event
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | CalendarQueryService.java | 116 List<Event> events = queryEvents(this, beginTime, endTime); in onHandleIntent() 117 for (Event event : events) { in onHandleIntent() 134 private static List<Event> queryEvents(Context context, long beginTime, long endTime) { in queryEvents() 152 List<Event> events = new ArrayList<Event>(cursor.getCount()); in queryEvents() 154 Event event = new Event(); in queryEvents() 239 private static class Event { class in CalendarQueryService
|
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/ |
D | MainActivity.java | 223 new Event("DataItem Changed", event.getDataItem().toString())); in onDataChanged() 226 new Event("DataItem Deleted", event.getDataItem().toString())); in onDataChanged() 236 mDataItemListAdapter.add(new Event("Message from watch", messageEvent.toString())); in onMessageReceived() 243 mDataItemListAdapter.add(new Event("onCapabilityChanged", capabilityInfo.toString())); in onCapabilityChanged() 370 private static class DataItemAdapter extends ArrayAdapter<Event> { 393 Event event = getItem(position); in getView() 405 private class Event { class in MainActivity 410 public Event(String title, String text) { in Event() method in MainActivity.Event
|