Home
last modified time | relevance | path

Searched refs:RawContact (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java50 final public class RawContact implements Parcelable { class
123 public static RawContact createFrom(Entity entity) { in createFrom()
127 RawContact rawContact = new RawContact(values); in createFrom()
137 public RawContact() { in RawContact() method in RawContact
141 public RawContact(ContentValues values) { in RawContact() method in RawContact
151 private RawContact(Parcel parcel) { in RawContact() method in RawContact
171 public static final Parcelable.Creator<RawContact> CREATOR
172 = new Parcelable.Creator<RawContact>() {
175 public RawContact createFromParcel(Parcel parcel) {
176 return new RawContact(parcel);
[all …]
DContactLoader.java375 RawContact rawContact = null; in loadContactEntity()
376 ImmutableList.Builder<RawContact> rawContactsBuilder = in loadContactEntity()
377 new ImmutableList.Builder<RawContact>(); in loadContactEntity()
386 rawContact = new RawContact(loadRawContactValues(cursor)); in loadContactEntity()
449 for (RawContact rawContact : contactData.getRawContacts()) { in loadPhotoBinaryData()
478 for (RawContact rawContact : contactData.getRawContacts()) { in loadInvitableAccountTypes()
662 for (RawContact rawContact : result.getRawContacts()) { in loadGroupMetaData()
809 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts(); in computeFormattedPhoneNumbers()
812 final RawContact rawContact = rawContacts.get(rawContactIndex); in computeFormattedPhoneNumbers()
863 for (RawContact rawContact : mContact.getRawContacts()) { in postViewNotificationToSyncAdapter()
DContact.java74 private ImmutableList<RawContact> mRawContacts;
347 public ImmutableList<RawContact> getRawContacts() { in getRawContacts()
390 for (RawContact rawContact : getRawContacts()) { in getFirstWritableRawContactId()
430 RawContact rawContact = mRawContacts.get(0); in getContentValues()
472 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) { in setRawContacts()
DRawContactDeltaList.java87 final RawContact before = nextObject instanceof Entity in addAll()
88 ? RawContact.createFrom((Entity) nextObject) in addAll()
89 : (RawContact) nextObject; in addAll()
DRawContactDelta.java89 public static RawContactDelta fromBefore(RawContact before) { in fromBefore()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactTest.java31 private RawContact buildRawContact() { in buildRawContact()
40 final RawContact contact = new RawContact(values); in buildRawContact()
46 private RawContact buildRawContact2() { in buildRawContact2()
55 final RawContact contact = new RawContact(values); in buildRawContact2()
62 final RawContact one = buildRawContact(); in testNotEquals()
63 final RawContact two = buildRawContact2(); in testNotEquals()
75 private RawContact.NamedDataItem buildNamedDataItem() { in buildNamedDataItem()
81 return new RawContact.NamedDataItem(uri, values); in buildNamedDataItem()
84 private RawContact.NamedDataItem buildNamedDataItem2() { in buildNamedDataItem2()
90 return new RawContact.NamedDataItem(uri, values); in buildNamedDataItem2()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactDeltaTests.java35 import com.android.contacts.model.RawContact;
68 public static RawContact getRawContact(Context context, long contactId, long phoneId) { in getRawContact()
80 final RawContact before = new RawContact(contact); in getRawContact()
92 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesNone()
102 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesInsert()
120 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesUpdate()
134 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesDelete()
166 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNone()
177 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNoneInsert()
214 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffUpdateInsert()
[all …]
DRawContactDeltaListTests.java38 import com.android.contacts.model.RawContact;
101 final RawContact before = RawContactDeltaTests.getRawContact(context, rawContactId, in getUpdate()
127 final RawContact before = new RawContact(contact); in buildBeforeEntity()
DRawContactModifierTests.java42 import com.android.contacts.model.RawContact;
180 final RawContact before = new RawContact(contact); in getRawContact()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java83 import com.android.contacts.model.RawContact;
259 private ImmutableList<RawContact> mRawContacts;
498 mRawContacts = ImmutableList.copyOf(savedState.<RawContact>getParcelableArrayList( in onCreate()
521 RawContact rawContact = mRawContacts.get(0); in setData()
562 ImmutableList<RawContact> rawContacts) { in bindEditorsForExistingContact()
585 final RawContact rawContact = new RawContact(); in bindEditorsForExistingContact()
725 final RawContact rawContact = new RawContact(); in bindEditorsForNewContact()
1672 Lists.<RawContact> newArrayList() : Lists.newArrayList(mRawContacts));
DAggregationSuggestionView.java29 import com.android.contacts.editor.AggregationSuggestionEngine.RawContact;
61 private List<RawContact> mRawContacts = Lists.newArrayList();
116 for (RawContact rawContact : mRawContacts) { in canEditSuggestedContact()
141 for (RawContact rawContact : mRawContacts) { in handleItemClickEvent()
DAggregationSuggestionEngine.java57 public static final class RawContact { class in AggregationSuggestionEngine
79 public List<RawContact> rawContacts;
393 RawContact rawContact = new RawContact(); in getSuggestions()
/packages/apps/Contacts/src/com/android/contacts/activities/
DConfirmAddDetailActivity.java66 import com.android.contacts.model.RawContact;
634 final RawContact rawContact = new RawContact(); in addEditableRawContact()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailDisplayUtils.java45 import com.android.contacts.model.RawContact;
147 for (RawContact rawContact : contactData.getRawContacts()) { in getCompany()
DContactDetailFragment.java94 import com.android.contacts.model.RawContact;
554 for (RawContact rawContact: mContactData.getRawContacts()) { in buildEntries()
2040 final RawContact rawContact = (RawContact) mContactData.getRawContacts().get(0); in isApplicable()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java65 import com.android.contacts.model.RawContact;
352 for (RawContact rawContact : data.getRawContacts()) { in bindData()