Searched refs:wordDiff (Results 1 – 3 of 3) sorted by relevance
109 final int wordDiff = SearchQueryUtils.getWordDifference(deviceName, mQuery); in buildPhysicalKeyboardSearchResults() local110 if (wordDiff == NAME_NO_MATCH) { in buildPhysicalKeyboardSearchResults()119 .setRank(wordDiff) in buildPhysicalKeyboardSearchResults()134 int wordDiff = SearchQueryUtils.getWordDifference(title, mQuery); in buildVirtualKeyboardSearchResults() local135 if (wordDiff == NAME_NO_MATCH) { in buildVirtualKeyboardSearchResults()136 wordDiff = SearchQueryUtils.getWordDifference(summary, mQuery); in buildVirtualKeyboardSearchResults()138 if (wordDiff == NAME_NO_MATCH) { in buildVirtualKeyboardSearchResults()149 .setRank(wordDiff) in buildVirtualKeyboardSearchResults()
86 final int wordDiff = SearchQueryUtils.getWordDifference(label.toString(), mQuery); in query() local87 if (wordDiff == SearchQueryUtils.NAME_NO_MATCH) { in query()104 .setRank(getRank(wordDiff)) in query()129 private int getRank(int wordDiff) { in getRank() argument130 if (wordDiff < 6) { in getRank()
83 final int wordDiff = SearchQueryUtils.getWordDifference(title.toString(), mQuery); in query() local84 if (wordDiff == NAME_NO_MATCH) { in query()98 .setRank(wordDiff) in query()