Searched refs:RawContactDeltaList (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/
H A DRawContactDeltaListTests.java41 import com.android.contacts.model.RawContactDeltaList;
50 * Tests for {@link RawContactDeltaList} which focus on "diff" operations that should
114 static RawContactDeltaList buildSet(RawContactDelta... deltas) {
115 final RawContactDeltaList set = RawContactDeltaList.fromSingle(deltas[0]);
168 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) {
173 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) {
185 static void assertDiffPattern(RawContactDeltaList set, ContentProviderOperation... pattern) {
285 static Long getVersion(RawContactDeltaList set, Long rawContactId) {
306 final RawContactDeltaList se
[all...]
H A DRawContactModifierTests.java45 import com.android.contacts.model.RawContactDeltaList;
527 final RawContactDeltaList set = RawContactDeltaList.fromSingle(state);
555 final RawContactDeltaList set = RawContactDeltaList.fromSingle(state);
599 final RawContactDeltaList set = RawContactDeltaList.fromSingle(state);
664 final RawContactDeltaList set = RawContactDeltaList.fromSingle(state);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactDeltaList.java43 * and applying another {@link RawContactDeltaList} over it.
45 public class RawContactDeltaList extends ArrayList<RawContactDelta> implements Parcelable { class in inherits:ArrayList,Parcelable
46 private static final String TAG = RawContactDeltaList.class.getSimpleName();
52 private RawContactDeltaList() { method in class:RawContactDeltaList
56 * Create an {@link RawContactDeltaList} that contains the given {@link RawContactDelta},
59 public static RawContactDeltaList fromSingle(RawContactDelta delta) {
60 final RawContactDeltaList state = new RawContactDeltaList();
66 * Create an {@link RawContactDeltaList} based on {@link Contacts} specified by the
70 public static RawContactDeltaList fromQuer
[all...]
H A DContact.java256 * Instantiate a new RawContactDeltaList for this contact.
258 public RawContactDeltaList createRawContactDeltaList() {
259 return RawContactDeltaList.fromIterator(getRawContacts().iterator());
H A DRawContactModifier.java387 * from the given {@link RawContactDeltaList}, assuming the given {@link AccountTypeManager}
391 public static void trimEmpty(RawContactDeltaList set, AccountTypeManager accountTypes) {
401 public static boolean hasChanges(RawContactDeltaList set, AccountTypeManager accountTypes) {
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailPhotoSetter.java31 import com.android.contacts.model.RawContactDeltaList;
66 RawContactDeltaList delta = mContactData.createRawContactDeltaList();
H A DPhotoSelectionHandler.java47 import com.android.contacts.model.RawContactDeltaList;
67 private final RawContactDeltaList mState;
72 boolean isDirectoryContact, RawContactDeltaList state) {
165 public RawContactDeltaList getDeltaForAttachingPhotoToContact() {
H A DContactDetailFragment.java86 import com.android.contacts.model.RawContactDeltaList;
2033 final RawContactDeltaList contactDeltaList = mContactData.createRawContactDeltaList();
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java41 import com.android.contacts.model.RawContactDeltaList;
96 private RawContactDeltaList mState;
170 mState = (RawContactDeltaList) intent.getParcelableExtra(ENTITY_DELTA_LIST);
271 byte[] photoBytes, Rect photoBounds, RawContactDeltaList delta, boolean isProfile,
518 Context context, View photoView, int photoMode, RawContactDeltaList state) {
539 RawContactDeltaList delta = getDeltaForAttachingPhotoToContact();
H A DConfirmAddDetailActivity.java68 import com.android.contacts.model.RawContactDeltaList;
127 /** {@link RawContactDeltaList} for the entire selected contact. */
128 private RawContactDeltaList mEntityDeltaList;
130 /** {@link RawContactDeltaList} for the editable account */
360 private static class QueryEntitiesTask extends AsyncTask<Intent, Void, RawContactDeltaList> {
370 protected RawContactDeltaList doInBackground(Intent... params) {
403 return RawContactDeltaList.fromQuery(RawContactsEntity.CONTENT_URI,
428 protected void onPostExecute(RawContactDeltaList entityList) {
570 private void setEntityDeltaList(RawContactDeltaList entityList) {
620 RawContactDeltaList entityDeltaLis
[all...]
H A DAttachPhotoActivity.java40 import com.android.contacts.model.RawContactDeltaList;
176 RawContactDeltaList deltaList = contact.createRawContactDeltaList();
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java52 import com.android.contacts.model.RawContactDeltaList;
292 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
309 public static Intent createSaveContactIntent(Context context, RawContactDeltaList state,
335 RawContactDeltaList state = intent.getParcelableExtra(EXTRA_CONTACT_STATE);
430 final RawContactDeltaList newState = RawContactDeltaList.fromQuery(
435 state = RawContactDeltaList.mergeAfter(newState, state);
521 private long getRawContactId(RawContactDeltaList state,
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java79 import com.android.contacts.model.RawContactDeltaList;
229 private RawContactDeltaList mState;
425 mState = savedState.<RawContactDeltaList> getParcelable(KEY_EDIT_STATE);
666 mState = RawContactDeltaList.fromSingle(insert);
800 RawContactDeltaList state) {
1770 RawContactDeltaList state) {

Completed in 276 milliseconds