Searched refs:queryTokens (Results 1 – 2 of 2) sorted by relevance
59 final char[] queryTokens = query.toLowerCase().toCharArray(); in getWordDifference() local62 if (queryTokens.length > resultLength) { in getWordDifference()72 while ((i + j < resultLength) && (queryTokens[j] == resultTokens[i + j])) { in getWordDifference()74 if (++j >= queryTokens.length) { in getWordDifference()77 return resultLength - queryTokens.length; in getWordDifference()84 if (queryTokens.length > resultLength - i) { in getWordDifference()
37 val queryTokens: Array<Token?> = tokenize(mQuery) in formatSuggestion() constant39 val matches = findMatches(queryTokens, suggestionTokens) in formatSuggestion()41 Log.d(TAG, "source = $queryTokens") in formatSuggestion()52 sourceLen = queryTokens[thisMatch]!!.length in formatSuggestion()