Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java112 RawContact rawContact = new RawContact(); in loadInBackground() local
113 rawContact.id = rawContactCursor.getLong(RAW_CONTACT_ID); in loadInBackground()
114 photoSelection.append(rawContact.id).append(','); in loadInBackground()
115 rawContact.displayName = rawContactCursor.getString(DISPLAY_NAME_PRIMARY); in loadInBackground()
116 rawContact.displayNameAlt = rawContactCursor.getString(DISPLAY_NAME_ALTERNATIVE); in loadInBackground()
117 rawContact.accountName = rawContactCursor.getString(ACCOUNT_NAME); in loadInBackground()
118 rawContact.accountType = rawContactCursor.getString(ACCOUNT_TYPE); in loadInBackground()
119 rawContact.accountDataSet = rawContactCursor.getString(DATA_SET); in loadInBackground()
120 result.rawContacts.add(rawContact); in loadInBackground()
121 rawContactMap.put(rawContact.id, rawContact); in loadInBackground()
[all …]
DPickRawContactDialogFragment.java99 final RawContact rawContact = mRawContactsMetadata.rawContacts.get(position); in getView() local
100 final AccountType account = mAccountTypeManager.getAccountType(rawContact.accountType, in getView()
101 rawContact.accountDataSet); in getView()
105 ? rawContact.displayName : rawContact.displayNameAlt; in getView()
118 new AccountWithDataSet(rawContact.accountName, in getView()
119 rawContact.accountType, rawContact.accountDataSet)); in getView()
122 } else if (GoogleAccountType.ACCOUNT_TYPE.equals(rawContact.accountType) in getView()
125 accountDisplayLabel = rawContact.accountName; in getView()
134 displayName, String.valueOf(rawContact.id), /* isCircular = */ true); in getView()
137 rawContact.photoId, in getView()
DContactEditorFragment.java1156 final RawContact rawContact = new RawContact(); in createNewRawContactDelta() local
1158 rawContact.setAccount(account); in createNewRawContactDelta()
1160 rawContact.setAccountToLocal(); in createNewRawContactDelta()
1164 ValuesDelta.fromAfter(rawContact.getValues())); in createNewRawContactDelta()
1252 final RawContact rawContact = new RawContact(); in createLocalRawContactDelta() local
1253 rawContact.setAccountToLocal(); in createLocalRawContactDelta()
1256 ValuesDelta.fromAfter(rawContact.getValues())); in createLocalRawContactDelta()
1590 for (RawContactDelta rawContact : mState) { in getContactId()
1591 Long contactId = rawContact.getValues().getAsLong(RawContacts.CONTACT_ID); in getContactId()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java176 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity() local
189 processOneRecord(rawContact, item, mimetype); in loadEncodedContactEntity()
192 processOneRecord(rawContact, obj, mimetype); in loadEncodedContactEntity()
196 contact.setRawContacts(new ImmutableList.Builder<RawContact>().add(rawContact).build()); in loadEncodedContactEntity()
200 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord() argument
216 rawContact.addDataItemValues(itemValues); in processOneRecord()
293 RawContact rawContact = null; in loadContactEntity() local
302 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
303 rawContactsBuilder.add(rawContact); in loadContactEntity()
307 rawContact.addDataItemValues(data); in loadContactEntity()
[all …]
DRawContact.java90 RawContact rawContact = new RawContact(values); in createFrom() local
92 rawContact.addNamedDataItemValues(subValue.uri, subValue.values); in createFrom()
94 return rawContact; in createFrom()
DContact.java332 RawContact rawContact = mRawContacts.get(0); in getContentValues() local
333 ArrayList<ContentValues> result = rawContact.getContentValues(); in getContentValues()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java405 final RawContact rawContact = new RawContact(values); in loadEncodedContactEntity() local
418 processOneRecord(rawContact, item, mimetype); in loadEncodedContactEntity()
421 processOneRecord(rawContact, obj, mimetype); in loadEncodedContactEntity()
426 .add(rawContact) in loadEncodedContactEntity()
431 private static void processOneRecord(RawContact rawContact, JSONObject item, String mimetype) in processOneRecord() argument
447 rawContact.addDataItemValues(itemValues); in processOneRecord()
471 RawContact rawContact = null; in loadContactEntity() local
482 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
483 rawContactsBuilder.add(rawContact); in loadContactEntity()
487 rawContact.addDataItemValues(data); in loadContactEntity()
[all …]
DContact.java382 for (RawContact rawContact : getRawContacts()) { in getFirstWritableRawContactId()
383 AccountType accountType = rawContact.getAccountType(context); in getFirstWritableRawContactId()
385 return rawContact.getId(); in getFirstWritableRawContactId()
426 RawContact rawContact = mRawContacts.get(0); in getContentValues() local
427 ArrayList<ContentValues> result = rawContact.getContentValues(); in getContentValues()
472 for (RawContact rawContact : getRawContacts()) { in areAllRawContactsSimAccounts()
473 final AccountType accountType = rawContact.getAccountType(context); in areAllRawContactsSimAccounts()
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/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.java1230 for (RawContact rawContact : data.getRawContacts()) { in generateDataModelFromContact()
1231 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact()
1232 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact()
1239 final AccountType accountType = rawContact.getAccountType(this); in generateDataModelFromContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java120 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
122 rawContact.getDataItems(), OrganizationDataItem.class)) { in getCompany()