Lines Matching refs:mController
105 private CalendarController mController; field in AllInOneActivity
294 if (millis != -1 && mViewEventId == -1 && mController != null) { in onNewIntent()
298 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent()
325 mController = CalendarController.getInstance(this); in onCreate()
426 mController.registerFirstEventHandler(HANDLER_KEY, this); in onCreate()
516 mController.registerFirstEventHandler(HANDLER_KEY, this); in onResume()
522 initFragments(mController.getTime(), mController.getViewType(), null); in onResume()
526 t.set(mController.getTime()); in onResume()
527 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume()
528 mController.getDateFlags(), null, null); in onResume()
545 mController.sendEventRelatedEventWithExtra(this, EventType.VIEW_EVENT, mViewEventId, in onResume()
565 mController.deregisterEventHandler(HANDLER_KEY); in onPause()
578 if (mController.getViewType() != ViewType.EDIT) { in onPause()
579 Utils.setDefaultView(this, mController.getViewType()); in onPause()
587 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT); in onUserLeaveHint()
595 outState.putLong(BUNDLE_KEY_RESTORE_TIME, mController.getTime()); in onSaveInstanceState()
598 outState.putLong(BUNDLE_KEY_EVENT_ID, mController.getEventId()); in onSaveInstanceState()
616 mController.deregisterAllEventHandlers(); in onDestroy()
630 mController.registerEventHandler(R.id.mini_month, (EventHandler) miniMonthFrag); in initFragments()
634 mController.registerEventHandler( in initFragments()
677 mController.setViewType(viewType); in initFragments()
678 mController.setEventId(eventId); in initFragments()
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()
734 } else if (mControlsMenu != null && mController != null in onCreateOptionsMenu()
735 && (mController.getViewType() == ViewType.MONTH || in onCreateOptionsMenu()
736 mController.getViewType() == ViewType.AGENDA)) { in onCreateOptionsMenu()
762 mController.refreshCalendars(); in onOptionsItemSelected()
771 t.set(mController.getTime()); in onOptionsItemSelected()
778 mController.sendEventRelatedEvent( in onOptionsItemSelected()
782 mController.sendEvent(this, EventType.LAUNCH_SELECT_VISIBLE_CALENDARS, null, null, in onOptionsItemSelected()
786 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, 0, 0); in onOptionsItemSelected()
810 mController.sendEvent(this, EventType.GO_TO, t, null, t, -1, viewType, extras, null, null); in onOptionsItemSelected()
844 initFragments(mController.getTime(), mController.getViewType(), null); in onSharedPreferenceChanged()
978 mController.deregisterEventHandler(R.id.secondary_pane); in setMainPane()
985 mController.registerEventHandler(viewId, (EventHandler) frag); in setMainPane()
987 mController.registerEventHandler(viewId, (EventHandler) secFrag); in setMainPane()
1093 } else if (event.viewType != mController.getPreviousViewType() in handleEvent()
1134 (mController.getPreviousViewType() == ViewType.MONTH || in handleEvent()
1135 mController.getPreviousViewType() == ViewType.AGENDA)) { in handleEvent()
1164 mController.sendEvent(this, EventType.GO_TO, event.startTime, event.endTime, in handleEvent()
1168 mController.sendEvent(this, EventType.GO_TO, event.selectedTime, in handleEvent()
1175 mController.sendEvent(this, EventType.GO_TO, event.selectedTime, in handleEvent()
1216 mActionBarMenuSpinnerAdapter.setTime(mController.getTime()); in handleEvent()
1225 mController.sendEvent(this, EventType.LAUNCH_SETTINGS, null, null, null, 0, 0, in handleSelectSyncedCalendarsClicked()
1232 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); in eventsChanged()
1243 mController.sendEvent(this, EventType.SEARCH, null, null, -1, ViewType.CURRENT, 0, query, in onQueryTextSubmit()
1252 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.DAY); in onTabSelected()
1254 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.WEEK); in onTabSelected()
1256 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.MONTH); in onTabSelected()
1258 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.AGENDA); in onTabSelected()
1281 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.DAY); in onNavigationItemSelected()
1286 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.WEEK); in onNavigationItemSelected()
1291 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.MONTH); in onNavigationItemSelected()
1296 mController.sendEvent(this, EventType.GO_TO, null, null, -1, ViewType.AGENDA); in onNavigationItemSelected()