Home
last modified time | relevance | path

Searched refs:ViewType (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java70 import com.android.calendar.CalendarController.ViewType;
298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent()
347 if (viewType == -1 || viewType > ViewType.MAX_VALUE) { in onCreate()
478 case ViewType.AGENDA: in createButtonsSpinner()
481 case ViewType.DAY: in createButtonsSpinner()
484 case ViewType.WEEK: in createButtonsSpinner()
487 case ViewType.MONTH: in createButtonsSpinner()
527 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume()
578 if (mController.getViewType() != ViewType.EDIT) { in onPause()
587 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT); in onUserLeaveHint()
[all …]
DCalendarViewAdapter.java19 import com.android.calendar.CalendarController.ViewType;
183 case ViewType.DAY: in getView()
188 case ViewType.WEEK: in getView()
197 case ViewType.MONTH: in getView()
201 case ViewType.AGENDA: in getView()
223 case ViewType.DAY: in getView()
226 case ViewType.WEEK: in getView()
229 case ViewType.MONTH: in getView()
232 case ViewType.AGENDA: in getView()
DCalendarController.java135 public interface ViewType { interface in CalendarController
371 info.viewType = ViewType.CURRENT; in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
451 if (event.viewType == ViewType.DETAIL) { in sendEvent()
454 } else if (event.viewType == ViewType.CURRENT) { in sendEvent()
456 } else if (event.viewType != ViewType.EDIT) { in sendEvent()
459 if (event.viewType == ViewType.AGENDA || event.viewType == ViewType.DAY in sendEvent()
460 || (Utils.getAllowWeekForDetailView() && event.viewType == ViewType.WEEK)) { in sendEvent()
DSearchActivity.java46 import com.android.calendar.CalendarController.ViewType;
223 searchEventInfo.viewType = ViewType.AGENDA; in search()
282 mController.sendEvent(this, EventType.GO_TO, t, null, -1, ViewType.CURRENT); in onOptionsItemSelected()
347 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); in eventsChanged()
373 mController.sendEvent(this, EventType.SEARCH, null, null, -1, ViewType.CURRENT, 0, query, in onQueryTextSubmit()
DUtils.java55 import com.android.calendar.CalendarController.ViewType;
224 return ViewType.EDIT; in getViewTypeFromIntentAndSharedPref()
233 return ViewType.DAY; in getViewTypeFromIntentAndSharedPref()
450 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView()
453 validDetailView = viewId == CalendarController.ViewType.AGENDA in setDefaultView()
454 || viewId == CalendarController.ViewType.DAY; in setDefaultView()
DDayView.java81 import com.android.calendar.CalendarController.ViewType;
1138 mController.sendEvent(this, EventType.UPDATE_TITLE, start, end, null, -1, ViewType.CURRENT, in updateTitle()
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()
1805 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onAnimationEnd()
3885 ViewType.DAY, CalendarController.EXTRA_GOTO_DATE, null, null); in doSingleTapUp()
3939 mController.sendEvent(this, EventType.GO_TO, startTime, endTime, -1, ViewType.CURRENT, in doSingleTapUp()
4453 ViewType.DAY); in onMenuItemClick()
4458 ViewType.AGENDA); in onMenuItemClick()
DGeneralPreferences.java113 public static final int DEFAULT_START_VIEW = CalendarController.ViewType.WEEK;
114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java35 import com.android.calendar.CalendarController.ViewType;
294 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onDayTapped()
298 ViewType.DETAIL, in onDayTapped()
DMonthByWeekFragment.java50 import com.android.calendar.CalendarController.ViewType;
480 ViewType.CURRENT, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_MONTH_DAY in setMonthDisplayed()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsActivity.java33 import com.android.calendar.CalendarController.ViewType;
51 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT);
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java40 import com.android.calendar.CalendarController.ViewType;
476 ViewType.CURRENT, 0, null, null); in onScroll()
DAgendaWindowAdapter.java46 import com.android.calendar.CalendarController.ViewType;
732 actualTime, actualTime, -1, ViewType.CURRENT); in refresh()
1020 ViewType.CURRENT); in onQueryComplete()