Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/
DSmartDialNameMatcher.java108 private void replaceBitInMask(StringBuilder builder, SmartDialMatchPosition matchPos) { in replaceBitInMask() argument
109 for (int i = matchPos.start; i < matchPos.end; ++i) { in replaceBitInMask()
134 SmartDialMatchPosition matchPos = matchesNumberWithOffset(phoneNumber, query, 0); in matchesNumber() local
135 if (matchPos == null) { in matchesNumber()
139 return matchPos; in matchesNumber()
142 matchPos = matchesNumberWithOffset(phoneNumber, query, phoneNumberTokens.countryCodeOffset); in matchesNumber()
144 if (matchPos == null && phoneNumberTokens.nanpCodeOffset != 0 && useNanp) { in matchesNumber()
145 matchPos = matchesNumberWithOffset(phoneNumber, query, phoneNumberTokens.nanpCodeOffset); in matchesNumber()
148 if (matchPos != null) { in matchesNumber()
149 replaceBitInMask(builder, matchPos); in matchesNumber()
[all …]