Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java106 public EditOperation[] getTargetOperations() { in getTargetOperations()
108 final EditOperation[] ops = new EditOperation[trgLen]; in getTargetOperations()
120 ops[targetPos] = new EditOperation(editType, sourcePos); in getTargetOperations()
126 ops[targetPos] = new EditOperation(editType, sourcePos); in getTargetOperations()
134 public static final class EditOperation { class in LevenshteinDistance
137 public EditOperation(int type, int position) { in EditOperation() method in LevenshteinDistance.EditOperation
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java19 import com.android.quicksearchbox.util.LevenshteinDistance.EditOperation;
46 EditOperation[] ops = distance.getTargetOperations(); in verifyTargetOperations()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java87 LevenshteinDistance.EditOperation[] ops = table.getTargetOperations(); in findMatches()