Searched refs:ImDataItem (Results 1 – 7 of 7) sorted by relevance
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | ImDataItem.java | 30 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() 88 if (!(t instanceof ImDataItem) || mKind == null || t.getDataKind() == null) { in shouldCollapseWith() 91 final ImDataItem that = (ImDataItem) t; in shouldCollapseWith()
|
D | DataItem.java | 72 return new ImDataItem(values); in createFrom()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | ContactsUtilsTests.java | 31 import com.android.contacts.common.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/quickcontact/ |
D | DataAction.java | 40 import com.android.contacts.common.model.dataitem.ImDataItem; 180 } else if (item instanceof ImDataItem) { in DataAction() 181 ImDataItem im = (ImDataItem) item; in DataAction()
|
D | QuickContactActivity.java | 134 import com.android.contacts.common.model.dataitem.ImDataItem; 1734 if (dataItem instanceof ImDataItem) { in dataItemToEntry() 1735 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactsUtils.java | 33 import com.android.contacts.common.model.dataitem.ImDataItem; 175 private static Intent getCustomImIntent(ImDataItem im, int protocol) { in getCustomImIntent() 199 public static Pair<Intent, Intent> buildImIntent(Context context, ImDataItem im) { in buildImIntent()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
D | DataItemTests.java | 208 assertEquals(address1, ((ImDataItem) dataList.get(0)).getData()); in testDataItemCollapsing_im() 209 assertEquals(address1, ((ImDataItem) dataList.get(1)).getData()); in testDataItemCollapsing_im() 210 assertEquals(address2, ((ImDataItem) dataList.get(2)).getData()); in testDataItemCollapsing_im() 212 assertEquals(customProtocol1, ((ImDataItem) dataList.get(0)).getCustomProtocol()); in testDataItemCollapsing_im() 213 assertEquals(customProtocol2, ((ImDataItem) dataList.get(1)).getCustomProtocol()); in testDataItemCollapsing_im() 214 assertEquals(Im.PROTOCOL_AIM, (int) ((ImDataItem) dataList.get(2)).getProtocol()); in testDataItemCollapsing_im()
|