/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 110 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_1Event() local 111 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_1Event() 112 eventInfo.visibWhere = View.VISIBLE; in testGetAppWidgetModel_1Event() 113 eventInfo.visibTitle = View.VISIBLE; in testGetAppWidgetModel_1Event() 114 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, in testGetAppWidgetModel_1Event() 116 eventInfo.where = location; in testGetAppWidgetModel_1Event() 117 eventInfo.title = title; in testGetAppWidgetModel_1Event() 118 expected.mEventInfos.add(eventInfo); in testGetAppWidgetModel_1Event() 137 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_AllDayEventLater() local 138 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_AllDayEventLater() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 241 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 …]
|
D | CalendarAppWidgetModel.java | 356 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/ |
D | CalendarController.java | 679 private String eventInfoToString(EventInfo eventInfo) { in eventInfoToString() argument 683 if ((eventInfo.eventType & EventType.GO_TO) != 0) { in eventInfoToString() 685 } else if ((eventInfo.eventType & EventType.VIEW_EVENT) != 0) { in eventInfoToString() 687 } else if ((eventInfo.eventType & EventType.VIEW_EVENT_DETAILS) != 0) { in eventInfoToString() 689 } else if ((eventInfo.eventType & EventType.EVENTS_CHANGED) != 0) { in eventInfoToString() 691 } else if ((eventInfo.eventType & EventType.USER_HOME) != 0) { in eventInfoToString() 693 } else if ((eventInfo.eventType & EventType.UPDATE_TITLE) != 0) { in eventInfoToString() 698 builder.append(eventInfo.id); in eventInfoToString() 700 builder.append(eventInfo.selectedTime); in eventInfoToString() 702 builder.append(eventInfo.startTime); in eventInfoToString() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | SliceFullCardRendererHelper.java | 58 (eventInfo, sliceItem) -> { in bindView() argument 59 … final String log = ContextualCardLogUtils.buildCardClickLog(card, eventInfo.rowIndex, in bindView() 60 eventInfo.actionType, cardHolder.getAdapterPosition()); in bindView()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceFullCardRendererHelper.java | 58 (eventInfo, sliceItem) -> { in bindView() argument 59 … final String log = ContextualCardLogUtils.buildCardClickLog(card, eventInfo.rowIndex, in bindView() 60 eventInfo.actionType, cardHolder.getAdapterPosition()); in bindView()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelSlicesAdapter.java | 126 ((eventInfo, sliceItem) -> { in onBind() argument 134 eventInfo.actionType /* value */); in onBind()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/ |
D | PanelSlicesAdapter.java | 119 ((eventInfo, sliceItem) -> { in onBind() argument 126 eventInfo.actionType /* value */); in onBind()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 225 EventInfo eventInfo; field in CalendarProvider2Test.Insert 228 eventInfo = findEvent(eventName); in Insert() 232 Log.i(TAG, "insert " + eventInfo.mTitle); in execute() 233 insertEvent(mCalendarId, eventInfo); in execute() 2382 EventInfo eventInfo = new EventInfo("current", startDate, endDate, false); in internalTestDirty() local 2383 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()
|