Searched refs:length2 (Results 1 – 4 of 4) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 97 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KeyAttestationCertificateChainRecordTest.java | 60 byte[] length2 = new byte[BYTES_TO_ENCODE_CERTIFICATE_LENGTH]; in test_serialize() 62 encoded, 4 + FAKE_CERT_1.length, length2, 0, BYTES_TO_ENCODE_CERTIFICATE_LENGTH); in test_serialize() 63 assertThat(ByteBuffer.wrap(length2).getInt()).isEqualTo(FAKE_CERT_2.length); in test_serialize()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 327 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/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 843 final int length2 = uuids2 == null ? 0 : uuids2.length; in areUuidsEqual() local 844 if (length1 != length2) { in areUuidsEqual() 851 for (int i = 0; i < length2; ++i) { in areUuidsEqual()
|