Home
last modified time | relevance | path

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

/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/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1194 StringBuilder formattedNumber = new StringBuilder(20);
1195 format(number, numberFormat, formattedNumber);
1196 return formattedNumber.toString();
1204 StringBuilder formattedNumber) {
1206 formattedNumber.setLength(0);
1213 formattedNumber.append(nationalSignificantNumber);
1215 formattedNumber);
1219 formattedNumber.append(nationalSignificantNumber);
1230 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
1231 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
[all …]
DAsYouTypeFormatter.java364 String formattedNumber = attemptToFormatAccruedDigits(); in inputDigitWithOptionToRememberPosition() local
365 if (formattedNumber.length() > 0) { in inputDigitWithOptionToRememberPosition()
366 return formattedNumber; in inputDigitWithOptionToRememberPosition()
428 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits() local
429 return appendNationalNumber(formattedNumber); in attemptToFormatAccruedDigits()
486 String formattedNumber = attemptToFormatAccruedDigits(); in attemptToChooseFormattingPattern() local
487 if (formattedNumber.length() > 0) { in attemptToChooseFormattingPattern()
488 return formattedNumber; in attemptToChooseFormattingPattern()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java1229 StringBuilder formattedNumber = new StringBuilder(20);
1230 format(number, numberFormat, formattedNumber);
1231 return formattedNumber.toString();
1239 StringBuilder formattedNumber) {
1241 formattedNumber.setLength(0);
1248 formattedNumber.append(nationalSignificantNumber);
1250 formattedNumber);
1254 formattedNumber.append(nationalSignificantNumber);
1265 formattedNumber.append(formatNsn(nationalSignificantNumber, metadata, numberFormat));
1266 maybeAppendFormattedExtension(number, metadata, numberFormat, formattedNumber);
[all …]
DAsYouTypeFormatter.java369 String formattedNumber = attemptToFormatAccruedDigits(); in inputDigitWithOptionToRememberPosition() local
370 if (formattedNumber.length() > 0) { in inputDigitWithOptionToRememberPosition()
371 return formattedNumber; in inputDigitWithOptionToRememberPosition()
433 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits() local
434 return appendNationalNumber(formattedNumber); in attemptToFormatAccruedDigits()
492 String formattedNumber = attemptToFormatAccruedDigits(); in attemptToChooseFormattingPattern() local
493 if (formattedNumber.length() > 0) { in attemptToChooseFormattingPattern()
494 return formattedNumber; in attemptToChooseFormattingPattern()
/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp122 UnicodeString formattedNumber; in format() local
123 StandardPlural::Form p = selectPlural(number, fmt, rules, formattedNumber, pos, status); in format()
135 return format(*pattern, formattedNumber, appendTo, pos, status); in format()
145 UnicodeString &formattedNumber, in selectPlural() argument
160 decFmt->format(number, formattedNumber, pos, status); in selectPlural()
172 fmt.format(number, formattedNumber, pos, status); in selectPlural()
Dreldatefmt.cpp851 UnicodeString formattedNumber; in format() local
854 quantity, **fNumberFormat, **fPluralRules, formattedNumber, pos, in format()
864 formatter->format(formattedNumber, result, status); in format()
888 UnicodeString formattedNumber; in formatNumeric() local
891 offset, **fNumberFormat, **fPluralRules, formattedNumber, pos, in formatNumeric()
901 formatter->format(formattedNumber, result, status); in formatNumeric()
Dquantityformatter.h119 UnicodeString &formattedNumber,
Dmeasfmt.cpp965 UnicodeString formattedNumber; in formatMeasure() local
967 amtNumber, nf, **pluralRules, formattedNumber, pos, status); in formatMeasure()
969 return QuantityFormatter::format(*formatter, formattedNumber, appendTo, pos, status); in formatMeasure()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPresenceContact.java47 public PresenceContact(String name, String number, String formattedNumber, String rawContactId, in PresenceContact() argument
51 mFormattedNumber = formattedNumber; in PresenceContact()
DEABDbUtil.java130 String formattedNumber = formatNumber(contactNumber); in validateAndSyncFromContactsDb() local
131 String uniquePhoneNum = formattedNumber + contactId in validateAndSyncFromContactsDb()
138 formattedNumber, rawContactId, contactId, dataId)); in validateAndSyncFromContactsDb()
142 + " formattedNumber: " + formattedNumber); in validateAndSyncFromContactsDb()
193 String phoneNumber, String formattedNumber, String rawContactId, String contactId, in addContactToEabDb() argument
199 .withValue(EABContract.EABColumns.FORMATTED_NUMBER, formattedNumber) in addContactToEabDb()
DEABProvider.java401 String formattedNumber = null; in verifyIfMdnExists() local
406 formattedNumber = cvalues.getAsString(EABContract.EABColumns.FORMATTED_NUMBER); in verifyIfMdnExists()
410 if (null == formattedNumber) { in verifyIfMdnExists()
427 String[] selectionArgs = new String[] { formattedNumber }; in verifyIfMdnExists()
440 if(contactNumberUtils.format(formattedNumber).equals( in verifyIfMdnExists()
DEABService.java977 String formattedNumber = EABDbUtil.formatNumber(phoneNumber); in handlePhoneNumberInsertion() local
979 contactListToInsert.add(new PresenceContact(contactName, phoneNumber, formattedNumber, in handlePhoneNumberInsertion()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java110 StringBuffer formattedNumber, FieldPosition pos) { in selectPlural() argument
112 fmt.format(number, formattedNumber, fpos); in selectPlural()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java109 StringBuffer formattedNumber, FieldPosition pos) { in selectPlural() argument
111 fmt.format(number, formattedNumber, fpos); in selectPlural()
/external/cldr/tools/java/org/unicode/cldr/util/
DVerifyCompactNumbers.java237 String formattedNumber = nf.format(source); in showNumbers() local
246 .addCell(formattedNumber) in showNumbers()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1091 String formattedNumber = unitDecimalFormat.format(example.getSource()); in formatCurrency() local
1093 resultItem = unitPattern.replace("{0}", formattedNumber).replace("{1}", unitName); in formatCurrency()