Searched refs:AsYouTypeFormatter (Results 1 – 15 of 15) sorted by relevance
49 i18n.phonenumbers.AsYouTypeFormatter = function(regionCode) { class in i18n.phonenumbers195 i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_ = ' ';203 i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_ =205 i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_222 i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_ = new RegExp(236 i18n.phonenumbers.AsYouTypeFormatter.NATIONAL_PREFIX_SEPARATORS_PATTERN_ =249 i18n.phonenumbers.AsYouTypeFormatter.MIN_LEADING_DIGITS_LENGTH_ = 3;260 i18n.phonenumbers.AsYouTypeFormatter.prototype.getMetadataForRegion_ =276 return i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_;285 i18n.phonenumbers.AsYouTypeFormatter.prototype.maybeCreateNewTemplate_ =[all …]
38 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);61 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);82 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);103 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.BY);119 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.BY);134 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.US);229 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.US);244 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.US);254 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.US);271 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.US);[all …]
151 var formatter = new i18n.phonenumbers.AsYouTypeFormatter(regionCode);
91 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) in AsYouTypeFormatter() function in i18n::phonenumbers::AsYouTypeFormatter121 const PhoneMetadata* AsYouTypeFormatter::GetMetadataForRegion( in GetMetadataForRegion()137 bool AsYouTypeFormatter::MaybeCreateNewTemplate() { in MaybeCreateNewTemplate()161 void AsYouTypeFormatter::GetAvailableFormats(const string& leading_digits) { in GetAvailableFormats()201 void AsYouTypeFormatter::NarrowDownPossibleFormats( in NarrowDownPossibleFormats()231 void AsYouTypeFormatter::SetShouldAddSpaceAfterNationalPrefix( in SetShouldAddSpaceAfterNationalPrefix()240 bool AsYouTypeFormatter::CreateFormattingTemplate(const NumberFormat& format) { in CreateFormattingTemplate()254 void AsYouTypeFormatter::GetFormattingTemplate( in GetFormattingTemplate()281 void AsYouTypeFormatter::Clear() { in Clear()305 const string& AsYouTypeFormatter::InputDigit(char32 next_char, string* result) { in InputDigit()[all …]
53 class AsYouTypeFormatter {55 ~AsYouTypeFormatter() {} in ~AsYouTypeFormatter()85 explicit AsYouTypeFormatter(const string& region_code);236 DISALLOW_COPY_AND_ASSIGN(AsYouTypeFormatter);
41 class AsYouTypeFormatter; variable57 friend class AsYouTypeFormatter;745 AsYouTypeFormatter* GetAsYouTypeFormatter(const string& region_code) const;
3177 AsYouTypeFormatter* PhoneNumberUtil::GetAsYouTypeFormatter( in GetAsYouTypeFormatter()3179 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 …]
41 public class AsYouTypeFormatter { class119 AsYouTypeFormatter(String regionCode) { in AsYouTypeFormatter() method in AsYouTypeFormatter
2794 public AsYouTypeFormatter getAsYouTypeFormatter(String regionCode) {2795 return new AsYouTypeFormatter(regionCode);
24 import com.google.i18n.phonenumbers.AsYouTypeFormatter;372 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(defaultCountry); in getOutputForSingleNumber()
41 * `AsYouTypeFormatter` - formats phone numbers on-the-fly when users enter176 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter("US");
601 - AsYouTypeFormatter changed to ensure that the output never adds new digits or swallows digits.727 - Removed unused code in the AsYouTypeFormatter: We no longer have numbers in766 - AsYouTypeFormatter changed to better choose between rules when dialling2016 - Handle StringIndexOutOfBoundsException in the AsYouTypeFormatter when the2344 - Fixing regression in AsYouTypeFormatter where it no longer worked for numbers entered in national2353 - Inserting a space after the national prefix in the AsYouTypeFormatter when formatting numbers in2355 - Format emergency numbers and short-codes as a block in the AsYouTypeFormatter.2559 - Enable AsYouTypeFormatter to handle long IDD and NDD.2667 - Improved AsYouTypeFormatter not to use formatting rules containing non-formatting characters2683 * Documentation updates and some small refactoring to AsYouTypeFormatter[all …]
82 * AsYouTypeFormatter.java => asyoutypeformatter.js
51 return AsYouTypeFormatter::ConvertUnicodeStringPosition(s, pos); in ConvertUnicodeStringPosition()55 scoped_ptr<AsYouTypeFormatter> formatter_;