Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java417 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity() local
430 processOneRecord(rawContact, item, mimetype); in loadEncodedContactEntity()
433 processOneRecord(rawContact, obj, mimetype); in loadEncodedContactEntity()
438 .add(rawContact) in loadEncodedContactEntity()
443 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord() argument
459 rawContact.addDataItemValues(itemValues); in processOneRecord()
483 RawContact rawContact = null; in loadContactEntity() local
494 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
495 rawContactsBuilder.add(rawContact); in loadContactEntity()
499 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/
DContactEditorFragment.java552 RawContact rawContact = mRawContacts.get(0); in setData() local
553 String type = rawContact.getAccountTypeString(); in setData()
554 String dataSet = rawContact.getDataSet(); in setData()
555 AccountType accountType = rawContact.getAccountType(mContext); in setData()
559 String name = rawContact.getAccountName(); in setData()
560 long rawContactId = rawContact.getId(); in setData()
623 final RawContact rawContact = new RawContact(); in bindEditorsForExistingContact() local
624 rawContact.setAccountToLocal(); in bindEditorsForExistingContact()
627 rawContact.getValues())); in bindEditorsForExistingContact()
774 final RawContact rawContact = new RawContact(); in bindEditorsForNewContact() local
[all …]
DAggregationSuggestionView.java119 for (RawContact rawContact : mRawContacts) { in canEditSuggestedContact()
120 String accountType = rawContact.accountType; in canEditSuggestedContact()
121 String dataSet = rawContact.dataSet; in canEditSuggestedContact()
144 for (RawContact rawContact : mRawContacts) { in handleItemClickEvent()
145 rawContactIds.add(rawContact.rawContactId); in handleItemClickEvent()
DAggregationSuggestionEngine.java397 RawContact rawContact = new RawContact(); in getSuggestions() local
398 rawContact.rawContactId = rawContactId; in getSuggestions()
399 rawContact.accountName = mDataCursor.getString(DataQuery.ACCOUNT_NAME); in getSuggestions()
400 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); in getSuggestions()
401 rawContact.dataSet = mDataCursor.getString(DataQuery.DATA_SET); in getSuggestions()
402 suggestion.rawContacts.add(rawContact); in getSuggestions()
/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.java1165 for (RawContact rawContact : data.getRawContacts()) { in generateDataModelFromContact()
1166 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact()
1167 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact()
1172 final AccountType accountType = rawContact.getAccountType(this); in generateDataModelFromContact()
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java641 final RawContact rawContact = new RawContact(); in addEditableRawContact() local
642 rawContact.setAccount(editableAccount); in addEditableRawContact()
645 rawContact.getValues())); in addEditableRawContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java122 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
124 rawContact.getDataItems(), OrganizationDataItem.class)) { in getCompany()