Home
last modified time | relevance | path

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

/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DEventsCommand.java59 SimpleDateFormat formatter = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); in run()
61 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/style/
DTtsSpan.java830 NumberFormat formatter = NumberFormat.getInstance(Locale.US); in setArgumentsFromDouble() local
831 formatter.setMinimumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble()
832 formatter.setMaximumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble()
833 formatter.setGroupingUsed(false); in setArgumentsFromDouble()
834 String str = formatter.format(number); in setArgumentsFromDouble()
/frameworks/base/core/java/android/text/format/
DDateUtils.java648 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
650 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
816 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
827 formatter.out().append(range); in formatDateRange()
831 return formatter; in formatDateRange()
DTime.java1068 TimeFormatter formatter = new TimeFormatter(); in format() local
1069 return formatter.format(format, wallTime, zoneInfo); in format()
/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/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java82 DateFormat formatter = DateFormat.getDateTimeInstance();
83 output.println(formatter.format(new Date()));
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java223 DateFormat formatter = new SimpleDateFormat("MMM dd h:mmaa"); in loadXmlFromNetwork() local
232 formatter.format(rightNow.getTime()) + "</em>"); in loadXmlFromNetwork()
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyPairGeneratorTest.java540 SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy HH:mm:ss"); in assertDateEquals() local
542 String result1 = formatter.format(date1); in assertDateEquals()
543 String result2 = formatter.format(date2); in assertDateEquals()
/frameworks/base/core/java/android/widget/
DNumberPicker.java1184 public void setFormatter(Formatter formatter) { in setFormatter() argument
1185 if (formatter == mFormatter) { in setFormatter()
1188 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()) + "&lt;/em&gt;");
/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/docs/html/tools/sdk/
Declipse-adt.jd1312 <li>Fixed a bug in the formatter where a certain whitespace pattern could result in a
1532 <li>Added a new XML formatter that formats all XML files according to the
1533 standard Android coding style. The formatter can also reorder
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4165 SimpleDateFormat formatter = new SimpleDateFormat(); in logCriticalInfo() local
4166 String dateString = formatter.format(new Date(System.currentTimeMillis())); in logCriticalInfo()