Searched refs:inputDigitAndRememberPosition (Results 1 – 4 of 4) sorted by relevance
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | asyoutypeformatter_test.js | 272 assertEquals('1', f.inputDigitAndRememberPosition('1')); 277 assertEquals('1 650', f.inputDigitAndRememberPosition('0')); 288 assertEquals('1 650 253 222', f.inputDigitAndRememberPosition('2')); 299 assertEquals('16', f.inputDigitAndRememberPosition('6')); 325 assertEquals('650 2532', f.inputDigitAndRememberPosition('2')); 341 assertEquals('650-2', f.inputDigitAndRememberPosition('2')); 357 assertEquals('011 4', f.inputDigitAndRememberPosition('4')); 375 assertEquals('+1 6', f.inputDigitAndRememberPosition('6')); 382 assertEquals('+1 650 253', f.inputDigitAndRememberPosition('3')); 391 assertEquals('+1 6', f.inputDigitAndRememberPosition('6')); [all …]
|
D | asyoutypeformatter.js | 520 i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitAndRememberPosition = method in i18n.phonenumbers.AsYouTypeFormatter
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | AsYouTypeFormatterTest.java | 255 assertEquals("1", formatter.inputDigitAndRememberPosition('1')); in testAYTFAndRememberPositionUS() 260 assertEquals("1 650", formatter.inputDigitAndRememberPosition('0')); in testAYTFAndRememberPositionUS() 271 assertEquals("1 650 253 222", formatter.inputDigitAndRememberPosition('2')); in testAYTFAndRememberPositionUS() 282 assertEquals("16", formatter.inputDigitAndRememberPosition('6')); in testAYTFAndRememberPositionUS() 308 assertEquals("650 2532", formatter.inputDigitAndRememberPosition('2')); in testAYTFAndRememberPositionUS() 324 assertEquals("650-2", formatter.inputDigitAndRememberPosition('2')); in testAYTFAndRememberPositionUS() 340 assertEquals("011 4", formatter.inputDigitAndRememberPosition('4')); in testAYTFAndRememberPositionUS() 358 assertEquals("+1 6", formatter.inputDigitAndRememberPosition('6')); in testAYTFAndRememberPositionUS() 365 assertEquals("+1 650 253", formatter.inputDigitAndRememberPosition('3')); in testAYTFAndRememberPositionUS() 374 assertEquals("+1 6", formatter.inputDigitAndRememberPosition('6')); in testAYTFAndRememberPositionUS() [all …]
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | AsYouTypeFormatter.java | 301 public String inputDigitAndRememberPosition(char nextChar) { in inputDigitAndRememberPosition() method in AsYouTypeFormatter
|