History log of /packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java
428f008513d1591cc08fcfe2cf0c9237fb313241 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java
dabac3f99c85bd6af90681a774796748c2775beb 02-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager singleton out of app context.

Put singleton directly into AccountTypeManager class instead of pulling it
from the custom context ContactsApplication class.

Bug: 6993891
Change-Id: Icc1b9736dff8916407c923ceaebb7844fca3e097
/packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java
34793c436c1f95a1c57b1227466fd929e5d64e17 31-Oct-2012 Chiao Cheng <chiaocheng@google.com> Moving PhoneNumberInteraction to Dialer.

And moving dependent related resources and test classes.

Bug: 6993891
Change-Id: I4962098d6b1e05d16a6721bbf889f9e3f26194a8
/packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java
851222a96b5d68602fb361ea3527101e893f67e3 21-Jun-2012 Maurice Chu <mochu@google.com> Added thin object layer around contact data

This refactoring abstracts out the need to directly
refer to Contacts database columns throughout the code. Instead,
all of this information is retained in getter/setter methods
within the Contact, RawContact, and DataItem classes and
sub-classes.

ContactLoader.Result class has been pulled to the top level as
the Contact class.

The Entity class has been removed and replaced with a RawContact
class, with getters/setters to raw contact information.
Renamed EntityDelta to RawContactDelta for better understandability
as well as adding getters/setters for specific fields in the
ValuesDelta nested class within EntityDelta. EntityDeltaList
and EntityModifier have been renamed to RawContactDeltaList and
RawContactModifier with the methods using the RawContact class
directly rather than the Entity class.

Data items for a raw contact are represented by a DataItem object
with specialized getters/setters for subclasses of DataItem.
(e.g., EmailDataItem, PhoneDataItem. etc.). DataItem is a wrapper
around ContentValues. This abstracts away the ContactsContract
column fields into getters/setters.

The above refactoring is accompanied with changes throughout the
codebase to use the new Contact, RawContact, and DataItem classes.

Change-Id: I31c1dccd724e9652f9d0af78ca81feb6c5acd71d
/packages/apps/Contacts/tests/src/com/android/contacts/model/ContactLoaderTest.java