Lines Matching refs:mSelectedEvent
561 private Event mSelectedEvent; field in DayView
1353 if (mSelectedEvent != null && mLastPopupEventID != mSelectedEvent.id) { in remeasure()
1400 Event selectedEvent = mSelectedEvent; in switchViews()
1537 Event selectedEvent = mSelectedEvent; in onKeyDown()
1559 if (mSelectedEvent != null) { in onKeyDown()
1560 setSelectedEvent(mSelectedEvent.nextLeft); in onKeyDown()
1562 if (mSelectedEvent == null) { in onKeyDown()
1570 if (mSelectedEvent != null) { in onKeyDown()
1571 setSelectedEvent(mSelectedEvent.nextRight); in onKeyDown()
1573 if (mSelectedEvent == null) { in onKeyDown()
1581 if (mSelectedEvent != null) { in onKeyDown()
1582 setSelectedEvent(mSelectedEvent.nextUp); in onKeyDown()
1584 if (mSelectedEvent == null) { in onKeyDown()
1597 if (mSelectedEvent != null) { in onKeyDown()
1598 setSelectedEvent(mSelectedEvent.nextDown); in onKeyDown()
1600 if (mSelectedEvent == null) { in onKeyDown()
2709 if (mSelectedEvent == null) { in getSelectedEvent()
2714 return mSelectedEvent; in getSelectedEvent()
2718 return (mSelectedEvent != null); in isEventSelected()
3036 if (len == 0 || mSelectedEvent != null) { in computeAllDayNeighbors()
3153 if (len == 0 || mSelectedEvent != null) { in computeNeighbors()
3488 if (mSelectedEvent == event && mClickedEvent != null) { in drawEventRect()
3631 if (mSelectedEvent == null || mSelectionMode == SELECTION_HIDDEN in updateEventDetails()
3636 if (mLastPopupEventID == mSelectedEvent.id) { in updateEventDetails()
3640 mLastPopupEventID = mSelectedEvent.id; in updateEventDetails()
3645 Event event = mSelectedEvent; in updateEventDetails()
3694 Event oldSelectedEvent = mSelectedEvent; in doDown()
3703 if (!pressedSelected && mSelectedEvent != null) { in doDown()
3704 mSavedClickedEvent = mSelectedEvent; in doDown()
3711 mSelectedEvent = oldSelectedEvent; in doDown()
3905 } else if (mSelectedEvent != null) { in doSingleTapUp()
3914 (int)((mSelectedEvent.top + mSelectedEvent.bottom)/2); in doSingleTapUp()
3917 if (!mSelectedEvent.allDay) { in doSingleTapUp()
4366 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu()
4402 int accessLevel = getEventAccessLevel(mContext, mSelectedEvent); in onCreateContextMenu()
4436 if (mSelectedEvent != null) { in onMenuItemClick()
4438 mSelectedEvent.id, mSelectedEvent.startMillis, in onMenuItemClick()
4439 mSelectedEvent.endMillis, 0, 0, -1); in onMenuItemClick()
4444 if (mSelectedEvent != null) { in onMenuItemClick()
4446 mSelectedEvent.id, mSelectedEvent.startMillis, in onMenuItemClick()
4447 mSelectedEvent.endMillis, 0, 0, -1); in onMenuItemClick()
4469 if (mSelectedEvent != null) { in onMenuItemClick()
4470 Event selectedEvent = mSelectedEvent; in onMenuItemClick()
4560 savedEvent = mSelectedEvent; in setSelectionFromPosition()
4619 mSelectedEvent = savedEvent; in setSelectionFromPosition()
4737 int startDay = mSelectedEvent.startDay; in findSelectedEvent()
4738 int endDay = mSelectedEvent.endDay; in findSelectedEvent()
4745 int startHour = mSelectedEvent.startTime / 60; in findSelectedEvent()
4747 if (mSelectedEvent.startTime < mSelectedEvent.endTime) { in findSelectedEvent()
4748 endHour = (mSelectedEvent.endTime - 1) / 60; in findSelectedEvent()
4750 endHour = mSelectedEvent.endTime / 60; in findSelectedEvent()
4836 mSelectedEvent = e; in setSelectedEvent()