Home
last modified time | relevance | path

Searched refs:AsYouTypeFormatter (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dasyoutypeformatter.cc126 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) in AsYouTypeFormatter() function in i18n::phonenumbers::AsYouTypeFormatter
156 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 …]
Dasyoutypeformatter.h54 class AsYouTypeFormatter {
56 ~AsYouTypeFormatter() {} in ~AsYouTypeFormatter()
86 explicit AsYouTypeFormatter(const string& region_code);
235 DISALLOW_COPY_AND_ASSIGN(AsYouTypeFormatter);
Dphonenumberutil.h50 class AsYouTypeFormatter; variable
64 friend class AsYouTypeFormatter;
571 AsYouTypeFormatter* GetAsYouTypeFormatter(const string& region_code) const;
Dphonenumberutil.cc2729 AsYouTypeFormatter* PhoneNumberUtil::GetAsYouTypeFormatter( in GetAsYouTypeFormatter()
2731 return new AsYouTypeFormatter(region_code); in GetAsYouTypeFormatter()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DAsYouTypeFormatterTest.java30 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 …]
/external/libphonenumber/java/
Drelease_notes.txt73 - Fixing regression in AsYouTypeFormatter where it no longer worked for numbers entered in national
82 - Inserting a space after the national prefix in the AsYouTypeFormatter when formatting numbers in
84 - 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 characters
412 * Documentation updates and some small refactoring to AsYouTypeFormatter
449 - Improved AsYouTypeFormatter to deal with countries with variable-length patterns such as LU
545 - ArrayOutOfBoundException in AsYouTypeFormatter.getRememberedPosition()
546 - AsYouTypeFormatter for UK childline number
561 - AsYouTypeFormatter for formatting Chinese geographical numbers entered in national format.
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java41 public class AsYouTypeFormatter { class
127 AsYouTypeFormatter(String regionCode) { in AsYouTypeFormatter() method in AsYouTypeFormatter
DPhoneNumberUtil.java2322 public AsYouTypeFormatter getAsYouTypeFormatter(String regionCode) {
2323 return new AsYouTypeFormatter(regionCode);