History log of /packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
726e1ec376e38edbb146010fa7c6b16180a30688 15-Jan-2013 Yorke Lee <yorkelee@google.com> Fix broken test testImIntentCustom

Decouple the logic that generates the custom IM intent
from the logic that determines whether or not to actually
assign the intent to the entry (based on whether or not the
intent is registered), so that we can test if the intent is
correctly generated even if there is no application installed
that can handle that custom IM protocol.
Change-Id: If5ce0cd7639a6c05bc89777684cdac45cd7bb6cd
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java
47b6f70eadb118d815b4aaf5426c070bd75a38fb 08-Sep-2012 Chiao Cheng <chiaocheng@google.com> Refactor RawContact to be parcelable.

- Re-work of RawContact to be a real data container and removed un-necessary
dependencies.
- Removed un-necessary circular dependency between RawContact and DataItem.
- Cleaned up and made DataItem more compartmentalized by removing un-related
account methods.
- Implemented Parcelable for RawContact and NamedDataItem.

Bug: 6406182
Change-Id: Icd84f34d85e1349a86e473708cc7f8fece12349f
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.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/detail/ContactDetailFragmentTests.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java
cbc819134526286093eb6833385851e4d08fb2c2 19-Aug-2011 Daniel Lehmann <lehmannd@google.com> Use correct style for GTalk-IM; fixes the height of the secondary icon

Bug:5061964
Change-Id: If1e72eb0e85136747225424d204530bae28744bd
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java
938097786d31e97a9354238f69d9de85cedf6551 04-May-2011 Katherine Kuan <katherinekuan@google.com> View types for adapter in ContactDetailFragment

- Use view types in adapter so that the separators are not
clickable
- Make header widget part of ListView so it scrolls off screen
- Use one list of entries instead of an arraylist of arraylists
with quadratic search time
- Get rid of inconsistencies in using section/kind interchangeably
- Fix some padding values

Bug: 4384190
Change-Id: Ib074a0f91005b6bf2d2321385b309e336ec82905
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java
dfe20250b9f3d2cf134ba2a8a97399322ad48010 05-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Adding proper chat capability icons to contact detail

Change-Id: I4d9e01e08a8d70bb6e1591f92436a5ab7c194be6
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailFragmentTests.java