Home
last modified time | relevance | path

Searched refs:RelationDataItem (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DRelationDataItem.java28 public class RelationDataItem extends DataItem { class
30 /* package */ RelationDataItem(ContentValues values) { in RelationDataItem() method in RelationDataItem
44 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
47 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith()
DDataItem.java83 return new RelationDataItem(values); in createFrom()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DRelationDataItem.java29 public class RelationDataItem extends DataItem { class
31 /* package */ RelationDataItem(ContentValues values) { in RelationDataItem() method in RelationDataItem
45 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
48 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith()
DDataItem.java86 return new RelationDataItem(values); in createFrom()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java355 assertEquals(name1, ((RelationDataItem) dataList.get(0)).getName()); in testDataItemCollapsing_relation()
356 assertEquals(name2, ((RelationDataItem) dataList.get(2)).getName()); in testDataItemCollapsing_relation()
358 assertEquals(customRelation1, ((RelationDataItem) dataList.get(0)).getLabel()); in testDataItemCollapsing_relation()
359 assertEquals(customRelation2, ((RelationDataItem) dataList.get(1)).getLabel()); in testDataItemCollapsing_relation()
/packages/apps/Contacts/
Dproguard.flags68 -keep class com.android.contacts.model.dataitem.RelationDataItem { *; }
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java153 import com.android.contacts.model.dataitem.RelationDataItem;
1732 } else if (dataItem instanceof RelationDataItem) { in dataItemToEntry()
1733 final RelationDataItem relation = (RelationDataItem) dataItem; in dataItemToEntry()