Searched refs:nationalNumber (Results 1 – 5 of 5) sorted by relevance
116 private StringBuilder nationalNumber = new StringBuilder(); field in AsYouTypeFormatter254 if (aPhoneNumber.length() < nationalNumber.length()) { in getFormattingTemplate()276 nationalNumber.setLength(0); in clear()369 return prefixBeforeNationalNumber + nationalNumber.toString(); in inputDigitWithOptionToRememberPosition()379 narrowDownPossibleFormats(nationalNumber.toString()); in inputDigitWithOptionToRememberPosition()412 nationalNumber.insert(0, extractedNationalPrefix); in ableToExtractLongerNdd()434 Matcher m = regexCache.getPatternForRegex(numberFormat.getPattern()).matcher(nationalNumber); in attemptToFormatAccruedDigits()471 private String appendNationalNumber(String nationalNumber) { in appendNationalNumber() argument480 + nationalNumber; in appendNationalNumber()482 return prefixBeforeNationalNumber + nationalNumber; in appendNationalNumber()[all …]
1596 String nationalNumber = getNationalSignificantNumber(number);1598 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);1675 String nationalNumber = getNationalSignificantNumber(number);1677 chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber);1726 String nationalNumber = getNationalSignificantNumber(number);1727 if (nationalNumber.length() > 3) {1728 int firstNationalNumberDigit = rawInput.indexOf(nationalNumber.substring(0, 3));1742 nationalNumber);1805 StringBuilder nationalNumber = new StringBuilder();1809 nationalNumber.append(new String(zeros));[all …]
327 String nationalNumber = getNationalSignificantNumber(number); in getRegionCodeForShortNumberFromRegionList() local331 && matchesPossibleNumberAndNationalNumber(nationalNumber, phoneMetadata.getShortCode())) { in getRegionCodeForShortNumberFromRegionList()470 String nationalNumber = getNationalSignificantNumber(number); in isCarrierSpecific() local473 && (matchesPossibleNumberAndNationalNumber(nationalNumber, in isCarrierSpecific()494 String nationalNumber = getNationalSignificantNumber(number); in isCarrierSpecificForRegion() local498 && (matchesPossibleNumberAndNationalNumber(nationalNumber, in isCarrierSpecificForRegion()539 StringBuilder nationalNumber = new StringBuilder(); in getNationalSignificantNumber() local543 nationalNumber.append(new String(zeros)); in getNationalSignificantNumber()545 nationalNumber.append(number.getNationalNumber()); in getNationalSignificantNumber()546 return nationalNumber.toString(); in getNationalSignificantNumber()
666 String nationalNumber = util.getNationalSignificantNumber(number); in isNationalPrefixPresentIfRequired() local668 util.chooseFormattingPatternForNumber(metadata.numberFormats(), nationalNumber); in isNationalPrefixPresentIfRequired()
119 String nationalNumber = phoneUtil.getNationalSignificantNumber(number); in getDescriptionForValidNumber() local120 if (!mobileToken.equals("") && nationalNumber.startsWith(mobileToken)) { in getDescriptionForValidNumber()123 nationalNumber = nationalNumber.substring(mobileToken.length()); in getDescriptionForValidNumber()127 copiedNumber = phoneUtil.parse(nationalNumber, region); in getDescriptionForValidNumber()