Searched refs:formatter (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java57 * @param formatter - formats the output from the get*Output* methods
59 public TrackerDataHelper(Context context, IFormatter formatter) { argument
61 mFormatter = formatter;
144 * Returns the output header particular to the associated formatter
151 * Returns the output footer particular to the associated formatter
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java182 private final Formatter formatter = new Formatter(builder, null); field in class:LoggingPrintStream
191 formatter.format(l, format, args);
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java82 DateFormat formatter = DateFormat.getDateTimeInstance();
83 output.println(formatter.format(new Date()));
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java978 * @param formatter the Formatter used for formatting the date range.
987 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, argument
989 return formatDateRange(context, formatter, startMillis, endMillis, flags, null);
1136 * @param formatter the Formatter used for formatting the date range.
1145 * @return the formatter with the formatted date/time range appended to the string buffer.
1147 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, argument
1396 return formatter.format("%s", startDate.format(defaultDateFormat));
1408 return formatter.format(fullFormat,
1447 return formatter.format(fullFormat,
1466 return formatter
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java62 * minutes strings like "01". Keeping a static formatter etc. is the
237 * Set the formatter that will be used to format the number for presentation
238 * @param formatter the formatter object. If formatter is null, String.valueOf()
241 public void setFormatter(Formatter formatter) { argument
242 mFormatter = formatter;
347 * the current value will be returned. Otherwise, the formatter specified
/frameworks/base/services/java/com/android/server/
H A DPackageManagerService.java2588 SimpleDateFormat formatter = new SimpleDateFormat();
2589 String dateString = formatter.format(new Date(System.currentTimeMillis()));

Completed in 337 milliseconds