Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialPrefix.java211 if (phoneNumberTokens.countryCodeOffset != 0) { in parseToNumberTokens()
214 context, number, phoneNumberTokens.countryCodeOffset)); in parseToNumberTokens()
234 int countryCodeOffset = 0; in parsePhoneNumber() local
247 countryCodeOffset = i; in parsePhoneNumber()
260 countryCodeOffset = number.indexOf(normalizedNumber.charAt(1)); in parsePhoneNumber()
261 if (countryCodeOffset == -1) { in parsePhoneNumber()
262 countryCodeOffset = 0; in parsePhoneNumber()
290 return new PhoneNumberTokens(countryCode, countryCodeOffset, nanpNumberOffset); in parsePhoneNumber()
591 final int countryCodeOffset; field in SmartDialPrefix.PhoneNumberTokens
596 public PhoneNumberTokens(String countryCode, int countryCodeOffset, int nanpCodeOffset) { in PhoneNumberTokens() argument
[all …]
DSmartDialNameMatcher.java126 if (phoneNumberTokens.countryCodeOffset != 0) { in matchesNumber()
129 context, phoneNumber, query, phoneNumberTokens.countryCodeOffset); in matchesNumber()