Lines Matching refs:Event
70 * event.
116 List<Event> events = queryEvents(this, beginTime, endTime);
117 for (Event event : events) {
118 final PutDataMapRequest putDataMapRequest = event.toPutDataMapRequest();
134 private static List<Event> queryEvents(Context context, long beginTime, long endTime) {
152 List<Event> events = new ArrayList<Event>(cursor.getCount());
154 Event event = new Event();
155 event.id = cursor.getLong(idIdx);
156 event.eventId = cursor.getLong(eventIdIdx);
157 event.title = cursor.getString(titleIdx);
158 event.begin = cursor.getLong(beginIdx);
159 event.end = cursor.getLong(endIdx);
160 event.allDay = cursor.getInt(allDayIdx) != 0;
161 event.description = cursor.getString(descIdx);
171 // Use event organizer's profile picture as the notification background.
172 event.ownerProfilePic = getProfilePicture(contentResolver, context, ownerId);
173 events.add(event);
239 private static class Event {