Home
last modified time | relevance | path

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

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInputDeviceResultTask.java107 final int wordDiff = SearchQueryUtils.getWordDifference(deviceName, mQuery); in buildPhysicalKeyboardSearchResults() local
108 if (wordDiff == NAME_NO_MATCH) { in buildPhysicalKeyboardSearchResults()
117 .setRank(wordDiff) in buildPhysicalKeyboardSearchResults()
132 int wordDiff = SearchQueryUtils.getWordDifference(title, mQuery); in buildVirtualKeyboardSearchResults() local
133 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()
DInstalledAppResultTask.java83 final int wordDiff = SearchQueryUtils.getWordDifference(label.toString(), mQuery); in query() local
84 if (wordDiff == SearchQueryUtils.NAME_NO_MATCH) { in query()
99 .setRank(getRank(wordDiff)) in query()
124 private int getRank(int wordDiff) { in getRank() argument
125 if (wordDiff < 6) { in getRank()
DAccessibilityServiceResultTask.java83 final int wordDiff = SearchQueryUtils.getWordDifference(title.toString(), mQuery); in query() local
84 if (wordDiff == NAME_NO_MATCH) { in query()
97 .setRank(wordDiff) in query()