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

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactDeltaListTests.java 38 import com.android.contacts.common.model.RawContactDeltaList;
49 * Tests for {@link RawContactDeltaList} which focus on "diff" operations that should
119 static RawContactDeltaList buildSet(RawContactDelta... deltas) {
120 final RawContactDeltaList set = new RawContactDeltaList();
171 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) {
176 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) {
188 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) {
299 static Long getVersion(RawContactDeltaList set, Long rawContactId) {
321 final RawContactDeltaList set = buildSet(insert)
    [all...]
RawContactModifierTests.java 43 import com.android.contacts.common.model.RawContactDeltaList;
570 final RawContactDeltaList set = new RawContactDeltaList();
600 final RawContactDeltaList set = new RawContactDeltaList();
647 final RawContactDeltaList set = new RawContactDeltaList();
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactDeltaList.java 46 * and applying another {@link RawContactDeltaList} over it.
48 public class RawContactDeltaList extends ArrayList<RawContactDelta> implements Parcelable {
49 private static final String TAG = RawContactDeltaList.class.getSimpleName();
55 public RawContactDeltaList() {
59 * Create an {@link RawContactDeltaList} based on {@link Contacts} specified by the
63 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver,
75 * Create an {@link RawContactDeltaList} that contains the entities of the Iterator as before
79 public static RawContactDeltaList fromIterator(Iterator<?> iterator) {
80 final RawContactDeltaList state = new RawContactDeltaList();
    [all...]
Contact.java 261 * Instantiate a new RawContactDeltaList for this contact.
263 public RawContactDeltaList createRawContactDeltaList() {
264 return RawContactDeltaList.fromIterator(getRawContacts().iterator());
RawContactModifier.java 373 * from the given {@link RawContactDeltaList}, assuming the given {@link AccountTypeManager}
377 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) {
387 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) {
391 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
EditorIntents.java 21 import com.android.contacts.common.model.RawContactDeltaList;
60 return createCompactInsertContactIntent(/* rawContactDeltaList =*/ null,
67 * the field values specified by rawContactDeltaList pre-populate in the form.
69 public static Intent createCompactInsertContactIntent(RawContactDeltaList rawContactDeltaList,
74 if (rawContactDeltaList != null || displayName != null || phoneticName != null) {
75 putRawContactDeltaValues(intent, rawContactDeltaList, displayName, phoneticName);
115 public static Intent createInsertContactIntent(RawContactDeltaList rawContactDeltaList,
121 putRawContactDeltaValues(intent, rawContactDeltaList, displayName, phoneticName)
    [all...]
CompactRawContactsEditorView.java 22 import com.android.contacts.common.model.RawContactDeltaList;
140 private final RawContactDeltaList mRawContactDeltas;
142 public RawContactAccountListAdapter(Context context, RawContactDeltaList rawContactDeltas) {
144 mRawContactDeltas = new RawContactDeltaList();
621 public void setState(RawContactDeltaList rawContactDeltas,
681 private void parseRawContactDeltas(RawContactDeltaList rawContactDeltas) {
732 private void addAccountInfo(RawContactDeltaList rawContactDeltas) {
775 private RawContactDeltaList getRawContactDeltaListForSelector(
776 RawContactDeltaList rawContactDeltas) {
780 final RawContactDeltaList result = new RawContactDeltaList()
    [all...]
ContactEditorFragment.java 42 import com.android.contacts.common.model.RawContactDeltaList;
348 RawContactDeltaList state) {
563 RawContactDeltaList state) {
ContactEditorBaseFragment.java 34 import com.android.contacts.common.model.RawContactDeltaList;
364 protected RawContactDeltaList mState;
505 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE);
538 mState = new RawContactDeltaList();
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
InvisibleContactUtil.java 12 import com.android.contacts.common.model.RawContactDeltaList;
79 final RawContactDeltaList contactDeltaList = contactData.createRawContactDeltaList();
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 47 import com.android.contacts.common.model.RawContactDeltaList;
277 RawContactDeltaList deltaList = contact.createRawContactDeltaList();
288 private void saveToContact(Contact contact, RawContactDeltaList deltaList,
368 final RawContactDeltaList deltaList = contactToSave.createRawContactDeltaList();
ConfirmAddDetailActivity.java 71 import com.android.contacts.common.model.RawContactDeltaList;
131 /** {@link RawContactDeltaList} for the entire selected contact. */
132 private RawContactDeltaList mEntityDeltaList;
134 /** {@link RawContactDeltaList} for the editable account */
367 private static class QueryEntitiesTask extends AsyncTask<Intent, Void, RawContactDeltaList> {
377 protected RawContactDeltaList doInBackground(Intent... params) {
410 return RawContactDeltaList.fromQuery(RawContactsEntity.CONTENT_URI,
435 protected void onPostExecute(RawContactDeltaList entityList) {
581 private void setEntityDeltaList(RawContactDeltaList entityList) {
631 RawContactDeltaList entityDeltaList)
    [all...]
CompactContactEditorActivity.java 21 import com.android.contacts.common.model.RawContactDeltaList;
104 /* isDirectoryContact =*/ false, new RawContactDeltaList());
  /packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java 46 import com.android.contacts.common.model.RawContactDeltaList;
76 private final RawContactDeltaList mState;
81 boolean isDirectoryContact, RawContactDeltaList state) {
212 public RawContactDeltaList getDeltaForAttachingPhotoToContact() {
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 57 import com.android.contacts.common.model.RawContactDeltaList;
351 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
372 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
403 RawContactDeltaList state = intent.getParcelableExtra(EXTRA_CONTACT_STATE);
538 final RawContactDeltaList newState = RawContactDeltaList.fromQuery(
543 state = RawContactDeltaList.mergeAfter(newState, state);
625 private long getRawContactId(RawContactDeltaList state,
    [all...]

Completed in 6522 milliseconds