Home
last modified time | relevance | path

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

/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java106 private String extractedNationalPrefix = ""; field in AsYouTypeFormatter
169 boolean isInternationalNumber = isCompleteNumber && extractedNationalPrefix.length() == 0; in getAvailableFormats()
177 if (extractedNationalPrefix.length() > 0 in getAvailableFormats()
187 } else if (extractedNationalPrefix.length() == 0 in getAvailableFormats()
267 extractedNationalPrefix = ""; in clear()
354 extractedNationalPrefix = removeNationalPrefixFromNationalNumber(); in inputDigitWithOptionToRememberPosition()
398 return extractedNationalPrefix; in getExtractedNationalPrefix()
404 if (extractedNationalPrefix.length() > 0) { in ableToExtractLongerNdd()
406 nationalNumber.insert(0, extractedNationalPrefix); in ableToExtractLongerNdd()
410 int indexOfPreviousNdd = prefixBeforeNationalNumber.lastIndexOf(extractedNationalPrefix); in ableToExtractLongerNdd()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java104 private String extractedNationalPrefix = ""; field in AsYouTypeFormatter
167 boolean isInternationalNumber = isCompleteNumber && extractedNationalPrefix.length() == 0; in getAvailableFormats()
175 if (extractedNationalPrefix.length() > 0 in getAvailableFormats()
185 } else if (extractedNationalPrefix.length() == 0 in getAvailableFormats()
264 extractedNationalPrefix = ""; in clear()
349 extractedNationalPrefix = removeNationalPrefixFromNationalNumber(); in inputDigitWithOptionToRememberPosition()
393 return extractedNationalPrefix; in getExtractedNationalPrefix()
399 if (extractedNationalPrefix.length() > 0) { in ableToExtractLongerNdd()
401 nationalNumber.insert(0, extractedNationalPrefix); in ableToExtractLongerNdd()
405 int indexOfPreviousNdd = prefixBeforeNationalNumber.lastIndexOf(extractedNationalPrefix); in ableToExtractLongerNdd()
[all …]