Home
last modified time | relevance | path

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

/frameworks/base/cmds/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/core/java/android/text/format/
DDateUtils.java524 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
526 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange()
692 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument
703 formatter.out().append(range); in formatDateRange()
707 return formatter; in formatDateRange()
DTime.java1099 TimeFormatter formatter = new TimeFormatter(); in format() local
1100 return formatter.format(format, wallTime, zoneInfo); in format()
/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.java840 NumberFormat formatter = NumberFormat.getInstance(Locale.US); in setArgumentsFromDouble() local
841 formatter.setMinimumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble()
842 formatter.setMaximumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble()
843 formatter.setGroupingUsed(false); in setArgumentsFromDouble()
844 String str = formatter.format(number); in setArgumentsFromDouble()
/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/keystore/
DAndroidKeyPairGeneratorTest.java425 SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy HH:mm:ss"); in assertDateEquals() local
427 String result1 = formatter.format(date1); in assertDateEquals()
428 String result2 = formatter.format(date2); in assertDateEquals()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java187 final SimpleDateFormat formatter = new SimpleDateFormat(format, mLocale); in updateMonthYearLabel() local
188 formatter.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE); in updateMonthYearLabel()
189 mMonthYearLabel = formatter.format(mCalendar.getTime()); in updateMonthYearLabel()
DNumberPicker.java1199 public void setFormatter(Formatter formatter) { in setFormatter() argument
1200 if (formatter == mFormatter) { in setFormatter()
1203 mFormatter = formatter; in setFormatter()
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jar ... java.io.BufferedReader is java.util.Formatter stdout String line ProcessBuilder pb Process p java.io ...
/frameworks/base/docs/html-intl/intl/in/preview/features/
Dmultilingual-support.jd213 pastikan menggunakan formatter sebagai ganti menjadikan string angka dan tanggal sebagai hard-code.…
219 "Pilih PIN 4 digit", gunakan formatter seperti yang ditampilkan di bawah ini:</p>
/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-intl/intl/ja/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/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-intl/intl/pt-br/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/docs/html-intl/intl/vi/guide/topics/providers/
Dcalendar-provider.jd906 DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
907 Log.i(DEBUG_TAG, "Date: " + formatter.format(calendar.getTime()));
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java6746 SimpleDateFormat formatter = new SimpleDateFormat();
6747 String dateString = formatter.format(new Date(System.currentTimeMillis()));