Home | History | Annotate | Download | only in phonenumbers

Lines Matching refs:template

147   // Returns true if a new template is created as opposed to reusing the existing template.
150 // formatting template could be created.
163 // With a new formatting template, the matched position using the old template needs to be
238 // Gets a formatting template which can be used to efficiently format a partial number where
247 // No formatting template can be created if the number of digits entered so far is longer than
253 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat);
255 template = template.replaceAll("9", DIGIT_PLACEHOLDER);
256 return template;
416 * instead of any other formatting template whose leadingDigitsPattern also matches the input.
453 * was collected. A space will be inserted between them if the current formatting template
472 * Attempts to set the formatting template and returns a string which contains the formatted