/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 100 public interface EventType { interface in CalendarController 196 if (eventType != EventType.VIEW_EVENT) { in isAllDay() 204 if (eventType != EventType.VIEW_EVENT) { in getResponse() 370 if (eventType == EventType.EDIT_EVENT || eventType == EventType.VIEW_EVENT_DETAILS) { in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 494 if (event.eventType == EventType.UPDATE_TITLE) { in sendEvent() 512 & (EventType.CREATE_EVENT | EventType.EDIT_EVENT | EventType.VIEW_EVENT_DETAILS)) in sendEvent() 586 if (event.eventType == EventType.LAUNCH_SETTINGS) { in sendEvent() 592 if (event.eventType == EventType.LAUNCH_SELECT_VISIBLE_CALENDARS) { in sendEvent() 599 if (event.eventType == EventType.CREATE_EVENT) { in sendEvent() 604 } else if (event.eventType == EventType.VIEW_EVENT) { in sendEvent() [all …]
|
D | AllInOneActivity.java | 69 import com.android.calendar.CalendarController.EventType; 298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent() 527 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume() 545 mController.sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, mViewEventId, in onResume() 587 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT); in onUserLeaveHint() 689 mController.sendEvent(this, EventType.GO_TO, t, null, in initFragments() 692 mController.sendEvent(this, EventType.GO_TO, t, null, -1, viewType); in initFragments() 699 mController.sendEvent(this, EventType.GO_TO, null, null, -1, mPreviousView); in onBackPressed() 779 this, EventType.CREATE_EVENT, -1, t.toMillis(true), 0, 0, 0, -1); in onOptionsItemSelected() 782 mController.sendEvent(this, EventType.LAUNCH_SELECT_VISIBLE_CALENDARS, null, null, in onOptionsItemSelected() [all …]
|
D | SearchActivity.java | 45 import com.android.calendar.CalendarController.EventType; 221 searchEventInfo.eventType = EventType.SEARCH; in search() 282 mController.sendEvent(this, EventType.GO_TO, t, null, -1, ViewType.CURRENT); in onOptionsItemSelected() 287 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, 0, 0); in onOptionsItemSelected() 347 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); in eventsChanged() 352 return EventType.VIEW_EVENT | EventType.DELETE_EVENT; in getSupportedEventTypes() 358 if (event.eventType == EventType.VIEW_EVENT) { in handleEvent() 360 } else if (event.eventType == EventType.DELETE_EVENT) { in handleEvent() 373 mController.sendEvent(this, EventType.SEARCH, null, null, -1, ViewType.CURRENT, 0, query, in onQueryTextSubmit()
|
D | DayFragment.java | 20 import com.android.calendar.CalendarController.EventType; 262 return EventType.GO_TO | EventType.EVENTS_CHANGED; in getSupportedEventTypes() 266 if (msg.eventType == EventType.GO_TO) { in handleEvent() 272 } else if (msg.eventType == EventType.EVENTS_CHANGED) { in handleEvent()
|
D | DayView.java | 80 import com.android.calendar.CalendarController.EventType; 225 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, mClickedEvent.id, 1138 mController.sendEvent(this, EventType.UPDATE_TITLE, start, end, null, -1, ViewType.CURRENT, in updateTitle() 1418 mController.sendEventRelatedEventWithExtra(this, EventType.CREATE_EVENT, -1, in switchViews() 1425 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id, in switchViews() 1437 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id, in switchViews() 1454 mController.sendEventRelatedEventWithExtra(this, EventType.CREATE_EVENT, -1, in switchViews() 1460 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id, in switchViews() 1634 mController.sendEvent(this, EventType.GO_TO, date, end, -1, ViewType.CURRENT); in onKeyDown() 1641 mController.sendEvent(this, EventType.GO_TO, date, date, -1, ViewType.CURRENT); in onKeyDown() [all …]
|
D | EventInfoFragment.java | 97 import com.android.calendar.CalendarController.EventType; 2108 return EventType.EVENTS_CHANGED; in getSupportedEventTypes()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | SingleMessageHandler.java | 30 public abstract class SingleMessageHandler<EventType> implements Callback { 39 protected abstract void handleEvent(EventType event); in handleEvent() 44 List<EventType> events = (List<EventType>) msg.obj; in handleMessage() 45 events.forEach(new Consumer<EventType>() { in handleMessage() 47 public void accept(EventType event) { in handleMessage() 56 public void sendEvents(List<EventType> events) { in sendEvents()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 39 import com.android.calendar.CalendarController.EventType; 359 return EventType.GO_TO | EventType.EVENTS_CHANGED | ((mUsedForSearch)?EventType.SEARCH:0); in getSupportedEventTypes() 366 if (event.eventType == EventType.GO_TO) { in handleEvent() 374 } else if (event.eventType == EventType.SEARCH) { in handleEvent() 376 } else if (event.eventType == EventType.EVENTS_CHANGED) { in handleEvent() 475 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, null, -1, in onScroll()
|
D | AgendaWindowAdapter.java | 45 import com.android.calendar.CalendarController.EventType; 678 .sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, in sendViewEvent() 731 CalendarController.getInstance(mContext).sendEvent(this, EventType.UPDATE_TITLE, in refresh() 1019 EventType.UPDATE_TITLE, actualTime, actualTime, -1, in onQueryComplete()
|
D | AgendaListView.java | 20 import com.android.calendar.CalendarController.EventType; 201 controller.sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, item.id, in onItemClick()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekFragment.java | 49 import com.android.calendar.CalendarController.EventType; 422 return EventType.GO_TO | EventType.EVENTS_CHANGED; in getSupportedEventTypes() 427 if (event.eventType == EventType.GO_TO) { in handleEvent() 450 } else if (event.eventType == EventType.EVENTS_CHANGED) { in handleEvent() 479 controller.sendEvent(this, EventType.UPDATE_TITLE, time, time, time, -1, in setMonthDisplayed()
|
D | MonthByWeekAdapter.java | 34 import com.android.calendar.CalendarController.EventType; 293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, in onDayTapped() 297 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, in onDayTapped()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectVisibleCalendarsActivity.java | 32 import com.android.calendar.CalendarController.EventType; 51 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT);
|
D | SelectVisibleCalendarsFragment.java | 36 import com.android.calendar.CalendarController.EventType; 181 return EventType.EVENTS_CHANGED; in getSupportedEventTypes()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventFragment.java | 59 import com.android.calendar.CalendarController.EventType; 959 return EventType.USER_HOME; in getSupportedEventTypes() 967 if ((false && event.eventType == EventType.USER_HOME) || (event.eventType == EventType.GO_TO in handleEvent()
|
D | CreateEventDialogFragment.java | 44 import com.android.calendar.CalendarController.EventType; 163 EventType.CREATE_EVENT, -1, mDateInMillis, in onCreateDialog()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 115 EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, /* numberRawContacts */ 0); in onCreate() 192 EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, /* numberRawContacts */ 0); in loadEditor()
|
/packages/apps/Contacts/src/com/android/contacts/logging/ |
D | EditorEvent.java | 28 public static final class EventType { class in EditorEvent
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 222 Logger.logEditorEvent(EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, in onCreateDialog()
|