Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialPrefix.java111 final int countryCodeOffset; field in SmartDialPrefix.PhoneNumberTokens
116 public PhoneNumberTokens(String countryCode, int countryCodeOffset, int nanpCodeOffset) { in PhoneNumberTokens() argument
118 this.countryCodeOffset = countryCodeOffset; in PhoneNumberTokens()
241 if (phoneNumberTokens.countryCodeOffset != 0) { in parseToNumberTokens()
243 phoneNumberTokens.countryCodeOffset, mMap)); in parseToNumberTokens()
262 int countryCodeOffset = 0; in parsePhoneNumber() local
275 countryCodeOffset = i; in parsePhoneNumber()
286 countryCodeOffset = number.indexOf(normalizedNumber.charAt(1)); in parsePhoneNumber()
287 if (countryCodeOffset == -1) { in parsePhoneNumber()
288 countryCodeOffset = 0; in parsePhoneNumber()
[all …]
DSmartDialNameMatcher.java145 if (phoneNumberTokens.countryCodeOffset != 0) { in matchesNumber()
147 phoneNumberTokens.countryCodeOffset); in matchesNumber()