Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java298 assertTrue(PhoneNumberMatcher.isLatinLetter('c')); in testIsLatinLetter()
299 assertTrue(PhoneNumberMatcher.isLatinLetter('C')); in testIsLatinLetter()
300 assertTrue(PhoneNumberMatcher.isLatinLetter('\u00C9')); in testIsLatinLetter()
301 assertTrue(PhoneNumberMatcher.isLatinLetter('\u0301')); // Combining acute accent in testIsLatinLetter()
303 assertFalse(PhoneNumberMatcher.isLatinLetter(':')); in testIsLatinLetter()
304 assertFalse(PhoneNumberMatcher.isLatinLetter('5')); in testIsLatinLetter()
305 assertFalse(PhoneNumberMatcher.isLatinLetter('-')); in testIsLatinLetter()
306 assertFalse(PhoneNumberMatcher.isLatinLetter('.')); in testIsLatinLetter()
307 assertFalse(PhoneNumberMatcher.isLatinLetter(' ')); in testIsLatinLetter()
308 assertFalse(PhoneNumberMatcher.isLatinLetter('\u6211')); // Chinese character in testIsLatinLetter()
[all …]
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberMatcher.java290 static boolean isLatinLetter(char letter) { in isLatinLetter() method in PhoneNumberMatcher
402 if (isInvalidPunctuationSymbol(previousChar) || isLatinLetter(previousChar)) { in parseAndVerify()
409 if (isInvalidPunctuationSymbol(nextChar) || isLatinLetter(nextChar)) { in parseAndVerify()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java289 static boolean isLatinLetter(char letter) { in isLatinLetter() method in PhoneNumberMatcher
401 if (isInvalidPunctuationSymbol(previousChar) || isLatinLetter(previousChar)) { in parseAndVerify()
408 if (isInvalidPunctuationSymbol(nextChar) || isLatinLetter(nextChar)) { in parseAndVerify()