Home
last modified time | relevance | path

Searched refs:rawContact (Results 1 – 11 of 11) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java435 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity() local
448 processOneRecord(rawContact, item, mimetype); in loadEncodedContactEntity()
451 processOneRecord(rawContact, obj, mimetype); in loadEncodedContactEntity()
456 .add(rawContact) in loadEncodedContactEntity()
461 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord() argument
477 rawContact.addDataItemValues(itemValues); in processOneRecord()
501 RawContact rawContact = null; in loadContactEntity() local
512 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
513 rawContactsBuilder.add(rawContact); in loadContactEntity()
517 rawContact.addDataItemValues(data); in loadContactEntity()
[all …]
DContact.java395 for (RawContact rawContact : getRawContacts()) { in getFirstWritableRawContactId()
396 AccountType accountType = rawContact.getAccountType(context); in getFirstWritableRawContactId()
398 return rawContact.getId(); in getFirstWritableRawContactId()
439 RawContact rawContact = mRawContacts.get(0); in getContentValues() local
440 ArrayList<ContentValues> result = rawContact.getContentValues(); in getContentValues()
DRawContact.java127 RawContact rawContact = new RawContact(values); in createFrom() local
129 rawContact.addNamedDataItemValues(subValue.uri, subValue.values); in createFrom()
131 return rawContact; in createFrom()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionView.java120 for (RawContact rawContact : mRawContacts) { in canEditSuggestedContact()
121 String accountType = rawContact.accountType; in canEditSuggestedContact()
122 String dataSet = rawContact.dataSet; in canEditSuggestedContact()
148 for (RawContact rawContact : mRawContacts) { in handleItemClickEvent()
149 rawContactIds.add(rawContact.rawContactId); in handleItemClickEvent()
DContactEditorBaseFragment.java1157 RawContact rawContact = mRawContacts.get(0); in setState() local
1158 String type = rawContact.getAccountTypeString(); in setState()
1159 String dataSet = rawContact.getDataSet(); in setState()
1160 AccountType accountType = rawContact.getAccountType(mContext); in setState()
1164 String name = rawContact.getAccountName(); in setState()
1165 long rawContactId = rawContact.getId(); in setState()
1225 final RawContact rawContact = new RawContact(); in createNewRawContactDelta() local
1227 rawContact.setAccount(account); in createNewRawContactDelta()
1229 rawContact.setAccountToLocal(); in createNewRawContactDelta()
1233 ValuesDelta.fromAfter(rawContact.getValues())); in createNewRawContactDelta()
[all …]
DAggregationSuggestionEngine.java444 RawContact rawContact = new RawContact(); in getSuggestions() local
445 rawContact.rawContactId = rawContactId; in getSuggestions()
446 rawContact.accountName = mDataCursor.getString(DataQuery.ACCOUNT_NAME); in getSuggestions()
447 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); in getSuggestions()
448 rawContact.dataSet = mDataCursor.getString(DataQuery.DATA_SET); in getSuggestions()
449 suggestion.rawContacts.add(rawContact); in getSuggestions()
DContactEditorFragment.java469 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { in setPhoto() argument
470 BaseRawContactEditorView requestingEditor = getRawContactEditorView(rawContact); in setPhoto()
494 mUpdatedPhotos.putParcelable(String.valueOf(rawContact), photoUri); in setPhoto()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java52 final RawContact rawContact = (RawContact) contactData.getRawContacts().get(0); in isInvisibleAndAddable()
53 final AccountType type = rawContact.getAccountType(context); in isInvisibleAndAddable()
60 rawContact.getDataItems(), GroupMembershipDataItem.class)) { in isInvisibleAndAddable()
DQuickContactActivity.java1590 for (RawContact rawContact : data.getRawContacts()) { in generateDataModelFromContact()
1591 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact()
1592 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact()
1597 final AccountType accountType = rawContact.getAccountType(this); in generateDataModelFromContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java122 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
124 rawContact.getDataItems(), OrganizationDataItem.class)) { in getCompany()
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java644 final RawContact rawContact = new RawContact(); in addEditableRawContact() local
645 rawContact.setAccount(editableAccount); in addEditableRawContact()
648 rawContact.getValues())); in addEditableRawContact()