HomeSort by relevance Sort by last modified time
    Searched refs:RawContactDeltaList (Results 1 - 13 of 13) sorted by null

  /packages/apps/Contacts/tests/src/com/android/contacts/model/
RawContactDeltaListTests.java 42 * Tests for {@link RawContactDeltaList} which focus on "diff" operations that should
110 static RawContactDeltaList buildSet(RawContactDelta... deltas) {
111 final RawContactDeltaList set = new RawContactDeltaList();
162 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) {
167 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) {
179 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) {
290 static Long getVersion(RawContactDeltaList set, Long rawContactId) {
312 final RawContactDeltaList set = buildSet(insert);
323 final RawContactDeltaList set = buildSet(updateFirst, updateSecond)
    [all...]
RawContactModifierTests.java 562 final RawContactDeltaList set = new RawContactDeltaList();
592 final RawContactDeltaList set = new RawContactDeltaList();
639 final RawContactDeltaList set = new RawContactDeltaList();
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactDeltaList.java 44 * and applying another {@link RawContactDeltaList} over it.
46 public class RawContactDeltaList extends ArrayList<RawContactDelta> implements Parcelable {
47 private static final String TAG = RawContactDeltaList.class.getSimpleName();
53 public RawContactDeltaList() {
57 * Create an {@link RawContactDeltaList} based on {@link Contacts} specified by the
61 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver,
73 * Create an {@link RawContactDeltaList} that contains the entities of the Iterator as before
77 public static RawContactDeltaList fromIterator(Iterator<?> iterator) {
78 final RawContactDeltaList state = new RawContactDeltaList();
    [all...]
Contact.java 257 * Instantiate a new RawContactDeltaList for this contact.
259 public RawContactDeltaList createRawContactDeltaList() {
260 return RawContactDeltaList.fromIterator(getRawContacts().iterator());
RawContactModifier.java 371 * from the given {@link RawContactDeltaList}, assuming the given {@link AccountTypeManager}
375 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) {
385 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) {
389 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
EditorIntents.java 28 import com.android.contacts.model.RawContactDeltaList;
78 * the field values specified by rawContactDeltaList pre-populate in the form.
81 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName,
87 putRawContactDeltaValues(intent, rawContactDeltaList, displayName, phoneticName);
129 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName) {
131 if (rawContactDeltaList != null && !rawContactDeltaList.isEmpty()) {
132 ArrayList<ContentValues> contentValues = rawContactDeltaList.get(0).getContentValues()
    [all...]
ContactEditorFragment.java 77 import com.android.contacts.model.RawContactDeltaList;
344 protected RawContactDeltaList mState;
477 mState = new RawContactDeltaList();
491 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE);
    [all...]
RawContactEditorView.java 58 import com.android.contacts.model.RawContactDeltaList;
206 private RawContactDeltaList mRawContactDeltas;
440 public void setState(RawContactDeltaList rawContactDeltas,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
InvisibleContactUtil.java 14 import com.android.contacts.model.RawContactDeltaList;
73 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList();
87 RawContactDeltaList rawContactDeltaList, Context context) {
94 final RawContactDelta rawContactEntityDelta = rawContactDeltaList.get(0);
  /packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java 43 import com.android.contacts.model.RawContactDeltaList;
76 private final RawContactDeltaList mState;
81 boolean isDirectoryContact, RawContactDeltaList state) {
213 public RawContactDeltaList getDeltaForAttachingPhotoToContact() {
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 49 import com.android.contacts.model.RawContactDeltaList;
287 RawContactDeltaList deltaList = contact.createRawContactDeltaList();
298 private void saveToContact(Contact contact, RawContactDeltaList deltaList,
391 final RawContactDeltaList deltaList = contactToSave.createRawContactDeltaList();
ContactEditorActivity.java 41 import com.android.contacts.model.RawContactDeltaList;
240 /* isDirectoryContact =*/ false, new RawContactDeltaList());
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 64 import com.android.contacts.model.RawContactDeltaList;
438 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
459 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
490 RawContactDeltaList state = intent.getParcelableExtra(EXTRA_CONTACT_STATE);
625 final RawContactDeltaList newState = RawContactDeltaList.fromQuery(
630 state = RawContactDeltaList.mergeAfter(newState, state);
712 private long getRawContactId(RawContactDeltaList state,
    [all...]

Completed in 382 milliseconds