Lines Matching refs:Event
220 for (DataEvent event : dataEvents) {
221 if (event.getType() == DataEvent.TYPE_CHANGED) {
223 new Event("DataItem Changed", event.getDataItem().toString()));
224 } else if (event.getType() == DataEvent.TYPE_DELETED) {
226 new Event("DataItem Deleted", event.getDataItem().toString()));
236 mDataItemListAdapter.add(new Event("Message from watch", messageEvent.toString()));
243 mDataItemListAdapter.add(new Event("onCapabilityChanged", capabilityInfo.toString()));
368 * A View Adapter for presenting the Event objects in a list
370 private static class DataItemAdapter extends ArrayAdapter<Event> {
393 Event event = getItem(position);
394 holder.text1.setText(event.title);
395 holder.text2.setText(event.text);
405 private class Event {
410 public Event(String title, String text) {