Home
last modified time | relevance | path

Searched refs:ImDataItem (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DImDataItem.java30 public class ImDataItem extends DataItem { class
34 /* package */ ImDataItem(ContentValues values) { in ImDataItem() method in ImDataItem
39 private ImDataItem(ContentValues values, boolean createdFromEmail) { in ImDataItem() method in ImDataItem
44 public static ImDataItem createFromEmail(EmailDataItem item) { in createFromEmail()
45 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail()
86 if (!(t instanceof ImDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
89 final ImDataItem that = (ImDataItem) t; in shouldCollapseWith()
DDataItem.java69 return new ImDataItem(values); in createFrom()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DImDataItem.java32 public class ImDataItem extends DataItem { class
36 /* package */ ImDataItem(ContentValues values) { in ImDataItem() method in ImDataItem
41 private ImDataItem(ContentValues values, boolean createdFromEmail) { in ImDataItem() method in ImDataItem
46 public static ImDataItem createFromEmail(EmailDataItem item) { in createFromEmail()
47 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail()
90 if (!(t instanceof ImDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith()
93 final ImDataItem that = (ImDataItem) t; in shouldCollapseWith()
DDataItem.java70 return new ImDataItem(values); in createFrom()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java31 import com.android.contacts.model.dataitem.ImDataItem;
88 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentCustom()
110 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntent()
129 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithAudio()
151 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithVideo()
175 final ImDataItem im = ImDataItem.createFromEmail( in testImEmailIntent()
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java32 import com.android.contacts.model.dataitem.ImDataItem;
162 private static Intent getCustomImIntent(ImDataItem im, int protocol) { in getCustomImIntent()
186 public static Pair<Intent, Intent> buildImIntent(Context context, ImDataItem im) { in buildImIntent()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java39 import com.android.contacts.model.dataitem.ImDataItem;
175 } else if (item instanceof ImDataItem) { in DataAction()
176 ImDataItem im = (ImDataItem) item; in DataAction()
DQuickContactActivity.java140 import com.android.contacts.model.dataitem.ImDataItem;
1407 if (dataItem instanceof ImDataItem) { in dataItemToEntry()
1408 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java199 assertEquals(address1, ((ImDataItem) dataList.get(0)).getData()); in testDataItemCollapsing_im()
200 assertEquals(address1, ((ImDataItem) dataList.get(1)).getData()); in testDataItemCollapsing_im()
201 assertEquals(address2, ((ImDataItem) dataList.get(2)).getData()); in testDataItemCollapsing_im()
203 assertEquals(customProtocol1, ((ImDataItem) dataList.get(0)).getCustomProtocol()); in testDataItemCollapsing_im()
204 assertEquals(customProtocol2, ((ImDataItem) dataList.get(1)).getCustomProtocol()); in testDataItemCollapsing_im()
205 assertEquals(Im.PROTOCOL_AIM, (int) ((ImDataItem) dataList.get(2)).getProtocol()); in testDataItemCollapsing_im()
/packages/apps/Contacts/
Dproguard.flags65 -keep class com.android.contacts.model.dataitem.ImDataItem { *; }