Searched refs:CalendarController (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayFragment.kt | 18 import com.android.calendar.CalendarController.EventInfo 19 import com.android.calendar.CalendarController.EventType 37 class DayFragment : Fragment, CalendarController.EventHandler, ViewFactory { 96 val view = DayView(getActivity(), CalendarController in makeView() 210 get() = CalendarController.EventType.GO_TO or CalendarController.EventType.EVENTS_CHANGED 212 override fun handleEvent(msg: CalendarController.EventInfo?) { in handleEvent() 213 if (msg?.eventType == CalendarController.EventType.GO_TO) { in handleEvent() 217 goTo(msg.selectedTime, msg.extraLong and CalendarController.EXTRA_GOTO_DATE != 0L, in handleEvent() 218 msg.extraLong and CalendarController.EXTRA_GOTO_TODAY != 0L) in handleEvent() 219 } else if (msg?.eventType == CalendarController.EventType.EVENTS_CHANGED) { in handleEvent()
|
D | CalendarController.kt | 36 class CalendarController private constructor(context: Context?) { class 513 CalendarController.EventHandler>> = eventHandlers.entries.iterator() in sendEvent() 516 CalendarController.EventHandler> = handlers.next() in sendEvent() 572 eventHandler as CalendarController.EventHandler) in registerEventHandler() 574 eventHandlers.put(key, eventHandler as CalendarController.EventHandler) in registerEventHandler() 689 private val instances: WeakHashMap<Context, WeakReference<CalendarController>> = 690 WeakHashMap<Context, WeakReference<CalendarController>>() 707 @JvmStatic fun getInstance(context: Context?): CalendarController? { in getInstance() 709 var controller: CalendarController? = null in getInstance() 710 val weakController: WeakReference<CalendarController>? = instances.get(context) in getInstance() [all …]
|
D | AllInOneActivity.kt | 60 import com.android.calendar.CalendarController.EventHandler 61 import com.android.calendar.CalendarController.EventInfo 62 import com.android.calendar.CalendarController.EventType 63 import com.android.calendar.CalendarController.ViewType 74 private var mController: CalendarController? = null 251 mController = CalendarController.getInstance(this) in onCreate() 516 CalendarController.removeInstance(this) in onDestroy() 627 var extras: Long = CalendarController.EXTRA_GOTO_TIME in onOptionsItemSelected() 633 extras = extras or CalendarController.EXTRA_GOTO_TODAY in onOptionsItemSelected() 909 if (event.extraLong and CalendarController.EXTRA_GOTO_BACK_TO_PREVIOUS != 0L) { in handleEvent() [all …]
|
D | EventInfoFragment.kt | 60 import com.android.calendar.CalendarController.EventInfo 61 import com.android.calendar.CalendarController.EventType 66 class EventInfoFragment : DialogFragment, OnCheckedChangeListener, CalendarController.EventHandler, 283 private var mController: CalendarController? = null 396 mController = CalendarController.getInstance(mActivity) in onAttach()
|
D | GeneralPreferences.kt | 358 const val DEFAULT_START_VIEW: Int = CalendarController.ViewType.WEEK 359 const val DEFAULT_DETAILED_VIEW: Int = CalendarController.ViewType.DAY
|
D | EventInfoActivity.kt | 122 CalendarController.getInstance(this) in onCreate()
|
D | Utils.kt | 42 import com.android.calendar.CalendarController.ViewType 391 if (allowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView() 394 (viewId == CalendarController.ViewType.AGENDA || in setDefaultView() 395 viewId == CalendarController.ViewType.DAY) in setDefaultView()
|
D | CalendarViewAdapter.kt | 18 import com.android.calendar.CalendarController.ViewType
|
D | DayView.kt | 68 import com.android.calendar.CalendarController.EventType 69 import com.android.calendar.CalendarController.ViewType 83 controller: CalendarController?, 402 private val mController: CalendarController 1165 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null in onAnimationEnd() 2746 ViewType.DAY, CalendarController.EXTRA_GOTO_DATE, null, null in doSingleTapUp() 3970 mController = controller as CalendarController
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.kt | 31 import com.android.calendar.CalendarController 32 import com.android.calendar.CalendarController.EventType 33 import com.android.calendar.CalendarController.ViewType 42 protected var mController: CalendarController? = null 71 mController = CalendarController.getInstance(mContext) in init() 238 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null in onDayTapped() 244 ViewType.DETAIL, CalendarController.EXTRA_GOTO_DATE in onDayTapped() 245 or CalendarController.EXTRA_GOTO_BACK_TO_PREVIOUS, null, null in onDayTapped()
|
D | MonthByWeekFragment.kt | 43 import com.android.calendar.CalendarController 44 import com.android.calendar.CalendarController.EventInfo 45 import com.android.calendar.CalendarController.EventType 46 import com.android.calendar.CalendarController.ViewType 58 ) : SimpleDayPickerFragment(initialTime), CalendarController.EventHandler, 382 override fun handleEvent(event: CalendarController.EventInfo?) { in handleEvent() 398 CalendarController.EXTRA_GOTO_TODAY.toLong() != 0L in handleEvent() 431 val controller: CalendarController? = CalendarController.getInstance(mContext) in setMonthDisplayed()
|
D | SimpleWeeksAdapter.kt | 19 import com.android.calendar.CalendarController 289 protected const val WEEK_COUNT = CalendarController.MAX_CALENDAR_WEEK - 290 CalendarController.MIN_CALENDAR_WEEK
|