Home
last modified time | relevance | path

Searched refs:dataItem (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java1591 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact()
1592 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact()
1594 final String mimeType = dataItem.getMimeType(); in generateDataModelFromContact()
1602 dataItem.setDataKind(dataKind); in generateDataModelFromContact()
1604 final boolean hasData = !TextUtils.isEmpty(dataItem.buildDataString(this, in generateDataModelFromContact()
1614 dataItemListByType.add(dataItem); in generateDataModelFromContact()
1704 private static Entry dataItemToEntry(DataItem dataItem, DataItem secondDataItem, in dataItemToEntry() argument
1732 DataKind kind = dataItem.getDataKind(); in dataItemToEntry()
1734 if (dataItem instanceof ImDataItem) { in dataItemToEntry()
1735 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry()
[all …]
DInvisibleContactUtil.java59 for (DataItem dataItem : Iterables.filter( in isInvisibleAndAddable()
61 GroupMembershipDataItem groupMembership = (GroupMembershipDataItem) dataItem; in isInvisibleAndAddable()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DRawContactTest.java38 final ContentValues dataItem = new ContentValues(); in buildRawContact() local
39 dataItem.put("key3", "value3"); in buildRawContact()
40 dataItem.put("key4", "value4"); in buildRawContact()
43 contact.addDataItemValues(dataItem); in buildRawContact()
53 final ContentValues dataItem = new ContentValues(); in buildRawContact2() local
54 dataItem.put("key33", "value33"); in buildRawContact2()
55 dataItem.put("key44", "value44"); in buildRawContact2()
58 contact.addDataItemValues(dataItem); in buildRawContact2()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContact.java326 for (NamedDataItem dataItem : mDataItems) { in getContentValues()
327 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues()
328 list.add(dataItem.mContentValues); in getContentValues()
336 for (NamedDataItem dataItem : mDataItems) { in getDataItems()
337 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems()
338 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
DContactLoader.java592 for (DataItem dataItem : rawContact.getDataItems()) { in loadThumbnailBinaryData()
593 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData()
594 if (!(dataItem instanceof PhotoDataItem)) { in loadThumbnailBinaryData()
598 final PhotoDataItem photo = (PhotoDataItem) dataItem; in loadThumbnailBinaryData()
905 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers() local
906 if (dataItem instanceof PhoneDataItem) { in computeFormattedPhoneNumbers()
907 final PhoneDataItem phoneDataItem = (PhoneDataItem) dataItem; in computeFormattedPhoneNumbers()
DRawContactModifier.java646 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(phoneticName, null); in parseStructuredNameExtra() local
647 child.put(StructuredName.PHONETIC_FAMILY_NAME, dataItem.getPhoneticFamilyName()); in parseStructuredNameExtra()
648 child.put(StructuredName.PHONETIC_MIDDLE_NAME, dataItem.getPhoneticMiddleName()); in parseStructuredNameExtra()
649 child.put(StructuredName.PHONETIC_GIVEN_NAME, dataItem.getPhoneticGivenName()); in parseStructuredNameExtra()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhoneticNameEditorView.java64 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(value, null); in parsePhoneticName() local
65 mValues.setPhoneticFamilyName(dataItem.getPhoneticFamilyName()); in parsePhoneticName()
66 mValues.setPhoneticMiddleName(dataItem.getPhoneticMiddleName()); in parsePhoneticName()
67 mValues.setPhoneticGivenName(dataItem.getPhoneticGivenName()); in parsePhoneticName()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java123 for (DataItem dataItem : Iterables.filter( in getCompany()
125 OrganizationDataItem organization = (OrganizationDataItem) dataItem; in getCompany()