Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java65 byte[] array1, array2; in getDistance()
69 array1 = bytes2; in getDistance()
72 array1 = bytes1; in getDistance()
75 int length1 = array1.length; in getDistance()
78 for (int i = 0; i < array1.length; i++) { in getDistance()
79 if (array1[i] != array2[i]) { in getDistance()
112 byte c1 = array1[i]; in getDistance()
144 if (array1[i] != array2[j]) { in getDistance()
/packages/apps/Contacts/src/com/android/contacts/format/
DFormatUtils.java60 public static int overlapPoint(char[] array1, char[] array2) { in overlapPoint() argument
61 if (array1 == null || array2 == null) { in overlapPoint()
64 int count1 = array1.length; in overlapPoint()
68 while (count1 > 0 && count2 > 0 && array1[count1 - 1] == array2[count2 - 1]) { in overlapPoint()
80 if (array1[i+j] != array2[j]) { in overlapPoint()
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
DAddressUnitTests.java618 private static boolean addressArrayEquals(Address[] array1, Address[] array2) { in addressArrayEquals() argument
619 if (array1.length != array2.length) { in addressArrayEquals()
622 for (int i = array1.length - 1; i >= 0; --i) { in addressArrayEquals()
623 if (!addressEquals(array1[i], array2[i])) { in addressArrayEquals()