Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java97 int length2 = array2.length; in getDistance() local
98 if (length2 > mMaxLength) { in getDistance()
99 length2 = mMaxLength; in getDistance()
103 Arrays.fill(mMatchFlags2, 0, length2, false); in getDistance()
105 int range = length2 / 2 - 1; in getDistance()
120 if (to > length2) { in getDistance()
121 to = length2; in getDistance()
152 float jaro = ((m / length1 + m / length2 + (m - (transpositions / 2f)) / m)) / 3; in getDistance()
167 return jaro + Math.min(0.1f, 1f / length2) * prefix * (1 - jaro); in getDistance()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java327 final int length2 = srcLength * 2 - startPos; in testFill() local
328 final int largeEnd = startPos + length2; in testFill()
331 src.fill(fillValue2, startPos, length2); in testFill()
343 final int startPos2 = largeEnd + length2; in testFill()
344 final int endPos2 = startPos2 + length2; in testFill()
346 src.fill(fillValue3, startPos2, length2); in testFill()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java475 final int length2 = uuids2 == null ? 0 : uuids2.length; in areUuidsEqual() local
476 if (length1 != length2) { in areUuidsEqual()
483 for (int i = 0; i < length2; ++i) { in areUuidsEqual()