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

/packages/services/Car/car-lib/src/com/android/car/internal/
H A DSingleMessageHandler.java31 public abstract class SingleMessageHandler<EventType> implements Callback {
44 protected abstract void handleEvent(EventType event);
49 List<EventType> events = (List<EventType>) msg.obj;
50 events.forEach(new Consumer<EventType>() {
52 public void accept(EventType event) {
61 public void sendEvents(List<EventType> events) {
/packages/apps/Contacts/src/com/android/contacts/logging/
H A DEditorEvent.java28 public static final class EventType { class in class:EditorEvent
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarController.java100 public interface EventType { interface in class:CalendarController
155 public long eventType; // one of the EventType
174 * For EventType.VIEW_EVENT:
181 * For EventType.CREATE_EVENT:
184 * For EventType.GO_TO:
190 * For EventType.UPDATE_TITLE:
196 if (eventType != EventType.VIEW_EVENT) {
204 if (eventType != EventType.VIEW_EVENT) {
252 * Pass to the ExtraLong parameter for EventType.CREATE_EVENT to create
258 * Pass to the ExtraLong parameter for EventType
[all...]
H A DSearchActivity.java45 import com.android.calendar.CalendarController.EventType;
221 searchEventInfo.eventType = EventType.SEARCH;
282 mController.sendEvent(this, EventType.GO_TO, t, null, -1, ViewType.CURRENT);
287 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, 0, 0);
347 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT);
352 return EventType.VIEW_EVENT | EventType.DELETE_EVENT;
358 if (event.eventType == EventType.VIEW_EVENT) {
360 } else if (event.eventType == EventType.DELETE_EVENT) {
373 mController.sendEvent(this, EventType
[all...]
H A DDayFragment.java20 import com.android.calendar.CalendarController.EventType;
262 return EventType.GO_TO | EventType.EVENTS_CHANGED;
266 if (msg.eventType == EventType.GO_TO) {
272 } else if (msg.eventType == EventType.EVENTS_CHANGED) {
H A DAllInOneActivity.java69 import com.android.calendar.CalendarController.EventType;
298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT);
527 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT,
545 mController.sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, mViewEventId,
587 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT);
689 mController.sendEvent(this, EventType.GO_TO, t, null,
692 mController.sendEvent(this, EventType.GO_TO, t, null, -1, viewType);
699 mController.sendEvent(this, EventType.GO_TO, null, null, -1, mPreviousView);
779 this, EventType.CREATE_EVENT, -1, t.toMillis(true), 0, 0, 0, -1);
782 mController.sendEvent(this, EventType
[all...]
H A 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,
1418 mController.sendEventRelatedEventWithExtra(this, EventType.CREATE_EVENT, -1,
1425 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id,
1437 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id,
1454 mController.sendEventRelatedEventWithExtra(this, EventType.CREATE_EVENT, -1,
1460 mController.sendEventRelatedEvent(this, EventType.VIEW_EVENT, selectedEvent.id,
1634 mController.sendEvent(this, EventType.GO_TO, date, end, -1, ViewType.CURRENT);
1641 mController.sendEvent(this, EventType
[all...]
H A DEventInfoFragment.java97 import com.android.calendar.CalendarController.EventType;
2108 return EventType.EVENTS_CHANGED;
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaFragment.java39 import com.android.calendar.CalendarController.EventType;
359 return EventType.GO_TO | EventType.EVENTS_CHANGED | ((mUsedForSearch)?EventType.SEARCH:0);
366 if (event.eventType == EventType.GO_TO) {
374 } else if (event.eventType == EventType.SEARCH) {
376 } else if (event.eventType == EventType.EVENTS_CHANGED) {
475 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, null, -1,
H A DAgendaListView.java20 import com.android.calendar.CalendarController.EventType;
201 controller.sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, item.id,
H A DAgendaWindowAdapter.java45 import com.android.calendar.CalendarController.EventType;
678 .sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT,
731 CalendarController.getInstance(mContext).sendEvent(this, EventType.UPDATE_TITLE,
1019 EventType.UPDATE_TITLE, actualTime, actualTime, -1,
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectVisibleCalendarsActivity.java32 import com.android.calendar.CalendarController.EventType;
51 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT);
H A DSelectVisibleCalendarsFragment.java36 import com.android.calendar.CalendarController.EventType;
181 return EventType.EVENTS_CHANGED;
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekFragment.java49 import com.android.calendar.CalendarController.EventType;
422 return EventType.GO_TO | EventType.EVENTS_CHANGED;
427 if (event.eventType == EventType.GO_TO) {
450 } else if (event.eventType == EventType.EVENTS_CHANGED) {
479 controller.sendEvent(this, EventType.UPDATE_TITLE, time, time, time, -1,
H A DMonthByWeekAdapter.java34 import com.android.calendar.CalendarController.EventType;
293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1,
297 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1,
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorSpringBoardActivity.java115 EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, /* numberRawContacts */ 0);
192 EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER, /* numberRawContacts */ 0);
/packages/apps/Calendar/src/com/android/calendar/event/
H A DCreateEventDialogFragment.java44 import com.android.calendar.CalendarController.EventType;
163 EventType.CREATE_EVENT, -1, mDateInMillis,
H A DEditEventFragment.java59 import com.android.calendar.CalendarController.EventType;
959 return EventType.USER_HOME;
967 if ((false && event.eventType == EventType.USER_HOME) || (event.eventType == EventType.GO_TO
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DPickRawContactDialogFragment.java222 Logger.logEditorEvent(EditorEvent.EventType.SHOW_RAW_CONTACT_PICKER,

Completed in 376 milliseconds