Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java85 final int targetLen = target.length; in findMatches() local
86 final int[] result = new int[targetLen]; in findMatches()
88 for (int i = 0; i < targetLen; ++i) { in findMatches()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java68 final int targetLen = trg.length; in calculate() local
73 for (int t = 1; t <= targetLen; ++t) { in calculate()
95 return distTab[sourceLen][targetLen]; in calculate()