Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java33 import com.android.calendar.CalendarController;
34 import com.android.calendar.CalendarController.EventType;
35 import com.android.calendar.CalendarController.ViewType;
50 protected CalendarController mController;
104 mController = CalendarController.getInstance(mContext); in init()
270 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onDayTapped()
275 CalendarController.EXTRA_GOTO_DATE in onDayTapped()
276 | CalendarController.EXTRA_GOTO_BACK_TO_PREVIOUS, null, null); in onDayTapped()
DMonthByWeekFragment.java47 import com.android.calendar.CalendarController;
48 import com.android.calendar.CalendarController.EventInfo;
49 import com.android.calendar.CalendarController.EventType;
50 import com.android.calendar.CalendarController.ViewType;
61 CalendarController.EventHandler, LoaderManager.LoaderCallbacks<Cursor>, OnScrollListener,
420 boolean animateToday = (event.extraLong & CalendarController.EXTRA_GOTO_TODAY) != 0; in handleEvent()
451 CalendarController controller = CalendarController.getInstance(mContext); in setMonthDisplayed()
DSimpleWeeksAdapter.java21 import com.android.calendar.CalendarController;
78 protected static final int WEEK_COUNT = CalendarController.MAX_CALENDAR_WEEK
79 - CalendarController.MIN_CALENDAR_WEEK;
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.java19 import com.android.calendar.CalendarController.EventInfo;
20 import com.android.calendar.CalendarController.EventType;
39 public class DayFragment extends Fragment implements CalendarController.EventHandler, ViewFactory {
115 DayView view = new DayView(getActivity(), CalendarController in makeView()
250 goTo(msg.selectedTime, (msg.extraLong & CalendarController.EXTRA_GOTO_DATE) != 0, in handleEvent()
251 (msg.extraLong & CalendarController.EXTRA_GOTO_TODAY) != 0); in handleEvent()
DCalendarController.java48 public class CalendarController { class
73 private static WeakHashMap<Context, WeakReference<CalendarController>> instances =
74 new WeakHashMap<Context, WeakReference<CalendarController>>();
257 public static CalendarController getInstance(Context context) { in getInstance()
259 CalendarController controller = null; in getInstance()
260 WeakReference<CalendarController> weakController = instances.get(context); in getInstance()
266 controller = new CalendarController(context); in getInstance()
283 private CalendarController(Context context) { in CalendarController() method in CalendarController
DAllInOneActivity.java66 import com.android.calendar.CalendarController.EventHandler;
67 import com.android.calendar.CalendarController.EventInfo;
68 import com.android.calendar.CalendarController.EventType;
69 import com.android.calendar.CalendarController.ViewType;
102 private CalendarController mController;
290 mController = CalendarController.getInstance(this); in onCreate()
561 CalendarController.removeInstance(this); in onDestroy()
679 long extras = CalendarController.EXTRA_GOTO_TIME; in onOptionsItemSelected()
685 extras |= CalendarController.EXTRA_GOTO_TODAY; in onOptionsItemSelected()
940 if ((event.extraLong & CalendarController.EXTRA_GOTO_BACK_TO_PREVIOUS) != 0) { in handleEvent()
DEventInfoFragment.java22 import static com.android.calendar.CalendarController.EVENT_EDIT_ON_LAUNCH;
95 import com.android.calendar.CalendarController.EventInfo;
96 import com.android.calendar.CalendarController.EventType;
109 CalendarController.EventHandler, OnClickListener {
339 private CalendarController mController;
451 mController = CalendarController.getInstance(mActivity); in onAttach()
DGeneralPreferences.java113 public static final int DEFAULT_START_VIEW = CalendarController.ViewType.WEEK;
114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
DUtils.java54 import com.android.calendar.CalendarController.ViewType;
406 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView()
409 validDetailView = viewId == CalendarController.ViewType.AGENDA in setDefaultView()
410 || viewId == CalendarController.ViewType.DAY; in setDefaultView()
DEventInfoActivity.java124 CalendarController.getInstance(this) in onCreate()
DDayView.java80 import com.android.calendar.CalendarController.EventType;
81 import com.android.calendar.CalendarController.ViewType;
627 private final CalendarController mController;
643 public DayView(Context context, CalendarController controller, in DayView()
1534 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onAnimationEnd()
3101 ViewType.DAY, CalendarController.EXTRA_GOTO_DATE, null, null); in doSingleTapUp()
DCalendarViewAdapter.java19 import com.android.calendar.CalendarController.ViewType;