Home
last modified time | relevance | path

Searched refs:startMillis (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEvent.java90 public long startMillis; // UTC milliseconds since the epoch field in Event
127 e.startMillis = startMillis; in clone()
146 dest.startMillis = startMillis; in copyTo()
165 e.startMillis = 0; in newInstance()
334 e.startMillis = eStart; in loadEvents()
610 public void setStartMillis(long startMillis) { in setStartMillis() argument
611 this.startMillis = startMillis; in setStartMillis()
615 return startMillis; in getStartMillis()
DAlertAdapter.java64 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN); 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()
DEventLoader.java107 public long startMillis; field in EventLoader.LoadEventsRequest
113 public LoadEventsRequest(int id, long startMillis, int numDays, ArrayList<Event> events, in LoadEventsRequest() argument
116 this.startMillis = startMillis; in LoadEventsRequest()
124 Event.loadEvents(eventLoader.mContext, events, startMillis, in processRequest()
DMenuHelper.java161 long startMillis = nav.getSelectedTime(); in onOptionsItemSelected() local
162 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in onOptionsItemSelected()
165 intent.putExtra(EVENT_BEGIN_TIME, startMillis); in onOptionsItemSelected()
175 /* package */ static void switchTo(Activity activity, String className, long startMillis) { in switchTo() argument
178 intent.putExtra(EVENT_BEGIN_TIME, startMillis); in switchTo()
DMonthView.java372 final long startMillis = getSelectedTimeInMillis(); in onCreateContextMenu() local
376 final String title = DateUtils.formatDateTime(mParentActivity, startMillis, flags); in onCreateContextMenu()
399 long startMillis = getSelectedTimeInMillis(); in onMenuItemClick() local
400 MenuHelper.switchTo(mParentActivity, DayActivity.class.getName(), startMillis); in onMenuItemClick()
405 long startMillis = getSelectedTimeInMillis(); in onMenuItemClick() local
406 … MenuHelper.switchTo(mParentActivity, AgendaActivity.class.getName(), startMillis); in onMenuItemClick()
411 long startMillis = getSelectedTimeInMillis(); in onMenuItemClick() local
412 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in onMenuItemClick()
415 intent.putExtra(EVENT_BEGIN_TIME, startMillis); in onMenuItemClick()
441 final long startMillis; in reloadEvents() local
[all …]
DEditEvent.java234 long startMillis; in onTimeSet() local
243 startMillis = startTime.normalize(true); in onTimeSet()
251 startMillis = startTime.toMillis(true); in onTimeSet()
259 endMillis = startMillis; in onTimeSet()
264 setTime(mStartTimeButton, startMillis); in onTimeSet()
298 long startMillis; in onDateSet() local
309 startMillis = startTime.normalize(true); in onDateSet()
321 startMillis = startTime.toMillis(true); in onDateSet()
330 endMillis = startMillis; in onDateSet()
334 setDate(mStartDateButton, startMillis); in onDateSet()
[all …]
DCalendarView.java780 long startMillis = getSelectedTimeInMillis(); in switchViews() local
781 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in switchViews()
784 intent.putExtra(EVENT_BEGIN_TIME, startMillis); in switchViews()
794 intent.putExtra(EVENT_BEGIN_TIME, selectedEvent.startMillis); in switchViews()
809 intent.putExtra(EVENT_BEGIN_TIME, selectedEvent.startMillis); in switchViews()
825 long startMillis = getSelectedTimeInMillis(); in switchViews() local
826 long endMillis = startMillis + DateUtils.HOUR_IN_MILLIS; in switchViews()
829 intent.putExtra(EVENT_BEGIN_TIME, startMillis); in switchViews()
838 intent.putExtra(EVENT_BEGIN_TIME, selectedEvent.startMillis); in switchViews()
918 long begin = selectedEvent.startMillis; in onKeyDown()
[all …]
DAlertActivity.java188 long startMillis = cursor.getLong(AlertActivity.INDEX_BEGIN);
194 intent.putExtra(EVENT_BEGIN_TIME, startMillis);
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java190 long startMillis = dateTest.date1.toMillis(false /* use isDst */); in testAll() local
193 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()