Searched refs:dataItem (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1231 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact() 1232 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact() 1234 final String mimeType = dataItem.getMimeType(); in generateDataModelFromContact() 1244 dataItem.setDataKind(dataKind); in generateDataModelFromContact() 1246 final boolean hasData = !TextUtils.isEmpty(dataItem.buildDataString(this, in generateDataModelFromContact() 1260 dataItemListByType.add(dataItem); in generateDataModelFromContact() 1375 private static Entry dataItemToEntry(DataItem dataItem, DataItem secondDataItem, in dataItemToEntry() argument 1405 DataKind kind = dataItem.getDataKind(); in dataItemToEntry() 1407 if (dataItem instanceof ImDataItem) { in dataItemToEntry() 1408 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry() [all …]
|
D | InvisibleContactUtil.java | 59 for (DataItem dataItem : Iterables.filter( in isInvisibleAndAddable() 61 GroupMembershipDataItem groupMembership = (GroupMembershipDataItem) dataItem; in isInvisibleAndAddable()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactTest.java | 38 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/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 236 for (NamedDataItem dataItem : mDataItems) { in getContentValues() 237 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues() 238 list.add(dataItem.mContentValues); in getContentValues() 246 for (NamedDataItem dataItem : mDataItems) { in getDataItems() 247 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems() 248 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
|
D | ContactLoader.java | 374 for (DataItem dataItem : rawContact.getDataItems()) { in loadThumbnailBinaryData() 375 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData() 376 if (!(dataItem instanceof PhotoDataItem)) { in loadThumbnailBinaryData() 380 final PhotoDataItem photo = (PhotoDataItem) dataItem; in loadThumbnailBinaryData() 669 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers() local 670 if (dataItem instanceof PhoneDataItem) { in computeFormattedPhoneNumbers() 671 final PhoneDataItem phoneDataItem = (PhoneDataItem) dataItem; in computeFormattedPhoneNumbers()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 326 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()
|
D | ContactLoader.java | 562 for (DataItem dataItem : rawContact.getDataItems()) { in loadThumbnailBinaryData() 563 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData() 564 if (!(dataItem instanceof PhotoDataItem)) { in loadThumbnailBinaryData() 568 final PhotoDataItem photo = (PhotoDataItem) dataItem; in loadThumbnailBinaryData() 831 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers() local 832 if (dataItem instanceof PhoneDataItem) { in computeFormattedPhoneNumbers() 833 final PhoneDataItem phoneDataItem = (PhoneDataItem) dataItem; in computeFormattedPhoneNumbers()
|
D | RawContactModifier.java | 644 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(phoneticName, null); in parseStructuredNameExtra() local 645 child.put(StructuredName.PHONETIC_FAMILY_NAME, dataItem.getPhoneticFamilyName()); in parseStructuredNameExtra() 646 child.put(StructuredName.PHONETIC_MIDDLE_NAME, dataItem.getPhoneticMiddleName()); in parseStructuredNameExtra() 647 child.put(StructuredName.PHONETIC_GIVEN_NAME, dataItem.getPhoneticGivenName()); in parseStructuredNameExtra()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 121 for (DataItem dataItem : Iterables.filter( in getCompany() 123 OrganizationDataItem organization = (OrganizationDataItem) dataItem; in getCompany()
|