Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java75 int length1 = array1.length; in getDistance() local
76 if (length1 >= MIN_EXACT_PREFIX_LENGTH) { in getDistance()
93 if (length1 > mMaxLength) { in getDistance()
94 length1 = mMaxLength; in getDistance()
102 Arrays.fill(mMatchFlags1, 0, length1, false); in getDistance()
111 for (int i = 0; i < length1; i++) { in getDistance()
139 for (int i = 0; i < length1; i++) { in getDistance()
152 float jaro = ((m / length1 + m / length2 + (m - (transpositions / 2f)) / m)) / 3; in getDistance()
160 for (int i = 0; i < length1; i++) { in getDistance()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Ddamerau_levenshtein_edit_distance_policy.h28 const int *const string1, const int length1) in DamerauLevenshteinEditDistancePolicy() argument
30 mString1Length(length1) {} in DamerauLevenshteinEditDistancePolicy()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java463 final int length1 = uuids1 == null ? 0 : uuids1.length; in areUuidsEqual() local
465 if (length1 != length2) { in areUuidsEqual()
469 for (int i = 0; i < length1; ++i) { in areUuidsEqual()