Home
last modified time | relevance | path

Searched refs:mimetype1 (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DMoreContactUtilsTest.java150 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/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java398 public static final boolean areDataEqual(Context context, CharSequence mimetype1, in areDataEqual() argument
400 if (TextUtils.equals(Phone.CONTENT_ITEM_TYPE, mimetype1) in areDataEqual()
410 if (mimetype1 == mimetype2 && data1 == data2) { in areDataEqual()
413 return TextUtils.equals(mimetype1, mimetype2) && TextUtils.equals(data1, data2); in areDataEqual()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DMoreContactUtils.java47 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()