Searched refs:mimetype1 (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | MoreContactUtilsTest.java | 150 private void assertCollapses(String message, boolean expected, CharSequence mimetype1, in assertCollapses() argument 152 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, mimetype2, in assertCollapses() 154 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype2, data2, mimetype1, in assertCollapses() 170 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, in assertCollapses() 173 mimetype1, data1)); in assertCollapses()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | MoreContactUtils.java | 41 CharSequence mimetype1, CharSequence data1, CharSequence mimetype2, CharSequence data2) { in shouldCollapse() argument 43 if (!TextUtils.equals(mimetype1, mimetype2)) { in shouldCollapse() 59 if (!TextUtils.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, mimetype1)) { in shouldCollapse()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | MoreContactUtils.java | 47 public static boolean shouldCollapse(CharSequence mimetype1, CharSequence data1, in shouldCollapse() argument 50 if (!TextUtils.equals(mimetype1, mimetype2)) return false; in shouldCollapse() 61 mimetype1)) { in shouldCollapse()
|