Home
last modified time | relevance | path

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

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java43 private StringBuilder formattingTemplate = new StringBuilder(); field in AsYouTypeFormatter
225 formattingTemplate.setLength(0); in createFormattingTemplate()
228 formattingTemplate.append(tempTemplate); in createFormattingTemplate()
262 formattingTemplate.setLength(0); in clear()
388 formattingTemplate.setLength(0); in attemptToChoosePatternWithPrefixExtracted()
652 Matcher digitMatcher = DIGIT_PATTERN.matcher(formattingTemplate); in inputDigitHelper()
655 formattingTemplate.replace(0, tempTemplate.length(), tempTemplate); in inputDigitHelper()
657 return formattingTemplate.substring(0, lastMatchPosition + 1); in inputDigitHelper()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dasyoutypeformatter.js1073 var formattingTemplate = this.formattingTemplate_.toString();
1074 if (formattingTemplate.substring(this.lastMatchPosition_)
1077 var digitPatternStart = formattingTemplate.search(this.DIGIT_PATTERN_);
1080 formattingTemplate.replace(this.DIGIT_PATTERN_, nextChar);