Searched refs:queryTokens (Results 1 – 2 of 2) sorted by relevance
49 final char[] queryTokens = query.toLowerCase().toCharArray(); in getWordDifference() local52 if (queryTokens.length > resultLength) { in getWordDifference()62 while ((i + j < resultLength) && (queryTokens[j] == resultTokens[i + j])) { in getWordDifference()64 if (++j >= queryTokens.length) { in getWordDifference()67 return resultLength - queryTokens.length; in getWordDifference()74 if (queryTokens.length > resultLength - i) { in getWordDifference()
43 final Token[] queryTokens = tokenize(query); in formatSuggestion() local45 final int[] matches = findMatches(queryTokens, suggestionTokens); in formatSuggestion()47 Log.d(TAG, "source = " + queryTokens); in formatSuggestion()59 sourceLen = queryTokens[thisMatch].length(); in formatSuggestion()