Home
last modified time | relevance | path

Searched refs:EventType (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java100 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 …]
DAllInOneActivity.java69 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 …]
DSearchActivity.java45 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()
DDayFragment.java20 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()
DDayView.java80 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 …]
DEventInfoFragment.java97 import com.android.calendar.CalendarController.EventType;
2108 return EventType.EVENTS_CHANGED; in getSupportedEventTypes()
/packages/services/Car/car-lib/src/com/android/car/internal/
DSingleMessageHandler.java30 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/
DAgendaFragment.java39 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()
DAgendaWindowAdapter.java45 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()
DAgendaListView.java20 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/
DMonthByWeekFragment.java49 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()
DMonthByWeekAdapter.java34 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/
DSelectVisibleCalendarsActivity.java32 import com.android.calendar.CalendarController.EventType;
51 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT);
DSelectVisibleCalendarsFragment.java36 import com.android.calendar.CalendarController.EventType;
181 return EventType.EVENTS_CHANGED; in getSupportedEventTypes()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java59 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()
DCreateEventDialogFragment.java44 import com.android.calendar.CalendarController.EventType;
163 EventType.CREATE_EVENT, -1, mDateInMillis, in onCreateDialog()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java115 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/
DEditorEvent.java28 public static final class EventType { class in EditorEvent
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactDialogFragment.java222 Logger.logEditorEvent(EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, in onCreateDialog()