Home
last modified time | relevance | path

Searched refs:prefixOf (Results 1 – 2 of 2) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java75 int cost = sourceToken.prefixOf(targetToken) ? 0 : 1; in calculate()
170 public boolean prefixOf(final Token that) { in prefixOf() method in LevenshteinDistance.Token
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java116 srcToken.prefixOf(trgToken)); in verifyFindMatches()