Home
last modified time | relevance | path

Searched refs:RawContactDeltaList (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaListTests.java110 static RawContactDeltaList buildSet(RawContactDelta... deltas) { in buildSet()
111 final RawContactDeltaList set = new RawContactDeltaList(); in buildSet()
162 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) { in insertPhone()
167 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone()
179 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) { in assertDiffPattern()
290 static Long getVersion(RawContactDeltaList set, Long rawContactId) { in getVersion()
312 final RawContactDeltaList set = buildSet(insert); in testInsert()
323 final RawContactDeltaList set = buildSet(updateFirst, updateSecond); in testUpdateUpdate()
334 final RawContactDeltaList set = buildSet(update, insert); in testUpdateInsert()
346 final RawContactDeltaList set = buildSet(insertFirst, update, insertSecond); in testInsertUpdateInsert()
[all …]
DRawContactModifierTests.java562 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimInsertEmpty()
592 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimInsertInsert()
639 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimUpdateRemain()
711 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimUpdateUpdate()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java46 public class RawContactDeltaList extends ArrayList<RawContactDelta> implements Parcelable { class
47 private static final String TAG = RawContactDeltaList.class.getSimpleName();
53 public RawContactDeltaList() { in RawContactDeltaList() method in RawContactDeltaList
61 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver, in fromQuery()
77 public static RawContactDeltaList fromIterator(Iterator<?> iterator) { in fromIterator()
78 final RawContactDeltaList state = new RawContactDeltaList(); in fromIterator()
101 public static RawContactDeltaList mergeAfter(RawContactDeltaList local, in mergeAfter()
102 RawContactDeltaList remote) { in mergeAfter()
103 if (local == null) local = new RawContactDeltaList(); in mergeAfter()
435 public static final Parcelable.Creator<RawContactDeltaList> CREATOR =
[all …]
DContact.java259 public RawContactDeltaList createRawContactDeltaList() { in createRawContactDeltaList()
260 return RawContactDeltaList.fromIterator(getRawContacts().iterator()); in createRawContactDeltaList()
DRawContactModifier.java375 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) { in trimEmpty()
385 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) { in hasChanges()
389 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes, in hasChanges()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java14 import com.android.contacts.model.RawContactDeltaList;
73 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList(); in addToDefaultGroup()
87 RawContactDeltaList rawContactDeltaList, Context context) { in markAddToDefaultGroup()
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java43 import com.android.contacts.model.RawContactDeltaList;
76 private final RawContactDeltaList mState;
81 boolean isDirectoryContact, RawContactDeltaList state) { in PhotoSelectionHandler()
213 public RawContactDeltaList getDeltaForAttachingPhotoToContact() { in getDeltaForAttachingPhotoToContact()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorIntents.java28 import com.android.contacts.model.RawContactDeltaList;
81 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName, in createInsertContactIntent()
129 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName) { in putRawContactDeltaValues()
DContactEditorFragment.java79 import com.android.contacts.model.RawContactDeltaList;
356 protected RawContactDeltaList mState;
494 mState = new RawContactDeltaList(); in onCreate()
508 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE); in onCreate()
1388 mState = new RawContactDeltaList(); in rebindEditorsForNewContact()
1527 mState = new RawContactDeltaList(); in onSaveCompleted()
DRawContactEditorView.java58 import com.android.contacts.model.RawContactDeltaList;
206 private RawContactDeltaList mRawContactDeltas;
440 public void setState(RawContactDeltaList rawContactDeltas, in setState()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java49 import com.android.contacts.model.RawContactDeltaList;
287 RawContactDeltaList deltaList = contact.createRawContactDeltaList(); in saveContact()
298 private void saveToContact(Contact contact, RawContactDeltaList deltaList, in saveToContact()
391 final RawContactDeltaList deltaList = contactToSave.createRawContactDeltaList(); in createNewRawContact()
DContactEditorActivity.java41 import com.android.contacts.model.RawContactDeltaList;
240 /* isDirectoryContact =*/ false, new RawContactDeltaList()); in EditorPhotoSelectionHandler()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java64 import com.android.contacts.model.RawContactDeltaList;
438 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state, in createSaveContactIntent()
459 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state, in createSaveContactIntent()
490 RawContactDeltaList state = intent.getParcelableExtra(EXTRA_CONTACT_STATE); in saveContact()
625 final RawContactDeltaList newState = RawContactDeltaList.fromQuery( in saveContact()
630 state = RawContactDeltaList.mergeAfter(newState, state); in saveContact()
712 private long getRawContactId(RawContactDeltaList state, in getRawContactId()
/packages/apps/Contacts/
Dproguard.flags79 -keep class com.android.contacts.model.RawContactDeltaList { *; }