Searched refs:nationalPrefix (Results 1 – 4 of 4) sorted by relevance
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1296 String nationalPrefix = metadata.getNationalPrefix(); 1297 if (nationalPrefix.length() > 0) { 1300 nationalPrefixFormattingRule.replace(NP_STRING, nationalPrefix); 1598 String nationalPrefix = getNddPrefixForRegion(regionCode, true /* strip non-digits */); 1600 if (nationalPrefix == null || nationalPrefix.length() == 0) { 1608 number.getRawInput(), nationalPrefix, regionCode)) { 1669 private boolean rawInputContainsNationalPrefix(String rawInput, String nationalPrefix, 1672 if (normalizedNationalNumber.startsWith(nationalPrefix)) { 1679 parse(normalizedNationalNumber.substring(nationalPrefix.length()), regionCode)); 2423 String nationalPrefix = metadata.getNationalPrefix(); [all …]
|
D | AsYouTypeFormatter.java | 560 String nationalPrefix = nationalNumber.substring(0, startOfNationalNumber); in removeNationalPrefixFromNationalNumber() local 562 return nationalPrefix; in removeNationalPrefixFromNationalNumber()
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1331 String nationalPrefix = metadata.getNationalPrefix(); 1332 if (nationalPrefix.length() > 0) { 1335 nationalPrefixFormattingRule.replace(NP_STRING, nationalPrefix); 1634 String nationalPrefix = getNddPrefixForRegion(regionCode, true /* strip non-digits */); 1636 if (nationalPrefix == null || nationalPrefix.length() == 0) { 1644 number.getRawInput(), nationalPrefix, regionCode)) { 1705 private boolean rawInputContainsNationalPrefix(String rawInput, String nationalPrefix, 1708 if (normalizedNationalNumber.startsWith(nationalPrefix)) { 1715 parse(normalizedNationalNumber.substring(nationalPrefix.length()), regionCode)); 2464 String nationalPrefix = metadata.getNationalPrefix(); [all …]
|
D | AsYouTypeFormatter.java | 566 String nationalPrefix = nationalNumber.substring(0, startOfNationalNumber); in removeNationalPrefixFromNationalNumber() local 568 return nationalPrefix; in removeNationalPrefixFromNationalNumber()
|