Home
last modified time | relevance | path

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

/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java110 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/
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.java679 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/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelper.java55 cardHolder.sliceView.setOnSliceActionListener((eventInfo, sliceItem) -> { in bindView() argument
56 final String log = ContextualCardLogUtils.buildCardClickLog(card, eventInfo.rowIndex, in bindView()
57 eventInfo.actionType, cardHolder.getAdapterPosition()); in bindView()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelSlicesAdapter.java146 ((eventInfo, sliceItem) -> { in onBind() argument
154 eventInfo.actionType /* value */); in onBind()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java4408 DisconnectEventInfo eventInfo = (DisconnectEventInfo) message.obj;
4410 log("ConnectingOrConnectedState: Network disconnection " + eventInfo);
4412 if (eventInfo.reasonCode == ReasonCode.FOURWAY_HANDSHAKE_TIMEOUT) {
4413 String bssid = !isValidBssid(eventInfo.bssid)
4414 ? mTargetBssid : eventInfo.bssid;
4421 getConnectingWifiConfigurationInternal(), eventInfo.reasonCode);
4425 targetSsid != null && !eventInfo.ssid.equals(targetSsid);
4427 int level2FailureReason = eventInfo.locallyGenerated
4430 if (!eventInfo.locallyGenerated) {
4432 mInterfaceName, eventInfo.reasonCode);
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java226 EventInfo eventInfo; field in CalendarProvider2Test.Insert
229 eventInfo = findEvent(eventName); in Insert()
233 Log.i(TAG, "insert " + eventInfo.mTitle); in execute()
234 insertEvent(mCalendarId, eventInfo); in execute()
2401 EventInfo eventInfo = new EventInfo("current", startDate, endDate, false); in internalTestDirty() local
2402 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()