Searched defs:array1 (Results 1 - 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DFormatUtils.java57 * Finds the earliest point in array1 at which the first part of array2 matches. For example,
60 public static int overlapPoint(char[] array1, char[] array2) { argument
61 if (array1 == null || array2 == null) {
64 int count1 = array1.length;
68 while (count1 > 0 && count2 > 0 && array1[count1 - 1] == array2[count2 - 1]) {
80 if (array1[i+j] != array2[j]) {
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContentProvider.java158 private static boolean equals(String[] array1, String[] array2) { argument
159 boolean empty1 = array1 == null || array1.length == 0;
168 if (array1.length != array2.length) return false;
170 for (int i = 0; i < array1.length; i++) {
171 if (!array1[i].equals(array2[i])) {
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DAddressUnitTests.java603 private static boolean addressArrayEquals(Address[] array1, Address[] array2) { argument
604 if (array1.length != array2.length) {
607 for (int i = array1.length - 1; i >= 0; --i) {
608 if (!addressEquals(array1[i], array2[i])) {

Completed in 112 milliseconds