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.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/
DContactEditorBaseFragment.java1159 RawContact rawContact = mRawContacts.get(0); in setState() local
1160 String type = rawContact.getAccountTypeString(); in setState()
1161 String dataSet = rawContact.getDataSet(); in setState()
1162 AccountType accountType = rawContact.getAccountType(mContext); in setState()
1166 String name = rawContact.getAccountName(); in setState()
1167 long rawContactId = rawContact.getId(); in setState()
1223 final RawContact rawContact = new RawContact(); in createNewRawContactDelta() local
1225 rawContact.setAccount(account); in createNewRawContactDelta()
1227 rawContact.setAccountToLocal(); in createNewRawContactDelta()
1231 ValuesDelta.fromAfter(rawContact.getValues())); in createNewRawContactDelta()
[all …]
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()
DAggregationSuggestionEngine.java396 RawContact rawContact = new RawContact(); in getSuggestions() local
397 rawContact.rawContactId = rawContactId; in getSuggestions()
398 rawContact.accountName = mDataCursor.getString(DataQuery.ACCOUNT_NAME); in getSuggestions()
399 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); in getSuggestions()
400 rawContact.dataSet = mDataCursor.getString(DataQuery.DATA_SET); in getSuggestions()
401 suggestion.rawContacts.add(rawContact); in getSuggestions()
DContactEditorFragment.java543 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) { in setPhoto() argument
544 BaseRawContactEditorView requestingEditor = getRawContactEditorView(rawContact); in setPhoto()
571 if (isInsert(getActivity().getIntent()) && rawContact < 0) { in setPhoto()
574 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.java1244 for (RawContact rawContact : data.getRawContacts()) { in generateDataModelFromContact()
1245 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact()
1246 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact()
1251 final AccountType accountType = rawContact.getAccountType(this); in generateDataModelFromContact()
/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()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java122 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
124 rawContact.getDataItems(), OrganizationDataItem.class)) { in getCompany()