Searched refs:currentMetadata (Results 1 – 2 of 2) sorted by relevance
69 private PhoneMetadata currentMetadata; field in AsYouTypeFormatter121 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 …]
67 private PhoneMetadata currentMetadata; field in AsYouTypeFormatter119 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 …]