Lines Matching refs:event
998 private void setTitleInActionBar(EventInfo event) { in setTitleInActionBar() argument
999 if (event.eventType != EventType.UPDATE_TITLE || mActionBar == null) { in setTitleInActionBar()
1003 final long start = event.startTime.toMillis(false /* use isDst */); in setTitleInActionBar()
1005 if (event.endTime != null) { in setTitleInActionBar()
1006 end = event.endTime.toMillis(false /* use isDst */); in setTitleInActionBar()
1011 final String msg = Utils.formatDateRange(this, start, end, (int) event.extraLong); in setTitleInActionBar()
1014 updateSecondaryTitleFields(event.selectedTime != null ? event.selectedTime.toMillis(true) in setTitleInActionBar()
1088 public void handleEvent(EventInfo event) { in handleEvent() argument
1090 if (event.eventType == EventType.GO_TO) { in handleEvent()
1091 if ((event.extraLong & CalendarController.EXTRA_GOTO_BACK_TO_PREVIOUS) != 0) { in handleEvent()
1093 } else if (event.viewType != mController.getPreviousViewType() in handleEvent()
1094 && event.viewType != ViewType.EDIT) { in handleEvent()
1100 null, R.id.main_pane, event.viewType, event.startTime.toMillis(false), false); in handleEvent()
1107 … boolean noControlsView = event.viewType == ViewType.MONTH || event.viewType == ViewType.AGENDA; in handleEvent()
1144 displayTime = event.selectedTime != null ? event.selectedTime.toMillis(true) in handleEvent()
1145 : event.startTime.toMillis(true); in handleEvent()
1149 } else if (event.eventType == EventType.VIEW_EVENT) { in handleEvent()
1156 if (event.startTime != null && event.endTime != null) { in handleEvent()
1158 if (event.isAllDay()) { in handleEvent()
1160 event.startTime, event.startTime.toMillis(false), mTimeZone); in handleEvent()
1162 event.endTime, event.endTime.toMillis(false), mTimeZone); in handleEvent()
1164 mController.sendEvent(this, EventType.GO_TO, event.startTime, event.endTime, in handleEvent()
1165 event.selectedTime, event.id, ViewType.AGENDA, in handleEvent()
1167 } else if (event.selectedTime != null) { in handleEvent()
1168 mController.sendEvent(this, EventType.GO_TO, event.selectedTime, in handleEvent()
1169 event.selectedTime, event.id, ViewType.AGENDA); in handleEvent()
1174 if (event.selectedTime != null && mCurrentView != ViewType.AGENDA) { in handleEvent()
1175 mController.sendEvent(this, EventType.GO_TO, event.selectedTime, in handleEvent()
1176 event.selectedTime, -1, ViewType.CURRENT); in handleEvent()
1178 int response = event.getResponse(); in handleEvent()
1184 Uri eventUri = ContentUris.withAppendedId(Events.CONTENT_URI, event.id); in handleEvent()
1189 intent.putExtra(EXTRA_EVENT_BEGIN_TIME, event.startTime.toMillis(false)); in handleEvent()
1190 intent.putExtra(EXTRA_EVENT_END_TIME, event.endTime.toMillis(false)); in handleEvent()
1196 event.id, event.startTime.toMillis(false), in handleEvent()
1197 event.endTime.toMillis(false), response, true, in handleEvent()
1200 fragment.setDialogParams(event.x, event.y, mActionBar.getHeight()); in handleEvent()
1212 displayTime = event.startTime.toMillis(true); in handleEvent()
1213 } else if (event.eventType == EventType.UPDATE_TITLE) { in handleEvent()
1214 setTitleInActionBar(event); in handleEvent()