Home
last modified time | relevance | path

Searched refs:formatDateRange (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java308 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
312 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
316 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
319 dayOfWeek = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek()
333 String date = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildFullDate()
340 String date = DateUtils.formatDateRange( in buildMonthYearDate()
352 String date = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildMonthDayDate()
359 String date = DateUtils.formatDateRange( in buildMonthDate()
399 String date = DateUtils.formatDateRange(mContext, mFormatter, weekStartTime, in buildWeekDate()
DUtils.java296 public static String formatDateRange( in formatDateRange() method in Utils
298 return mTZUtils.formatDateRange(context, startMillis, endMillis, flags); in formatDateRange()
515 return formatDateRange(context, millis, millis, flags); in formatMonthYear()
1274 mTZUtils.formatDateRange(context, millis, millis, flags).toString()); in getDayOfWeekString()
1277 mTZUtils.formatDateRange(context, millis, millis, flags).toString()); in getDayOfWeekString()
1280 mTZUtils.formatDateRange(context, millis, millis, flags).toString()); in getDayOfWeekString()
1282 dayViewText = mTZUtils.formatDateRange(context, millis, millis, flags).toString(); in getDayOfWeekString()
1345 datetimeString = DateUtils.formatDateRange(context, f, startMillis, in getDisplayedDatetime()
1351 String timeString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
1367 String dateString = Utils.formatDateRange(context, startMillis, endMillis, in getDisplayedDatetime()
[all …]
DCalendarUtils.java170 public String formatDateRange(Context context, long startMillis, in formatDateRange() method in CalendarUtils.TimeZoneUtils
181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, in formatDateRange()
DAllInOneActivity.java861 final String msg = Utils.formatDateRange(this, start, end, (int) event.extraLong); in setTitleInActionBar()
916 Utils.formatDateRange(this, millis, millis, flags))).append(" ").append( in updateSecondaryTitleFields()
DDayView.java1509 when = Utils.formatDateRange(mContext, calEvent.startMillis, calEvent.endMillis, flags); in appendEventAccessibilityString()
3542 final String title = Utils.formatDateRange(mContext, startMillis, startMillis, flags); in onCreateContextMenu()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartGridView.java19 import static com.android.car.developeroptions.Utils.formatDateRange;
99 mLabelStart = makeLabel(formatDateRange(context, start, start)); in setBounds()
100 mLabelMid = makeLabel(formatDateRange(context, mid, mid)); in setBounds()
101 mLabelEnd = makeLabel(formatDateRange(context, end, end)); in setBounds()
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java19 import static com.android.settings.Utils.formatDateRange;
99 mLabelStart = makeLabel(formatDateRange(context, start, start)); in setBounds()
100 mLabelMid = makeLabel(formatDateRange(context, mid, mid)); in setBounds()
101 mLabelEnd = makeLabel(formatDateRange(context, end, end)); in setBounds()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java365 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); in populateEventInfo()
374 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); in populateEventInfo()
414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); in populateDayInfo()
417 label = Utils.formatDateRange(mContext, millis, millis, flags); in populateDayInfo()
DCalendarAppWidgetProvider.java139 final String date = Utils.formatDateRange(context, millis, millis, in performUpdate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java404 caption = DateUtils.formatDateRange(context, minTimestamp, in generateCaption()
424 caption = DateUtils.formatDateRange(context, midTimestamp, in generateCaption()
433 caption = DateUtils.formatDateRange(context, minTimestamp, in generateCaption()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java76 Utils.formatDateRange(getContext(), mStart, mStart), in onBindViewHolder()
77 Utils.formatDateRange(getContext(), mEnd, mEnd), in onBindViewHolder()
DCycleAdapter.java196 this.label = Utils.formatDateRange(context, start, end); in CycleItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DChartDataUsagePreference.java76 Utils.formatDateRange(getContext(), mStart, mStart), in onBindViewHolder()
77 Utils.formatDateRange(getContext(), mEnd, mEnd), in onBindViewHolder()
DCycleAdapter.java196 this.label = Utils.formatDateRange(context, start, end); in CycleItem()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java114 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, in testGetAppWidgetModel_1Event()
141 eventInfo.when = Utils.formatDateRange(context, now + ONE_HOUR, now + TWO_HOURS, in testGetAppWidgetModel_AllDayEventLater()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java456 return DateUtils.formatDateRange( in getDurationString()
462 String dateRange = DateUtils.formatDateRange(context, startUtcMillis, endUtcMillis, flags); in getDurationString()
465 : DateUtils.formatDateRange(context, startUtcMillis, endUtcMillis + 1, flags); in getDurationString()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java938 text = DateUtils.formatDateRange(getContext(), mFormatter, event.startMillis, in drawEvent()
1069 String date = Utils.formatDateRange(context, millis, millis, in onHoverEvent()
1091 text.add(Utils.formatDateRange(context, e.startMillis, e.endMillis, in onHoverEvent()
DSimpleWeekView.java538 String date = Utils.formatDateRange(context, millis, millis, in onHoverEvent()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java260 return DateUtils.formatDateRange(context, time, time, in getShortRelativeTimeSpanString()
/packages/apps/Settings/src/com/android/settings/
DUtils.java717 public static String formatDateRange(Context context, long start, long end) { in formatDateRange() method in Utils
722 return DateUtils.formatDateRange(context, sFormatter, start, end, flags, null) in formatDateRange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java722 public static String formatDateRange(Context context, long start, long end) { in formatDateRange() method in Utils
727 return DateUtils.formatDateRange(context, sFormatter, start, end, flags, null) in formatDateRange()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java456 String date = DateUtils.formatDateRange(mContext, begin, begin, flags); in execute()
521 String date = DateUtils.formatDateRange(mContext, instance, instance, flags); in execute()