Home
last modified time | relevance | path

Searched refs:inputDigit (Results 1 – 3 of 3) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DAsYouTypeFormatterTest.java31 assertEquals("+", formatter.inputDigit('+')); in testInvalidRegion()
32 assertEquals("+4", formatter.inputDigit('4')); in testInvalidRegion()
33 assertEquals("+48 ", formatter.inputDigit('8')); in testInvalidRegion()
34 assertEquals("+48 8", formatter.inputDigit('8')); in testInvalidRegion()
35 assertEquals("+48 88", formatter.inputDigit('8')); in testInvalidRegion()
36 assertEquals("+48 88 1", formatter.inputDigit('1')); in testInvalidRegion()
37 assertEquals("+48 88 12", formatter.inputDigit('2')); in testInvalidRegion()
38 assertEquals("+48 88 123", formatter.inputDigit('3')); in testInvalidRegion()
39 assertEquals("+48 88 123 1", formatter.inputDigit('1')); in testInvalidRegion()
40 assertEquals("+48 88 123 12", formatter.inputDigit('2')); in testInvalidRegion()
[all …]
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java251 formatter.inputDigit(inputChar), output); in getOutputForSingleNumber()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java297 public String inputDigit(char nextChar) { in inputDigit() method in AsYouTypeFormatter