Searched refs:array2 (Results 1 – 4 of 4) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 65 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/ |
D | ResizableIntArrayTests.java | 52 int[] array2 = null, array3 = null; in testAdd() local 59 array2 = src.getPrimitiveArray(); in testAdd() 67 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testAdd() 135 final int[] array2 = src.getPrimitiveArray(); in testReset() local 137 assertNotSame("array after reset", array, array2); in testReset() 148 assertSame("array after add " + i, array2, src.getPrimitiveArray()); in testReset() 167 final int[] array2 = src.getPrimitiveArray(); in testSetLength() local 169 assertNotSame("array after larger setLength", array, array2); in testSetLength() 170 assertEquals("array length after larger setLength", largerLength, array2.length); in testSetLength() 184 assertSame("array after smaller setLength", array2, array3); in testSetLength() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 60 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/SecureElement/src/com/android/se/internal/ |
D | Util.java | 37 public static byte[] mergeBytes(byte[] array1, byte[] array2) { in mergeBytes() argument 38 byte[] data = new byte[array1.length + array2.length]; in mergeBytes() 40 System.arraycopy(array2, 0, data, array1.length, array2.length); in mergeBytes()
|