Home
last modified time | relevance | path

Searched refs:numberFormats (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java696 if (numberFormats != null) { in getNumberFormat()
697 result = numberFormats[style]; in getNumberFormat()
719 if (numberFormats == null) { in setNumberFormat()
720 numberFormats = new NumberFormat[NF_LIMIT]; in setNumberFormat()
722 numberFormats[style] = (NumberFormat) format.clone(); // for safety in setNumberFormat()
744 numberFormats = null; in reset()
1136 private NumberFormat[] numberFormats; field in GlobalizationPreferences
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java724 if (numberFormats != null) { in getNumberFormat()
725 result = numberFormats[style]; in getNumberFormat()
748 if (numberFormats == null) { in setNumberFormat()
749 numberFormats = new NumberFormat[NF_LIMIT]; in setNumberFormat()
751 numberFormats[style] = (NumberFormat) format.clone(); // for safety in setNumberFormat()
774 numberFormats = null; in reset()
1176 private NumberFormat[] numberFormats; field in GlobalizationPreferences
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DMetadataManagerTest.java31 assertTrue(germanyMetadata.numberFormats().size() > 0); in testAlternateFormatsLoadCorrectly()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberMatcher.java570 for (NumberFormat alternateFormat : alternateFormats.numberFormats()) { in checkNumberGroupingIsValid()
650 util.chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber); in isNationalPrefixPresentIfRequired()
DPhoneNumberUtil.java1643 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);
1674 List<NumberFormat> numberFormats = new ArrayList<NumberFormat>(1);
1675 numberFormats.add(numFormatCopy);
1676 formattedNumber = formatByPattern(number, PhoneNumberFormat.NATIONAL, numberFormats);
1722 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);
1786 chooseFormattingPatternForNumber(metadataForRegionCallingFrom.numberFormats(),
1902 ? metadata.numberFormats()
DAsYouTypeFormatter.java173 : currentMetadata.numberFormats(); in getAvailableFormats()
DPhonemetadata.java764 public java.util.List<NumberFormat> numberFormats() { in numberFormats() method in Phonemetadata.PhoneMetadata
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java569 for (NumberFormat alternateFormat : alternateFormats.numberFormats()) { in checkNumberGroupingIsValid()
649 util.chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber); in isNationalPrefixPresentIfRequired()
DPhoneNumberUtil.java1607 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);
1638 List<NumberFormat> numberFormats = new ArrayList<NumberFormat>(1);
1639 numberFormats.add(numFormatCopy);
1640 formattedNumber = formatByPattern(number, PhoneNumberFormat.NATIONAL, numberFormats);
1686 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);
1750 chooseFormattingPatternForNumber(metadataForRegionCallingFrom.numberFormats(),
1865 ? metadata.numberFormats()
DAsYouTypeFormatter.java171 : currentMetadata.numberFormats(); in getAvailableFormats()
DPhonemetadata.java733 public java.util.List<NumberFormat> numberFormats() { in numberFormats() method in Phonemetadata.PhoneMetadata