/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 406 final MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), width); in formatDuration() local 409 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration() 412 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration() 415 return formatter.format(new Measure(seconds, MeasureUnit.SECOND)); in formatDuration() 572 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 574 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange() 740 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 751 formatter.out().append(range); in formatDateRange() 755 return formatter; in formatDateRange()
|
D | Time.java | 1109 TimeFormatter formatter = new TimeFormatter(); in format() local 1110 return formatter.format(format, wallTime, zoneInfo); in format()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | TestUtils.java | 32 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"); in timestamp() local 33 return toEpochMilli(LocalDateTime.parse(str, formatter)); in timestamp()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | EventsCommand.java | 59 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/ |
D | TrackerDataHelper.java | 59 public TrackerDataHelper(Context context, IFormatter formatter) { in TrackerDataHelper() argument 61 mFormatter = formatter; in TrackerDataHelper()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 840 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/android/app/admin/ |
D | FreezePeriod.java | 178 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd"); in toString() local 179 return LocalDate.ofYearDay(DUMMY_YEAR, mStartDay).format(formatter) + " - " in toString() 180 + LocalDate.ofYearDay(DUMMY_YEAR, mEndDay).format(formatter); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 50 public static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("hh:mm a"); field in UiModeNightTile 119 use24HourFormat ? time.toString() : formatter.format(time)); in handleUpdateState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 146 final RelativeDateTimeFormatter formatter = RelativeDateTimeFormatter.getInstance( in formatRelativeTime() local 152 return formatter.format(value, RelativeDateTimeFormatter.Direction.LAST, unit); in formatRelativeTime()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MainActivity.java | 224 DecimalFormat formatter = new DecimalFormat("#,###"); in onPostExecute() local 232 buffer.append(tag + ":" + formatter.format(t1) + ":" + in onPostExecute() 233 formatter.format(t2) + ":" + in onPostExecute()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MissedIncomingCallSmsFilter.java | 138 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMddHHmm"); in getEpochTime() local 139 time = LocalDateTime.parse(year + month + day + hour + minute, formatter); in getEpochTime()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 185 private final Formatter formatter = new Formatter(builder, null); field in LoggingPrintStream 194 formatter.format(l, format, args); in format()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 82 DateFormat formatter = DateFormat.getDateTimeInstance(); 83 output.println(formatter.format(new Date()));
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 406 Formatter formatter = new Formatter(); in toHexString() local 408 formatter.format("%02X", b); in toHexString() 411 return formatter.toString(); in toHexString()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 223 DateFormat formatter = new SimpleDateFormat("MMM dd h:mmaa"); in loadXmlFromNetwork() local 232 formatter.format(rightNow.getTime()) + "</em>"); in loadXmlFromNetwork()
|
/frameworks/rs/tests/lldb/tests/ |
D | run_test.py | 275 for name, formatter in ( 289 parser.add_argument(name, type=formatter)
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 229 BidiFormatter formatter = BidiFormatter.getInstance(false /* rtlContext */); in testBidiMultilineLink() local 231 ssb.append("hello ").append(formatter.unicodeWrap(iwLoremIpsum)).append(" world"); in testBidiMultilineLink()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 189 final SimpleDateFormat formatter = new SimpleDateFormat(format, mLocale); in updateMonthYearLabel() local 190 formatter.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE); in updateMonthYearLabel() 191 mMonthYearLabel = formatter.format(mCalendar.getTime()); in updateMonthYearLabel()
|
D | NumberPicker.java | 1249 public void setFormatter(Formatter formatter) { in setFormatter() argument 1250 if (formatter == mFormatter) { in setFormatter() 1253 mFormatter = formatter; in setFormatter()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/ |
D | gradle-wrapper.jar | ... java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io ... |
/frameworks/base/tests/UiBench/gradle/wrapper/ |
D | gradle-wrapper.jar | ... java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io ... |
/frameworks/base/tests/TouchLatency/gradle/wrapper/ |
D | gradle-wrapper.jar | ... java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io ... |
/frameworks/multidex/gradle/wrapper/ |
D | gradle-wrapper.jar | ... java.io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io ... |
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 385 SimpleDateFormat formatter = new SimpleDateFormat(); 386 String dateString = formatter.format(new Date(System.currentTimeMillis()));
|
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |