Searched refs:AsYouTypeFormatter (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dasyoutypeformatter.h17 // An AsYouTypeFormatter can be created by invoking the GetAsYouTypeFormatter
27 // This is a direct port from AsYouTypeFormatter.java.
54 class AsYouTypeFormatter { class in namespace:i18n::phonenumbers
56 ~AsYouTypeFormatter() {}
86 explicit AsYouTypeFormatter(const string& region_code);
186 // This indicates whether AsYouTypeFormatter is currently doing the
189 // Set to true when users enter their own formatting. AsYouTypeFormatter will
235 DISALLOW_COPY_AND_ASSIGN(AsYouTypeFormatter);
H A Dasyoutypeformatter.cc126 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) function in class:i18n::phonenumbers::AsYouTypeFormatter
156 const PhoneMetadata* AsYouTypeFormatter::GetMetadataForRegion(
172 bool AsYouTypeFormatter::MaybeCreateNewTemplate() {
196 void AsYouTypeFormatter::GetAvailableFormats(
219 void AsYouTypeFormatter::NarrowDownPossibleFormats(
244 void AsYouTypeFormatter::SetShouldAddSpaceAfterNationalPrefix(
253 bool AsYouTypeFormatter::CreateFormattingTemplate(const NumberFormat& format) {
281 void AsYouTypeFormatter::GetFormattingTemplate(
308 void AsYouTypeFormatter
[all...]
H A Dphonenumberutil.h50 class AsYouTypeFormatter;
64 friend class AsYouTypeFormatter;
566 // Gets an AsYouTypeFormatter for the specific region.
567 // Returns an AsYouTypeFormatter object, which could be used to format phone
571 AsYouTypeFormatter* GetAsYouTypeFormatter(const string& region_code) const;
654 // Checks if a format is eligible to be used by the AsYouTypeFormatter. This
H A Dphonenumberutil.cc2729 AsYouTypeFormatter* PhoneNumberUtil::GetAsYouTypeFormatter(
2731 return new AsYouTypeFormatter(region_code);
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
H A DAsYouTypeFormatterTest.java20 * Unit tests for AsYouTypeFormatter.java
30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ);
52 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ);
72 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ);
92 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY);
107 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.BY);
121 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US);
215 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US);
229 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.US);
238 AsYouTypeFormatter formatte
[all...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DAsYouTypeFormatter.java31 * <p>An AsYouTypeFormatter can be created by invoking
41 public class AsYouTypeFormatter { class
48 // This indicates whether AsYouTypeFormatter is currently doing the formatting.
50 // Set to true when users enter their own formatting. AsYouTypeFormatter will do no formatting at
127 AsYouTypeFormatter(String regionCode) { method in class:AsYouTypeFormatter
H A DPhoneNumberUtil.java2456 * Gets an {@link com.android.i18n.phonenumbers.AsYouTypeFormatter} for the specific region.
2459 * @return an {@link com.android.i18n.phonenumbers.AsYouTypeFormatter} object, which can be used
2462 public AsYouTypeFormatter getAsYouTypeFormatter(String regionCode) {
2463 return new AsYouTypeFormatter(regionCode);

Completed in 83 milliseconds