Home
last modified time | relevance | path

Searched refs:currentMetadata (Results 1 – 2 of 2) sorted by relevance

/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java69 private PhoneMetadata currentMetadata; field in AsYouTypeFormatter
121 currentMetadata = getMetadataForRegion(defaultCountry); in AsYouTypeFormatter()
122 defaultMetadata = currentMetadata; in AsYouTypeFormatter()
171 (isInternationalNumber && currentMetadata.intlNumberFormatSize() > 0) in getAvailableFormats()
172 ? currentMetadata.intlNumberFormats() in getAvailableFormats()
173 : currentMetadata.numberFormats(); in getAvailableFormats()
277 if (!currentMetadata.equals(defaultMetadata)) { in clear()
278 currentMetadata = getMetadataForRegion(defaultCountry); in clear()
528 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
539 } else if (currentMetadata.hasNationalPrefixForParsing()) { in removeNationalPrefixFromNationalNumber()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java67 private PhoneMetadata currentMetadata; field in AsYouTypeFormatter
119 currentMetadata = getMetadataForRegion(defaultCountry); in AsYouTypeFormatter()
120 defaultMetadata = currentMetadata; in AsYouTypeFormatter()
169 (isInternationalNumber && currentMetadata.intlNumberFormatSize() > 0) in getAvailableFormats()
170 ? currentMetadata.intlNumberFormats() in getAvailableFormats()
171 : currentMetadata.numberFormats(); in getAvailableFormats()
274 if (!currentMetadata.equals(defaultMetadata)) { in clear()
275 currentMetadata = getMetadataForRegion(defaultCountry); in clear()
522 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
533 } else if (currentMetadata.hasNationalPrefixForParsing()) { in removeNationalPrefixFromNationalNumber()
[all …]