Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java292 public void sendEventRelatedEvent(Object sender, long eventType, long eventId, long startMillis, 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
350 info.startTime.set(startMillis); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
447 long startMillis = 0; in sendEvent() local
449 startMillis = event.startTime.toMillis(false); in sendEvent()
456 if (startMillis != 0) { in sendEvent()
460 if (mtimeMillis < startMillis in sendEvent()
[all …]
DEvent.java133 public long startMillis; // UTC milliseconds since the epoch field in Event
169 e.startMillis = startMillis; in clone()
190 dest.startMillis = startMillis; in copyTo()
211 e.startMillis = 0; in newInstance()
397 e.startMillis = eStart; in generateEventFromCursor()
622 public void setStartMillis(long startMillis) { in setStartMillis() argument
623 this.startMillis = startMillis; in setStartMillis()
627 return startMillis; in getStartMillis()
640 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS; in drawAsAllday()
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
1329 long localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone); in getDisplayedDatetime()
1345 datetimeString = DateUtils.formatDateRange(context, f, startMillis, in getDisplayedDatetime()
1349 if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { in getDisplayedDatetime()
1351 String timeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1355 int todayOrTomorrow = isTodayOrTomorrow(context.getResources(), startMillis, in getDisplayedDatetime()
1367 String dateString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1377 datetimeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
[all …]
DCalendarUtils.java170 public String formatDateRange(Context context, long startMillis, in formatDateRange() argument
181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, in formatDateRange()
DEventInfoFragment.java348 public EventInfoFragment(Context context, Uri uri, long startMillis, long endMillis, in EventInfoFragment() argument
368 mStartMillis = startMillis; in EventInfoFragment()
378 public EventInfoFragment(Context context, long eventId, long startMillis, long endMillis, in EventInfoFragment() argument
380 this(context, ContentUris.withAppendedId(Events.CONTENT_URI, eventId), startMillis, in EventInfoFragment()
DDayView.java223 mClickedEvent.startMillis, mClickedEvent.endMillis,
1509 when = Utils.formatDateRange(mContext, calEvent.startMillis, calEvent.endMillis, flags); in appendEventAccessibilityString()
3538 final long startMillis = getSelectedTimeInMillis(); in onCreateContextMenu() local
3542 final String title = Utils.formatDateRange(mContext, startMillis, startMillis, flags); in onCreateContextMenu()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java120 long startMillis, long endMillis, boolean doPopup) { in NotificationWrapper() argument
123 mBegin = startMillis; in NotificationWrapper()
165 long startMillis; field in AlertService.NotificationInfo
171 NotificationInfo(String eventName, String location, String description, long startMillis, in NotificationInfo() argument
176 this.startMillis = startMillis; 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/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java118 final long startMillis = mSystemFacade.currentTimeMillis(); in runUntilStatus() local
120 waitForStatus(status, startMillis); in runUntilStatus()
124 final long startMillis = mSystemFacade.currentTimeMillis(); in runUntilStatus() local
126 waitForStatus(status, startMillis, timeout); in runUntilStatus()
DThreadingTest.java66 final long startMillis = mSystemFacade.currentTimeMillis(); in testFilenameRace() local
68 d.first.waitForStatus(DownloadManager.STATUS_SUCCESSFUL, startMillis); in testFilenameRace()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java46 static int convertMillisToPixel(long startMillis, long endMillis) { in convertMillisToPixel() argument
49 - GuideUtils.convertMillisToPixel(startMillis); in convertMillisToPixel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DAutoSelectPreferenceController.java111 final long startMillis = SystemClock.elapsedRealtime(); in setChecked() local
120 final long durationMillis = SystemClock.elapsedRealtime() - startMillis; in setChecked()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceController.java110 final long startMillis = SystemClock.elapsedRealtime(); in setChecked() local
119 final long durationMillis = SystemClock.elapsedRealtime() - startMillis; in setChecked()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java185 long startMillis = dateTest.date1.toMillis(false /* use isDst */); in testAll() local
188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
DUtilsTests.java221 e.startMillis = e.startDay * 1000L * 3600L * 24L + e.startTime * 60L * 1000L; in buildTestEvent()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java269 final long startMillis = SystemClock.uptimeMillis(); field in HttpFetcher.HttpInputStreamWrapper
282 LogUtil.i("HttpFetcher.close", "fetch took " + (endMillis - startMillis) + " ms"); in close()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java938 text = DateUtils.formatDateRange(getContext(), mFormatter, event.startMillis, in drawEvent()
1091 text.add(Utils.formatDateRange(context, e.startMillis, e.endMillis, in onHoverEvent()