Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DEvent.java134 public long endMillis; // UTC milliseconds since the epoch field in Event
170 e.endMillis = endMillis; in clone()
191 dest.endMillis = endMillis; in copyTo()
212 e.endMillis = 0; in newInstance()
401 e.endMillis = eEnd; in generateEventFromCursor()
630 public void setEndMillis(long endMillis) { in setEndMillis() argument
631 this.endMillis = endMillis; in setEndMillis()
635 return endMillis; in getEndMillis()
640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
DCalendarController.java293 long endMillis, int x, int y, long selectedMillis) { in sendEventRelatedEvent() argument
298 sendEventRelatedEventWithExtra(sender, eventType, eventId, startMillis, endMillis, x, y, in sendEventRelatedEvent()
318 long startMillis, long endMillis, int x, int y, long extraLong, long selectedMillis) { in sendEventRelatedEventWithExtra() argument
320 startMillis, endMillis, x, y, extraLong, selectedMillis, null, -1); in sendEventRelatedEventWithExtra()
340 long eventId, long startMillis, long endMillis, int x, int y, long extraLong, in sendEventRelatedEventWithExtraWithTitleWithCalendarId() argument
358 info.endTime.set(endMillis); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
657 public void launchViewEvent(long eventId, long startMillis, long endMillis, int response) { in launchViewEvent() argument
663 intent.putExtra(EXTRA_EVENT_END_TIME, endMillis); in launchViewEvent()
DUtils.java297 Context context, long startMillis, long endMillis, int flags) { in formatDateRange() argument
298 return mTZUtils.formatDateRange(context, startMillis, endMillis, flags); in formatDateRange()
1314 public static String getDisplayedDatetime(long startMillis, long endMillis, long currentMillis, in getDisplayedDatetime() argument
1330 long localEndMillis = convertAlldayUtcToLocal(null, endMillis, localTimezone); in getDisplayedDatetime()
1346 endMillis, flagsDate, Time.TIMEZONE_UTC).toString(); in getDisplayedDatetime()
1349 if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { in getDisplayedDatetime()
1351 String timeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1367 String dateString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1377 datetimeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1408 private static boolean singleDayEvent(long startMillis, long endMillis, long localGmtOffset) { in singleDayEvent() argument
[all …]
DEventInfoFragment.java348 public EventInfoFragment(Context context, Uri uri, long startMillis, long endMillis, in EventInfoFragment() argument
369 mEndMillis = endMillis; in EventInfoFragment()
378 public EventInfoFragment(Context context, long eventId, long startMillis, long endMillis, in EventInfoFragment() argument
381 endMillis, attendeeResponse, isDialog, windowStyle); in EventInfoFragment()
658 long endMillis = mStartMillis + d.getMillis(); in updateEvent() local
659 if (endMillis >= mStartMillis) { in updateEvent()
660 mEndMillis = endMillis; in updateEvent()
DCalendarUtils.java171 long endMillis, int flags) { in formatDateRange() argument
181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, in formatDateRange()
DDayView.java223 mClickedEvent.startMillis, mClickedEvent.endMillis,
1509 when = Utils.formatDateRange(mContext, calEvent.startMillis, calEvent.endMillis, flags); in appendEventAccessibilityString()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java120 long startMillis, long endMillis, boolean doPopup) { in NotificationWrapper() argument
124 mEnd = endMillis; in NotificationWrapper()
166 long endMillis; field in AlertService.NotificationInfo
172 long endMillis, long eventId, boolean allDay, boolean newAlert) { in NotificationInfo() argument
177 this.endMillis = endMillis; in NotificationInfo()
DAlertReceiver.java87 String summaryText, long startMillis, long endMillis, long eventId, in makeBasicNotification() argument
90 context, title, summaryText, startMillis, endMillis, eventId, notificationId, in makeBasicNotification()
92 return new NotificationWrapper(n, notificationId, eventId, startMillis, endMillis, doPopup); in makeBasicNotification()
96 Context context, String title, String summaryText, long startMillis, long endMillis, in buildBasicNotification() argument
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java46 static int convertMillisToPixel(long startMillis, long endMillis) { in convertMillisToPixel() argument
48 return GuideUtils.convertMillisToPixel(endMillis) in convertMillisToPixel()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java186 long endMillis = dateTest.date2.toMillis(false /* use isDst */); in testAll() local
188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
DUtilsTests.java222 e.endMillis = e.endDay * 1000L * 3600L * 24L + e.endTime * 60L * 1000L; in buildTestEvent()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java281 long endMillis = SystemClock.uptimeMillis(); in close() local
282 LogUtil.i("HttpFetcher.close", "fetch took " + (endMillis - startMillis) + " ms"); in close()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java939 event.endMillis, DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_ABBREV_ALL, in drawEvent()
1091 text.add(Utils.formatDateRange(context, e.startMillis, e.endMillis, in onHoverEvent()