Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java124 PhoneNumberTokens phoneNumberTokens = SmartDialPrefix.parsePhoneNumber(context, phoneNumber); in matchesNumber() local
126 if (phoneNumberTokens.countryCodeOffset != 0) { in matchesNumber()
129 context, phoneNumber, query, phoneNumberTokens.countryCodeOffset); in matchesNumber()
131 if (matchPos == null && phoneNumberTokens.nanpCodeOffset != 0) { in matchesNumber()
133 matchesNumberWithOffset(context, phoneNumber, query, phoneNumberTokens.nanpCodeOffset); in matchesNumber()
DSmartDialPrefix.java206 final PhoneNumberTokens phoneNumberTokens = parsePhoneNumber(context, number); in parseToNumberTokens() local
207 if (phoneNumberTokens == null) { in parseToNumberTokens()
211 if (phoneNumberTokens.countryCodeOffset != 0) { in parseToNumberTokens()
214 context, number, phoneNumberTokens.countryCodeOffset)); in parseToNumberTokens()
217 if (phoneNumberTokens.nanpCodeOffset != 0) { in parseToNumberTokens()
220 context, number, phoneNumberTokens.nanpCodeOffset)); in parseToNumberTokens()