Home
last modified time | relevance | path

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

/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java109 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_1Event() local
110 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_1Event()
111 eventInfo.visibWhere = View.VISIBLE; in testGetAppWidgetModel_1Event()
112 eventInfo.visibTitle = View.VISIBLE; in testGetAppWidgetModel_1Event()
113 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, in testGetAppWidgetModel_1Event()
115 eventInfo.where = location; in testGetAppWidgetModel_1Event()
116 eventInfo.title = title; in testGetAppWidgetModel_1Event()
117 expected.mEventInfos.add(eventInfo); in testGetAppWidgetModel_1Event()
136 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_AllDayEventLater() local
137 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_AllDayEventLater()
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java241 final EventInfo eventInfo = mModel.mEventInfos.get(rowInfo.mIndex);
242 if (eventInfo.allDay) {
248 int displayColor = Utils.getDisplayColorFromColor(eventInfo.color);
251 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) {
259 if (!eventInfo.allDay) {
260 updateTextView(views, R.id.when, eventInfo.visibWhen, eventInfo.when);
261 updateTextView(views, R.id.where, eventInfo.visibWhere, eventInfo.where);
263 updateTextView(views, R.id.title, eventInfo.visibTitle, eventInfo.title);
267 int selfAttendeeStatus = eventInfo.selfAttendeeStatus;
268 if (eventInfo.allDay) {
[all …]
DCalendarAppWidgetModel.java356 EventInfo eventInfo = new EventInfo(); in populateEventInfo() local
380 eventInfo.id = eventId; in populateEventInfo()
381 eventInfo.start = start; in populateEventInfo()
382 eventInfo.end = end; in populateEventInfo()
383 eventInfo.allDay = allDay; in populateEventInfo()
384 eventInfo.when = whenString.toString(); in populateEventInfo()
385 eventInfo.visibWhen = visibWhen; in populateEventInfo()
386 eventInfo.color = color; in populateEventInfo()
387 eventInfo.selfAttendeeStatus = selfStatus; in populateEventInfo()
391 eventInfo.title = mContext.getString(R.string.no_title_label); in populateEventInfo()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java836 private String eventInfoToString(EventInfo eventInfo) { in eventInfoToString() argument
840 if ((eventInfo.eventType & EventType.GO_TO) != 0) { in eventInfoToString()
842 } else if ((eventInfo.eventType & EventType.CREATE_EVENT) != 0) { in eventInfoToString()
844 } else if ((eventInfo.eventType & EventType.VIEW_EVENT) != 0) { in eventInfoToString()
846 } else if ((eventInfo.eventType & EventType.VIEW_EVENT_DETAILS) != 0) { in eventInfoToString()
848 } else if ((eventInfo.eventType & EventType.EDIT_EVENT) != 0) { in eventInfoToString()
850 } else if ((eventInfo.eventType & EventType.DELETE_EVENT) != 0) { in eventInfoToString()
852 } else if ((eventInfo.eventType & EventType.LAUNCH_SELECT_VISIBLE_CALENDARS) != 0) { in eventInfoToString()
854 } else if ((eventInfo.eventType & EventType.LAUNCH_SETTINGS) != 0) { in eventInfoToString()
856 } else if ((eventInfo.eventType & EventType.EVENTS_CHANGED) != 0) { in eventInfoToString()
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java851 for (NotificationInfo eventInfo : events) {
852 if (!TextUtils.isEmpty(eventInfo.eventName)) {
856 digestTitle.append(eventInfo.eventName);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java189 EventInfo eventInfo; field in CalendarProvider2Test.Insert
192 eventInfo = findEvent(eventName); in Insert()
196 Log.i(TAG, "insert " + eventInfo.mTitle); in execute()
197 insertEvent(mCalendarId, eventInfo); in execute()
2278 EventInfo eventInfo = new EventInfo("current", startDate, endDate, false); in internalTestDirty() local
2279 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()