Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 10 of 10) sorted by relevance

/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DEventsCommand.java55 SimpleDateFormat formatter = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); in run()
57 formatter.format(new Date()), event.toString())); in run()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerDataHelper.java59 public TrackerDataHelper(Context context, IFormatter formatter) { in TrackerDataHelper() argument
61 mFormatter = formatter; in TrackerDataHelper()
/frameworks/base/core/java/android/text/format/
DDateUtils.java1011 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
1013 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
1182 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
1417 return formatter.format("%s", startDate.format(defaultDateFormat)); in formatDateRange()
1429 return formatter.format(fullFormat, in formatDateRange()
1468 return formatter.format(fullFormat, in formatDateRange()
1487 return formatter.format(fullFormat, in formatDateRange()
1536 return formatter.format("%s", dateString); in formatDateRange()
1545 return formatter.format("%s", startWeekDayString); in formatDateRange()
1548 return formatter.format("%s", timeString); in formatDateRange()
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java82 DateFormat formatter = DateFormat.getDateTimeInstance();
83 output.println(formatter.format(new Date()));
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java182 private final Formatter formatter = new Formatter(builder, null); field in LoggingPrintStream
191 formatter.format(l, format, args); in format()
/frameworks/base/core/java/android/widget/
DNumberPicker.java1080 public void setFormatter(Formatter formatter) { in setFormatter() argument
1081 if (formatter == mFormatter) { in setFormatter()
1084 mFormatter = formatter; in setFormatter()
/frameworks/base/docs/html/training/basics/network-ops/
Dxml.jd503 DateFormat formatter = new SimpleDateFormat("MMM dd h:mmaa");
512 formatter.format(rightNow.getTime()) + "</em>");
/frameworks/base/docs/html/tools/sdk/
Declipse-adt.jd336 <li>Fixed a bug in the formatter where a certain whitespace pattern could result in a
547 <li>Added a new XML formatter that formats all XML files according to the
548 standard Android coding style. The formatter can also reorder
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd912 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
913 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java3041 SimpleDateFormat formatter = new SimpleDateFormat(); in reportSettingsProblem() local
3042 String dateString = formatter.format(new Date(System.currentTimeMillis())); in reportSettingsProblem()