Searched refs:AsYouTypeFormatter (Results 1 – 8 of 8) sorted by relevance
126 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) in AsYouTypeFormatter() function in i18n::phonenumbers::AsYouTypeFormatter156 const PhoneMetadata* AsYouTypeFormatter::GetMetadataForRegion( in GetMetadataForRegion()172 bool AsYouTypeFormatter::MaybeCreateNewTemplate() { in MaybeCreateNewTemplate()196 void AsYouTypeFormatter::GetAvailableFormats( in GetAvailableFormats()219 void AsYouTypeFormatter::NarrowDownPossibleFormats( in NarrowDownPossibleFormats()244 void AsYouTypeFormatter::SetShouldAddSpaceAfterNationalPrefix( in SetShouldAddSpaceAfterNationalPrefix()253 bool AsYouTypeFormatter::CreateFormattingTemplate(const NumberFormat& format) { in CreateFormattingTemplate()281 void AsYouTypeFormatter::GetFormattingTemplate( in GetFormattingTemplate()308 void AsYouTypeFormatter::Clear() { in Clear()332 const string& AsYouTypeFormatter::InputDigit(char32 next_char, string* result) { in InputDigit()[all …]
54 class AsYouTypeFormatter {56 ~AsYouTypeFormatter() {} in ~AsYouTypeFormatter()86 explicit AsYouTypeFormatter(const string& region_code);235 DISALLOW_COPY_AND_ASSIGN(AsYouTypeFormatter);
50 class AsYouTypeFormatter; variable64 friend class AsYouTypeFormatter;571 AsYouTypeFormatter* GetAsYouTypeFormatter(const string& region_code) const;
2729 AsYouTypeFormatter* PhoneNumberUtil::GetAsYouTypeFormatter( in GetAsYouTypeFormatter()2731 return new AsYouTypeFormatter(region_code); in GetAsYouTypeFormatter()
30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidRegion()52 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidPlusSign()72 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testTooLongNumberMatchingMultipleLeadingDigits()92 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY); in testCountryWithSpaceInNationalPrefixFormattingRule()107 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY); in testCountryWithSpaceInNationalPrefixFormattingRuleAndLongNdd()121 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUS()215 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSFullWidthCharacters()229 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSMobileShortCode()238 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFUSVanityNumber()254 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US); in testAYTFAndRememberPositionUS()[all …]
73 - Fixing regression in AsYouTypeFormatter where it no longer worked for numbers entered in national82 - Inserting a space after the national prefix in the AsYouTypeFormatter when formatting numbers in84 - Format emergency numbers and short-codes as a block in the AsYouTypeFormatter.288 - Enable AsYouTypeFormatter to handle long IDD and NDD.396 - Improved AsYouTypeFormatter not to use formatting rules containing non-formatting characters412 * Documentation updates and some small refactoring to AsYouTypeFormatter449 - Improved AsYouTypeFormatter to deal with countries with variable-length patterns such as LU545 - ArrayOutOfBoundException in AsYouTypeFormatter.getRememberedPosition()546 - AsYouTypeFormatter for UK childline number561 - AsYouTypeFormatter for formatting Chinese geographical numbers entered in national format.[all …]
41 public class AsYouTypeFormatter { class127 AsYouTypeFormatter(String regionCode) { in AsYouTypeFormatter() method in AsYouTypeFormatter
2322 public AsYouTypeFormatter getAsYouTypeFormatter(String regionCode) {2323 return new AsYouTypeFormatter(regionCode);