Home
last modified time | relevance | path

Searched refs:formatDateTime (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/
DFormattedDateBuilder.java54 return formatDateTime(when, DateUtils.FORMAT_SHOW_TIME); in formatShortDateTime()
56 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_MONTH); in formatShortDateTime()
58 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE); in formatShortDateTime()
76 return formatDateTime(when, DateUtils.FORMAT_SHOW_TIME); in formatLongDateTime()
82 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE); in formatLongDateTime()
111 formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_WEEKDAY | in formatDateTimeForPrinting()
113 formatDateTime(when, DateUtils.FORMAT_SHOW_TIME)); in formatDateTimeForPrinting()
123 private CharSequence formatDateTime(long when, int flags) { in formatDateTime() method in FormattedDateBuilder
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java162 return DateUtils.formatDateTime(getContext(), time, in getTodayTimeStamp()
181 return DateUtils.formatDateTime(context, time, in getThisWeekTimestamp()
187 return DateUtils.formatDateTime(context, time, in getThisWeekTimestamp()
199 return DateUtils.formatDateTime(context, time, in getThisYearTimestamp()
206 return DateUtils.formatDateTime(context, time, in getThisYearTimestamp()
222 return DateUtils.formatDateTime(context, time, in getOlderThanAYearTimestamp()
230 return DateUtils.formatDateTime(context, time, in getOlderThanAYearTimestamp()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java75 return DateUtils.formatDateTime(context, timestampMillis, DateUtils.FORMAT_SHOW_TIME); in newCallLogTimestampLabel()
105 DateUtils.formatDateTime( in formatDate()
132 return toTitleCase(DateUtils.formatDateTime(context, timestamp, formatFlags)); in formatDate()
149 return toTitleCase(DateUtils.formatDateTime(context, timestamp, formatFlags)); in formatDayOfWeek()
/packages/apps/Calendar/tests/src/com/android/calendar/
DWeekNumberTest.java213 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll()
225 String output = DateUtils.formatDateTime(mContext, millis, flags); in testAll()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java414 String dateRangeWithOptionalYear = DateUtils.formatDateTime( in generateCaption()
416 String dateRangeWithYear = DateUtils.formatDateTime( in generateCaption()
/packages/apps/Settings/src/com/android/settings/enterprise/
DAdminActionPreferenceControllerBase.java47 DateUtils.formatDateTime(mContext, timestamp.getTime(), in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DAdminActionPreferenceControllerBase.java47 DateUtils.formatDateTime(mContext, timestamp.getTime(), in updateState()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreference.java41 DateUtils.formatDateTime( in DownloadsFilePreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerDescriptionPreferenceController.java69 DateUtils.formatDateTime( in displayPreference()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerDescriptionPreferenceController.java69 DateUtils.formatDateTime( in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminActionPreferenceControllerTestBase.java74 assertThat(preference.getSummary()).isEqualTo(DateUtils.formatDateTime( in testUpdateState()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptMessageViewHolder.java88 return DateUtils.formatDateTime( in getTimestampText()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java56 DateUtils.formatDateTime(mContext, TEST_FILE_TIME, DateUtils.FORMAT_SHOW_DATE); in setUp()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrAlreadyScheduledFragment.java77 DateUtils.formatDateTime( in onCreateGuidance()
DDvrScheduleFragment.java101 DateUtils.formatDateTime( in onCreateActions()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java540 DateUtils.formatDateTime(context, details.date, DateUtils.FORMAT_SHOW_TIME)); in getGranularDateTime()
550 return DateUtils.formatDateTime( in getGranularDate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppDataUsagePreferenceController.java131 DateUtils.formatDateTime(mContext, startTime, in getDataSummary()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppDataUsagePreferenceController.java131 DateUtils.formatDateTime(mContext, startTime, in getDataSummary()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java163 eventInfo.when = DateUtils.formatDateTime(context, end, in testGetAppWidgetModel_AllDayEventLater()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java168 return DateUtils.formatDateTime(context, when, flags); in formatTime()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java322 final String timeString = DateUtils.formatDateTime(getActivity(), successEndTime, in onSyncStateUpdated()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowAdapter.java132 DateUtils.formatDateTime( in calculateHeaderDate()
DDvrHistoryRowAdapter.java120 DateUtils.formatDateTime( in calculateHeaderDate()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java367 DateUtils.formatDateTime( in updateViewContent()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSyncSettings.java550 return DateUtils.formatDateTime(context, date.getTime(), in formatSyncDate()

12