Home
last modified time | relevance | path

Searched refs:dateFormat (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java82 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempPhotoFileName() local
83 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; in generateTempPhotoFileName()
88 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempCroppedPhotoFileName() local
89 return "ContactPhoto-" + dateFormat.format(date) + "-cropped.jpg"; in generateTempCroppedPhotoFileName()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java175 CharSequence dateFormat = DateFormat.getBestDateTimePattern(Locale.getDefault(), in updateClock() local
177 widget.setCharSequence(R.id.date, "setFormat12Hour", dateFormat); in updateClock()
178 widget.setCharSequence(R.id.date, "setFormat24Hour", dateFormat); in updateClock()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DQuotedTextView.java245 DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT); in setQuotedText() local
253 dateFormat.format(date), in setQuotedText()
266 true /* remove empty quotes */), dateFormat.format(date), Utils in setQuotedText()
/packages/apps/Camera2/src/com/android/camera/
DPanoUtil.java25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); in createName() local
26 return dateFormat.format(date); in createName()
DVideoModule.java322 SimpleDateFormat dateFormat = new SimpleDateFormat( in createName() local
325 return dateFormat.format(date); in createName()
/packages/apps/Camera/src/com/android/camera/
DPanoUtil.java25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); in createName() local
26 return dateFormat.format(date); in createName()
DVideoModule.java343 SimpleDateFormat dateFormat = new SimpleDateFormat( in createName() local
346 return dateFormat.format(date); in createName()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoUtil.java25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); in createName() local
26 return dateFormat.format(date); in createName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DContactPhotoUtils.java73 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempPhotoFileName() local
74 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; in generateTempPhotoFileName()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java197 final DateFormat dateFormat = in updateTitle() local
199 setTitle(dateFormat.format(calendar.getTime())); in updateTitle()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DAttachmentUtils.java188 final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd-kk:mm:ss"); in cacheAttachmentUri() local
189 file = File.createTempFile(dateFormat.format(new Date()), ".attachment", cacheDir); in cacheAttachmentUri()
/packages/apps/Browser/src/com/android/browser/
DBrowserSnapshotPage.java289 DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT); in bindView() local
290 date.setText(dateFormat.format(new Date(timestamp))); in bindView()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java496 String dateFormat, String dateFormatForAccessibility, View clock) { in updateDate() argument
503 String fmt = DateFormat.getBestDateTimePattern(l, dateFormat); in updateDate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDateTimeActivity.java200 java.text.DateFormat dateFormat = DateFormat.getDateFormat(this); in updateTimeAndDateStrings() local
201 mNowDate = dateFormat.format(now.getTime()); in updateTimeAndDateStrings()
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java433 SimpleDateFormat dateFormat = new SimpleDateFormat(); in onDetailsClicked()
434 value = dateFormat.format(date); in onDetailsClicked()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DImportVCardActivity.java798 DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in getVCardFileSelectDialog() local
809 "(" + dateFormat.format(new Date(vcardFile.getLastModified())) + ")"); in getVCardFileSelectDialog()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java346 SimpleDateFormat dateFormat = new SimpleDateFormat( in createName() local
349 return dateFormat.format(date); in createName()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5331 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US); in queryLocal() local
5332 String currentDateString = dateFormat.format(new Date()).toString(); in queryLocal()