Home
last modified time | relevance | path

Searched refs:dateFormat (Results 1 – 14 of 14) 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/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.java323 SimpleDateFormat dateFormat = new SimpleDateFormat( in createName() local
326 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/ContactsCommon/src/com/android/contacts/common/vcard/
DShareVCardActivity.java87 final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US); in getLocalFile() local
88 final String currentDateString = dateFormat.format(new Date()).toString(); in getLocalFile()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DUtils.java131 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd", Locale.getDefault()); in getSeed() local
132 String today = dateFormat.format(new Date()); in getSeed()
/packages/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java41 final SimpleDateFormat dateFormat = new SimpleDateFormat(fileNameFormat); in getNewFile() local
42 final String numberedFileNameFormat = dateFormat.format(date) + "_%02d" + "." + extension; in getNewFile()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java198 final DateFormat dateFormat = in updateTitle() local
200 setTitle(dateFormat.format(calendar.getTime())); in updateTitle()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java33 static final DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); field in AppScanStats
235 sb.append(" " + dateFormat.format(timestamp) + " - "); in dumpToString()
/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/Gallery/src/com/android/camera/
DMenuHelper.java433 SimpleDateFormat dateFormat = new SimpleDateFormat(); in onDetailsClicked()
434 value = dateFormat.format(date); in onDetailsClicked()
/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.java5888 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US); in queryLocal() local
5889 String currentDateString = dateFormat.format(new Date()).toString(); in queryLocal()