Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java81 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempPhotoFileName() local
82 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; in generateTempPhotoFileName()
87 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); in generateTempCroppedPhotoFileName() local
88 return "ContactPhoto-" + dateFormat.format(date) + "-cropped.jpg"; in generateTempCroppedPhotoFileName()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java218 final CharSequence dateFormat = getDateFormat(context); in relayoutWidget() local
219 rv.setCharSequence(R.id.date, "setFormat12Hour", dateFormat); in relayoutWidget()
220 rv.setCharSequence(R.id.date, "setFormat24Hour", dateFormat); in relayoutWidget()
298 final CharSequence dateFormat = getDateFormat(context); in optimizeSizes() local
300 date.setFormat12Hour(dateFormat); in optimizeSizes()
301 date.setFormat24Hour(dateFormat); in optimizeSizes()
DDigitalAppWidgetProvider.kt333 val dateFormat: CharSequence = getDateFormat(context) in <lambda>() constant
334 rv.setCharSequence(R.id.date, "setFormat12Hour", dateFormat) in <lambda>()
335 rv.setCharSequence(R.id.date, "setFormat24Hour", dateFormat) in <lambda>()
411 val dateFormat: CharSequence = getDateFormat(context) in <lambda>() constant
413 date.setFormat12Hour(dateFormat) in <lambda>()
414 date.setFormat24Hour(dateFormat) in <lambda>()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/ime/
DWatchdog.java50 SimpleDateFormat dateFormat = new SimpleDateFormat("[yyyy-MM-dd hh:mm:ss]"); in logEvent() local
51 mEvents.add(0, dateFormat.format(date) + " " + s); in logEvent()
/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/Contacts/src/com/android/contacts/vcard/
DShareVCardActivity.java88 final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US); in getLocalFile() local
89 final String currentDateString = dateFormat.format(new Date()).toString(); in getLocalFile()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java349 private SelectedCitiesAdapter(Context context, String dateFormat, in SelectedCitiesAdapter() argument
352 mDateFormat = dateFormat; in SelectedCitiesAdapter()
535 private void bind(Context context, String dateFormat, in bind() argument
539 Utils.updateDate(dateFormat, dateFormatForAccessibility, itemView); in bind()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DWatchdog.java55 SimpleDateFormat dateFormat = new SimpleDateFormat("[yyyy-MM-dd hh:mm:ss]"); in logEvent() local
56 mEvents.addFirst(dateFormat.format(date) + " " + s); in logEvent()
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DUtils.java102 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd", Locale.getDefault()); in getSeed() local
103 String today = dateFormat.format(new Date()); in getSeed()
/packages/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java40 final SimpleDateFormat dateFormat = new SimpleDateFormat(fileNameFormat); in getNewFile() local
41 final String numberedFileNameFormat = dateFormat.format(date) + "_%02d" + "." + extension; in getNewFile()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java158 final DateFormat dateFormat = in updateTitle() local
160 setTitle(dateFormat.format(calendar.getTime())); in updateTitle()
/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.java5895 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US); in queryLocal() local
5896 String currentDateString = dateFormat.format(new Date()).toString(); in queryLocal()