Searched refs:wordDiff (Results 1 – 3 of 3) sorted by relevance
107 final int wordDiff = SearchQueryUtils.getWordDifference(deviceName, mQuery); in buildPhysicalKeyboardSearchResults() local108 if (wordDiff == NAME_NO_MATCH) { in buildPhysicalKeyboardSearchResults()117 .setRank(wordDiff) in buildPhysicalKeyboardSearchResults()132 int wordDiff = SearchQueryUtils.getWordDifference(title, mQuery); in buildVirtualKeyboardSearchResults() local133 if (wordDiff == NAME_NO_MATCH) { in buildVirtualKeyboardSearchResults()134 wordDiff = SearchQueryUtils.getWordDifference(summary, mQuery); in buildVirtualKeyboardSearchResults()136 if (wordDiff == NAME_NO_MATCH) { in buildVirtualKeyboardSearchResults()147 .setRank(wordDiff) in buildVirtualKeyboardSearchResults()
83 final int wordDiff = SearchQueryUtils.getWordDifference(label.toString(), mQuery); in query() local84 if (wordDiff == SearchQueryUtils.NAME_NO_MATCH) { in query()99 .setRank(getRank(wordDiff)) in query()124 private int getRank(int wordDiff) { in getRank() argument125 if (wordDiff < 6) { in getRank()
83 final int wordDiff = SearchQueryUtils.getWordDifference(title.toString(), mQuery); in query() local84 if (wordDiff == NAME_NO_MATCH) { in query()97 .setRank(wordDiff) in query()