Home
last modified time | relevance | path

Searched refs:array2 (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java65 byte[] array1, array2; in getDistance()
68 array2 = bytes1; in getDistance()
71 array2 = bytes2; in getDistance()
79 if (array1[i] != array2[i]) { in getDistance()
97 int length2 = array2.length; in getDistance()
125 if (!mMatchFlags2[j] && c1 == array2[j]) { in getDistance()
144 if (array1[i] != array2[j]) { in getDistance()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java39 int[] array2 = null, array3 = null; in testAdd() local
46 array2 = src.getPrimitiveArray(); in testAdd()
54 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testAdd()
119 final int[] array2 = src.getPrimitiveArray(); in testReset() local
121 assertNotSame("array after reset", array, array2); in testReset()
132 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testReset()
150 final int[] array2 = src.getPrimitiveArray(); in testSetLength() local
152 assertNotSame("array after larger setLength", array, array2); in testSetLength()
153 assertEquals("array length after larger setLength", largerLength, array2.length); in testSetLength()
167 assertSame("array after smaller setLength", array2, array3); in testSetLength()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
DFormatUtils.java60 public static int overlapPoint(char[] array1, char[] array2) { in overlapPoint() argument
61 if (array1 == null || array2 == null) { in overlapPoint()
65 int count2 = array2.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()
623 if (!addressEquals(array1[i], array2[i])) { in addressArrayEquals()