Searched refs:RelationDataItem (Results 1 – 7 of 7) sorted by relevance
28 public class RelationDataItem extends DataItem { class30 /* package */ RelationDataItem(ContentValues values) { in RelationDataItem() method in RelationDataItem44 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()47 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith()
83 return new RelationDataItem(values); in createFrom()
29 public class RelationDataItem extends DataItem { class31 /* package */ RelationDataItem(ContentValues values) { in RelationDataItem() method in RelationDataItem45 if (!(t instanceof RelationDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()48 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith()
86 return new RelationDataItem(values); in createFrom()
355 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()
68 -keep class com.android.contacts.model.dataitem.RelationDataItem { *; }
153 import com.android.contacts.model.dataitem.RelationDataItem;1732 } else if (dataItem instanceof RelationDataItem) { in dataItemToEntry()1733 final RelationDataItem relation = (RelationDataItem) dataItem; in dataItemToEntry()