/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactDeltaListTests.java | 38 import com.android.contacts.common.model.RawContactDeltaList; 119 static RawContactDeltaList buildSet(RawContactDelta... deltas) { in buildSet() 120 final RawContactDeltaList set = new RawContactDeltaList(); in buildSet() 171 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) { in insertPhone() 176 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) { in getPhone() 188 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) { in assertDiffPattern() 299 static Long getVersion(RawContactDeltaList set, Long rawContactId) { in getVersion() 321 final RawContactDeltaList set = buildSet(insert); in testInsert() 332 final RawContactDeltaList set = buildSet(updateFirst, updateSecond); in testUpdateUpdate() 343 final RawContactDeltaList set = buildSet(update, insert); in testUpdateInsert() [all …]
|
D | RawContactModifierTests.java | 43 import com.android.contacts.common.model.RawContactDeltaList; 570 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimInsertEmpty() 600 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimInsertInsert() 647 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimUpdateRemain() 719 final RawContactDeltaList set = new RawContactDeltaList(); in testTrimUpdateUpdate()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactDeltaList.java | 48 public class RawContactDeltaList extends ArrayList<RawContactDelta> implements Parcelable { class 49 private static final String TAG = RawContactDeltaList.class.getSimpleName(); 55 public RawContactDeltaList() { in RawContactDeltaList() method in RawContactDeltaList 63 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver, in fromQuery() 79 public static RawContactDeltaList fromIterator(Iterator<?> iterator) { in fromIterator() 80 final RawContactDeltaList state = new RawContactDeltaList(); in fromIterator() 103 public static RawContactDeltaList mergeAfter(RawContactDeltaList local, in mergeAfter() 104 RawContactDeltaList remote) { in mergeAfter() 105 if (local == null) local = new RawContactDeltaList(); in mergeAfter() 545 public static final Parcelable.Creator<RawContactDeltaList> CREATOR = [all …]
|
D | Contact.java | 263 public RawContactDeltaList createRawContactDeltaList() { in createRawContactDeltaList() 264 return RawContactDeltaList.fromIterator(getRawContacts().iterator()); in createRawContactDeltaList()
|
D | RawContactModifier.java | 377 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) { in trimEmpty() 387 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) { in hasChanges() 391 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes, in hasChanges()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ConfirmAddDetailActivity.java | 71 import com.android.contacts.common.model.RawContactDeltaList; 132 private RawContactDeltaList mEntityDeltaList; 367 private static class QueryEntitiesTask extends AsyncTask<Intent, Void, RawContactDeltaList> { 377 protected RawContactDeltaList doInBackground(Intent... params) { in doInBackground() 410 return RawContactDeltaList.fromQuery(RawContactsEntity.CONTENT_URI, in doInBackground() 435 protected void onPostExecute(RawContactDeltaList entityList) { in onPostExecute() 581 private void setEntityDeltaList(RawContactDeltaList entityList) { in setEntityDeltaList() 631 RawContactDeltaList entityDeltaList) { in addEditableRawContact() 780 private static class PersistTask extends AsyncTask<RawContactDeltaList, Void, Integer> { 810 protected Integer doInBackground(RawContactDeltaList... params) { in doInBackground() [all …]
|
D | AttachPhotoActivity.java | 47 import com.android.contacts.common.model.RawContactDeltaList; 277 RawContactDeltaList deltaList = contact.createRawContactDeltaList(); in saveContact() 288 private void saveToContact(Contact contact, RawContactDeltaList deltaList, in saveToContact() 368 final RawContactDeltaList deltaList = contactToSave.createRawContactDeltaList(); in createNewRawContact()
|
D | CompactContactEditorActivity.java | 21 import com.android.contacts.common.model.RawContactDeltaList; 104 /* isDirectoryContact =*/ false, new RawContactDeltaList()); in CompactPhotoSelectionHandler()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorIntents.java | 21 import com.android.contacts.common.model.RawContactDeltaList; 69 public static Intent createCompactInsertContactIntent(RawContactDeltaList rawContactDeltaList, in createCompactInsertContactIntent() 115 public static Intent createInsertContactIntent(RawContactDeltaList rawContactDeltaList, in createInsertContactIntent() 163 RawContactDeltaList rawContactDeltaList, String displayName, String phoneticName) { in putRawContactDeltaValues()
|
D | CompactRawContactsEditorView.java | 22 import com.android.contacts.common.model.RawContactDeltaList; 140 private final RawContactDeltaList mRawContactDeltas; 142 public RawContactAccountListAdapter(Context context, RawContactDeltaList rawContactDeltas) { in RawContactAccountListAdapter() 144 mRawContactDeltas = new RawContactDeltaList(); in RawContactAccountListAdapter() 621 public void setState(RawContactDeltaList rawContactDeltas, in setState() 681 private void parseRawContactDeltas(RawContactDeltaList rawContactDeltas) { in parseRawContactDeltas() 732 private void addAccountInfo(RawContactDeltaList rawContactDeltas) { in addAccountInfo() 775 private RawContactDeltaList getRawContactDeltaListForSelector( in getRawContactDeltaListForSelector() 776 RawContactDeltaList rawContactDeltas) { in getRawContactDeltaListForSelector() 780 final RawContactDeltaList result = new RawContactDeltaList(); in getRawContactDeltaListForSelector() [all …]
|
D | ContactEditorBaseFragment.java | 34 import com.android.contacts.common.model.RawContactDeltaList; 364 protected RawContactDeltaList mState; 505 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE); in onCreate() 538 mState = new RawContactDeltaList(); in onCreate() 1373 mState = new RawContactDeltaList(); in rebindEditorsForNewContact() 1498 mState = new RawContactDeltaList(); in onSaveCompleted()
|
D | ContactEditorFragment.java | 42 import com.android.contacts.common.model.RawContactDeltaList; 348 RawContactDeltaList state) { in bindPhotoHandler() 563 RawContactDeltaList state) { in PhotoHandler()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 46 import com.android.contacts.common.model.RawContactDeltaList; 76 private final RawContactDeltaList mState; 81 boolean isDirectoryContact, RawContactDeltaList state) { in PhotoSelectionHandler() 212 public RawContactDeltaList getDeltaForAttachingPhotoToContact() { in getDeltaForAttachingPhotoToContact()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | InvisibleContactUtil.java | 12 import com.android.contacts.common.model.RawContactDeltaList; 79 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList(); in addToDefaultGroup()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 57 import com.android.contacts.common.model.RawContactDeltaList; 351 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state, in createSaveContactIntent() 372 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state, in createSaveContactIntent() 403 RawContactDeltaList state = intent.getParcelableExtra(EXTRA_CONTACT_STATE); in saveContact() 538 final RawContactDeltaList newState = RawContactDeltaList.fromQuery( in saveContact() 543 state = RawContactDeltaList.mergeAfter(newState, state); in saveContact() 625 private long getRawContactId(RawContactDeltaList state, in getRawContactId()
|