Home
last modified time | relevance | path

Searched refs:formatDateTime (Results 1 – 25 of 27) 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/Calendar/tests/src/com/android/calendar/alerts/
DMockAlarmManager.java46 Assert.assertEquals("Alarm time not expected. Expected:" + DateUtils.formatDateTime( in set()
48 + DateUtils.formatDateTime(context, actualAlarmTime, in set()
/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/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java285 DateUtils.formatDateTime(mContext, details.date, DateUtils.FORMAT_SHOW_TIME)); in getGranularDateTime()
295 return DateUtils.formatDateTime( in getGranularDate()
/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.java46 DateUtils.formatDateTime(mContext, timestamp.getTime(), in updateState()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreference.java41 DateUtils.formatDateTime( in DownloadsFilePreference()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerDescriptionPreferenceController.java67 DateUtils.formatDateTime( in displayPreference()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactInteractionUtil.java71 return DateUtils.formatDateTime(context, timestamp, DateUtils.FORMAT_SHOW_TIME in formatDateStringFromTimestamp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminActionPreferenceControllerTestBase.java73 assertThat(preference.getSummary()).isEqualTo(DateUtils.formatDateTime( in testUpdateState()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java59 DateUtils.formatDateTime(mContext, TEST_FILE_TIME, DateUtils.FORMAT_SHOW_DATE); in setUp()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrAlreadyScheduledFragment.java71 DateUtils.formatDateTime(getContext(), mDuplicate.getStartTimeMs(), in onCreateGuidance()
DDvrScheduleFragment.java100 DateUtils.formatDateTime(context, mProgram.getEndTimeUtcMillis(), in onCreateActions()
/packages/apps/Calendar/src/com/android/calendar/
DEventRecurrenceFormatter.java44 final String dateStr = DateUtils.formatDateTime(context, in getRepeatString()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java162 eventInfo.when = DateUtils.formatDateTime(context, end, in testGetAppWidgetModel_AllDayEventLater()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java156 return DateUtils.formatDateTime(context, when, flags); in formatTime()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java315 final String timeString = DateUtils.formatDateTime(getActivity(), successEndTime, in onSyncStateUpdated()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowAdapter.java122 headerDate = DateUtils.formatDateTime(getContext(), deadLine, in calculateHeaderDate()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java367 DateUtils.formatDateTime( in updateViewContent()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java1608 dateString = DateUtils.formatDateTime(mActivity, millis, flags); in setDate()
1632 timeString = DateUtils.formatDateTime(mActivity, millis, flags); in setTime()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java712 R.string.dvr_recording_till_format, DateUtils.formatDateTime(mMainActivity,
DTunableTvView.java1107 DateUtils.formatDateTime(getContext(), timeMs, DateUtils.FORMAT_SHOW_TIME)); in getTuneConflictMessage()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java980 final String dateStr = DateUtils.formatDateTime(getActivity(), in updateDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java396 DateUtils.formatDateTime( in updateViewContent()

12