Searched refs:formatter (Results 1 – 24 of 24) sorted by relevance
62 RelativeDateTimeFormatter formatter = in getDateText() local76 formatter.format( in getDateText()81 formatter.format( in getDateText()86 formatter.format( in getDateText()105 Formatter formatter = new Formatter(new StringBuilder(50), mLocale); in getTimeRangeText() local108 formatter, in getTimeRangeText()
43 Formatter formatter = new Formatter(Locale.US, now); in compareTimeZoneInfo_matchGmtOrder() local44 TimeZoneInfo timeZone1 = formatter.format("Pacific/Honolulu"); in compareTimeZoneInfo_matchGmtOrder()45 TimeZoneInfo timeZone2 = formatter.format("America/Los_Angeles"); in compareTimeZoneInfo_matchGmtOrder()46 TimeZoneInfo timeZone3 = formatter.format("America/Indiana/Marengo"); in compareTimeZoneInfo_matchGmtOrder()47 TimeZoneInfo timeZone4 = formatter.format("America/New_York"); in compareTimeZoneInfo_matchGmtOrder()
37 Formatter formatter = new Formatter(Locale.US, now); in testFormat() local39 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in testFormat()51 Formatter formatter = new Formatter(Locale.US, date); in getGmtOffset_zoneLordHowe_correctGmtOffset() local53 TimeZoneInfo timeZoneInfo = formatter.format("Australia/Lord_Howe"); in getGmtOffset_zoneLordHowe_correctGmtOffset()
48 final Formatter formatter = new Formatter(Locale.US, now); in setUp() local49 mTimeZoneInfo = formatter.format("America/Los_Angeles"); in setUp()
202 final ArrayInitializerFormatter formatter = in dumpTextsInternal() local213 formatter.outCommentLines(addPrefix(" // ", res. mComment)); in dumpTextsInternal()217 formatter.outElement(EMPTY_STRING_VAR + ","); in dumpTextsInternal()219 formatter.outElement(String.format("\"%s\",", escaped)); in dumpTextsInternal()222 outputArraySize = formatter.getCurrentIndex(); in dumpTextsInternal()224 formatter.outElement("null,"); in dumpTextsInternal()229 formatter.flush(); in dumpTextsInternal()
45 MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), FormatWidth.WIDE); in formatDuration() local49 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration()53 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration()57 return formatter.format(new Measure(seconds, MeasureUnit.SECOND)); in formatDuration()
61 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in loadFixedOffsets() local64 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone("Etc/UTC"))); in loadFixedOffsets()71 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone(id))); in loadFixedOffsets()
117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() local129 timeZoneInfos.add(formatter.format(timeZone)); in getRegionTimeZoneInfo()
168 SimpleDateFormat formatter; in getExplicitFormattedTime() local170 formatter = new SimpleDateFormat(format24); in getExplicitFormattedTime()172 formatter = new SimpleDateFormat(format12); in getExplicitFormattedTime()174 return formatter.format(new Date(time)); in getExplicitFormattedTime()
214 final Formatter formatter = new Formatter() { in initDiskLog() local220 handler.setFormatter(formatter); in initDiskLog()
115 Formatter formatter = new Formatter(); in byteArrayToHexString() local117 formatter.format("%02X", b); in byteArrayToHexString()119 return formatter.toString(); in byteArrayToHexString()
114 final BidiFormatter formatter = BidiFormatter.getInstance(); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local131 …verify(mPreference).setSummary(formatter.unicodeWrap(label1) + " and " + formatter.unicodeWrap(lab… in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
312 final NumberFormat formatter = NumberFormat.getNumberInstance(); in formatText() local313 formatter.setMaximumFractionDigits(2); in formatText()314 return formatter.format((double) (v / unitInBytes)); in formatText()332 final NumberFormat formatter = NumberFormat.getNumberInstance(); in onClick() local335 number = formatter.parse(bytesString); in onClick()
171 final BidiFormatter formatter = BidiFormatter.getInstance(); in join() local184 formatter.unicodeWrap(itr.next().toString(), TextDirectionHeuristics.FIRSTSTRONG_LTR)); in join()188 return formatter.unicodeWrap(sb.toString()); in join()
35 TitleCalendarItem(LocalDate date, CalendarFormatter formatter) { in TitleCalendarItem() argument37 mFormatter = formatter; in TitleCalendarItem()
74 CalendarFormatter formatter) { in CarCalendarView() argument79 mFormatter = formatter; in CarCalendarView()
62 CalendarFormatter formatter, in EventCalendarItem() argument67 mFormatter = formatter; in EventCalendarItem()
95 final DateTimeFormatter formatter =99 final String wallClockTimeAtChange = formatter.format(wearEstimateChange.dateAtChange);
39 public static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("hh:mm a"); field in DarkModeCustomPreferenceController
1028 Formatter formatter = new Formatter(); in log() local1029 formatter.format(message, args); in log()1030 Log.i(TAG, formatter.toString()); in log()
2765 Landroid/icu/text/DecimalFormat;->formatter:Landroid/icu/number/LocalizedNumberFormatter;3439 Landroid/icu/text/MessageFormat$PluralSelectorContext;->formatter:Ljava/text/Format;3628 Landroid/icu/text/NFRule;->formatter:Landroid/icu/text/RuleBasedNumberFormat;
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...