Home
last modified time | relevance | path

Searched refs:formattedNumber (Results 1 – 10 of 10) sorted by relevance

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1045 StringBuilder formattedNumber = new StringBuilder(20);
1046 format(number, numberFormat, formattedNumber);
1047 return formattedNumber.toString();
1055 StringBuilder formattedNumber) {
1057 formattedNumber.setLength(0);
1064 formattedNumber.append(nationalSignificantNumber);
1066 formattedNumber);
1070 formattedNumber.append(nationalSignificantNumber);
1081 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
1082 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
[all …]
DAsYouTypeFormatter.java372 String formattedNumber = attemptToFormatAccruedDigits(); in inputDigitWithOptionToRememberPosition() local
373 if (formattedNumber.length() > 0) { in inputDigitWithOptionToRememberPosition()
374 return formattedNumber; in inputDigitWithOptionToRememberPosition()
436 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits() local
437 return appendNationalNumber(formattedNumber); in attemptToFormatAccruedDigits()
493 String formattedNumber = attemptToFormatAccruedDigits(); in attemptToChooseFormattingPattern() local
494 if (formattedNumber.length() > 0) { in attemptToChooseFormattingPattern()
495 return formattedNumber; in attemptToChooseFormattingPattern()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1163 FastStringBuffer formattedNumber = StringBufferPool.get(); in formatNumberList() local
1259 formattedNumber.append(formatTokenString); in formatNumberList()
1262 formattedNumber.append(lastSep); in formatNumberList()
1265 list[i], formattedNumber); in formatNumberList()
1278 formattedNumber.append(lastSepString); in formatNumberList()
1284 formattedNumber.append(formatToken); in formatNumberList()
1287 numStr = formattedNumber.toString(); in formatNumberList()
1291 StringBufferPool.free(formattedNumber); in formatNumberList()
1317 FastStringBuffer formattedNumber) in getFormattedNumber() argument
1343 int2alphaCount(listElement, m_alphaCountTable, formattedNumber); in getFormattedNumber()
[all …]
/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp120 UnicodeString formattedNumber; in format() local
121 StandardPlural::Form p = selectPlural(number, fmt, rules, formattedNumber, pos, status); in format()
133 return format(*pattern, formattedNumber, appendTo, pos, status); in format()
143 UnicodeString &formattedNumber, in selectPlural() argument
158 decFmt->format(digits, formattedNumber, pos, status); in selectPlural()
170 fmt.format(number, formattedNumber, pos, status); in selectPlural()
Dquantityformatter.h117 UnicodeString &formattedNumber,
Dmeasfmt.cpp900 UnicodeString formattedNumber; in formatMeasure() local
902 amtNumber, nf, **pluralRules, formattedNumber, pos, status); in formatMeasure()
904 return QuantityFormatter::format(*formatter, formattedNumber, appendTo, pos, status); in formatMeasure()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java108 StringBuffer formattedNumber, FieldPosition pos) { in selectPlural() argument
110 fmt.format(number, formattedNumber, fpos); in selectPlural()
DMeasureFormat.java413 …String formattedNumber = SimplePatternFormatter.formatCompiledPattern(rangeFormatter, lowFormatted… in formatMeasureRange() local
422 result.append(formattedNumber); in formatMeasureRange()
437 return SimplePatternFormatter.formatCompiledPattern(formatter, formattedNumber); in formatMeasureRange()
1006 StringBuffer formattedNumber = new StringBuffer(); in formatMeasure() local
1008 n, nf.nf, rules, formattedNumber, fieldPosition); in formatMeasure()
1010 return QuantityFormatter.format(formatter, formattedNumber, appendTo, fieldPosition); in formatMeasure()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java107 StringBuffer formattedNumber, FieldPosition pos) { in selectPlural() argument
109 fmt.format(number, formattedNumber, fpos); in selectPlural()
DMeasureFormat.java430 …String formattedNumber = SimplePatternFormatter.formatCompiledPattern(rangeFormatter, lowFormatted… in formatMeasureRange() local
439 result.append(formattedNumber); in formatMeasureRange()
454 return SimplePatternFormatter.formatCompiledPattern(formatter, formattedNumber); in formatMeasureRange()
1033 StringBuffer formattedNumber = new StringBuffer(); in formatMeasure() local
1035 n, nf.nf, rules, formattedNumber, fieldPosition); in formatMeasure()
1037 return QuantityFormatter.format(formatter, formattedNumber, appendTo, fieldPosition); in formatMeasure()