Home
last modified time | relevance | path

Searched refs:endMillis (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEvent.java91 public long endMillis; // UTC milliseconds since the epoch field in Event
128 e.endMillis = endMillis; in clone()
147 dest.endMillis = endMillis; in copyTo()
166 e.endMillis = 0; in newInstance()
338 e.endMillis = eEnd; in loadEvents()
618 public void setEndMillis(long endMillis) { in setEndMillis() argument
619 this.endMillis = endMillis; in setEndMillis()
623 return endMillis; in getEndMillis()
DAlertAdapter.java65 long endMillis = cursor.getLong(AlertActivity.INDEX_END); in bindView() local
68 updateView(context, view, eventName, location, startMillis, endMillis, allDay); in bindView()
72 long startMillis, long endMillis, boolean allDay) { in updateView() argument
96 when = DateUtils.formatDateRange(context, startMillis, endMillis, flags); in updateView()
DEditEvent.java235 long endMillis; in onTimeSet() local
248 endMillis = endTime.normalize(true); in onTimeSet()
254 endMillis = endTime.normalize(true); in onTimeSet()
259 endMillis = startMillis; in onTimeSet()
263 setDate(mEndDateButton, endMillis); in onTimeSet()
265 setTime(mEndTimeButton, endMillis); in onTimeSet()
299 long endMillis; in onDateSet() local
315 endMillis = endTime.normalize(true); in onDateSet()
325 endMillis = endTime.normalize(true); in onDateSet()
330 endMillis = startMillis; in onDateSet()
[all …]
DMenuHelper.java162 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in onOptionsItemSelected() local
166 intent.putExtra(EVENT_END_TIME, endMillis); in onOptionsItemSelected()
DCalendarView.java781 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in switchViews() local
785 intent.putExtra(EVENT_END_TIME, endMillis); in switchViews()
795 intent.putExtra(EVENT_END_TIME, selectedEvent.endMillis); in switchViews()
810 intent.putExtra(EVENT_END_TIME, selectedEvent.endMillis); in switchViews()
826 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in switchViews() local
830 intent.putExtra(EVENT_END_TIME, endMillis); in switchViews()
839 intent.putExtra(EVENT_END_TIME, selectedEvent.endMillis); in switchViews()
919 long end = selectedEvent.endMillis; in onKeyDown()
1521 event.endMillis = event.startMillis + MILLIS_PER_HOUR; in getNewEvent()
1901 ev.startMillis, ev.endMillis, flags); in computeNeighbors()
[all …]
DAlertActivity.java189 long endMillis = cursor.getLong(AlertActivity.INDEX_END);
195 intent.putExtra(EVENT_END_TIME, endMillis);
DMonthView.java412 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in onMenuItemClick() local
416 intent.putExtra(EVENT_END_TIME, endMillis); in onMenuItemClick()
453 long endMillis = SystemClock.uptimeMillis(); in reloadEvents()
454 long elapsed = endMillis - startMillis; in reloadEvents()
1101 event.startMillis, event.endMillis, flags); in updateEventDetails()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java191 long endMillis = dateTest.date2.toMillis(false /* use isDst */); in testAll() local
193 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()