Searched refs:overlapPoint (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
D | FormatUtilsTests.java | 30 assertEquals(2, FormatUtils.overlapPoint("abcde", "cdefg")); in testOverlapPoint() 31 assertEquals(-1, FormatUtils.overlapPoint("John Doe", "John Doe")); in testOverlapPoint() 32 assertEquals(5, FormatUtils.overlapPoint("John Doe", "Doe, John")); in testOverlapPoint() 33 assertEquals(-1, FormatUtils.overlapPoint("Mr. John Doe", "Mr. Doe, John")); in testOverlapPoint() 34 assertEquals(13, FormatUtils.overlapPoint("John Herbert Doe", "Doe, John Herbert")); in testOverlapPoint()
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 36 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { in overlapPoint() method in FormatUtils 40 return overlapPoint(Arrays.copyOfRange(buffer1.data, 0, buffer1.sizeCopied), in overlapPoint() 49 public static int overlapPoint(String string1, String string2) { in overlapPoint() method in FormatUtils 53 return overlapPoint(string1.toCharArray(), string2.toCharArray()); in overlapPoint() 60 public static int overlapPoint(char[] array1, char[] array2) { in overlapPoint() method in FormatUtils
|
/packages/apps/Dialer/java/com/android/contacts/common/format/ |
D | FormatUtils.java | 32 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { in overlapPoint() method in FormatUtils 36 return overlapPoint( in overlapPoint() 46 public static int overlapPoint(String string1, String string2) { in overlapPoint() method in FormatUtils 50 return overlapPoint(string1.toCharArray(), string2.toCharArray()); in overlapPoint() 57 public static int overlapPoint(char[] array1, char[] array2) { in overlapPoint() method in FormatUtils
|