History log of /packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ContactDetailDisplayUtilsTest.java
205a3b6e8a0c3d1ea4843300c722a612b4a572d0 18-Apr-2012 Makoto Onuki <omakoto@google.com> Fix stream item layout and failing tests

Bug 6220226
- Fixed the stream item layout. Put +1/like in the same line as the timestamp.

Bug 6352201
- Fix failing tests

Change-Id: I771a208ba1037c361625a610d25030eb05b4b0a1
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
da9cdc10fca76c960b43923d7da3abc627655fef 28-Feb-2012 Makoto Onuki <omakoto@google.com> Updates fragment dejunk

- Reuse stream item views. Simplified the view layout for this.
(In this CL we still inflate views, rather than creating them in code.
Even without doing that performance now seems good enough.)

- Decode HTML into CharSequence in ContactLoader
- Removed ContactTileImageContainer and created
LayoutSuppressingImageView and LayoutSuppressingQuickContactBadge

Bug 5982899

Change-Id: I5cbd816a290a50fca9a964b921d934061915aee1
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
be7a9d511eed5a549226b2e1bc2ebd6f65018c4c 06-Sep-2011 Katherine Kuan <katherinekuan@google.com> Pixel perfect phone landscape contact card

- Make contact photo larger

- Detect the difference between stream item updates with text only versus
with text + photos --> In order to add padding between images + text without
affecting the other cases

- Make tabs in tab carousel have the right initial alpha value

- Add some constants for the maxLine values in ContactDetailFragment

- Make HtmlUtils not crash with NPE if the streamItem.getText() is null.

Bug: 5254628
Change-Id: I858b4cbfac13fe2105159cf13a4bc6b64442745e
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
fd43cddee690e84f56163cd1c0899c3200b624e7 05-Aug-2011 Flavio Lerda <flerda@google.com> Layout for Updates with multiple images.

Use a table layout to arrange images in the updates: if the number of
images is even (including no images), the text is placed on its own row.
Otherwise, the text is added together with the last image.

Bug: 5123875
Change-Id: I372a15a3d384fbea79a1cd9f225db3f05996f5d4
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
a21993720988a5fc0b48594d1ff0ce6f932780b7 04-Aug-2011 Flavio Lerda <flerda@google.com> Small clean-up of stream items utility class.

We do not need a way to add a set of stream items to a container: we now
use a ListView.

Do not set the listener in the helper method: we can just do that in the
adapter itself.

Bug: 5119353
Change-Id: Id647ddc358f82b5fee8628b06645412e48712229
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
965da8446f4bf73217611b43059bd92f311db089 28-Jul-2011 Flavio Lerda <flerda@google.com> Add actions to update items.

This commit let you click on an update item if it has an associated
action and actionUri.

In order to make this visible to the user, it adds a background that
will be highlighted when the item is selected. It also marks the item as
focusable for accessibility.

In order to make the selection expand to the entire row, play around
with the padding a little bit: basically, the update list itself is
now as wide as the screen, and the individual items have padding as
appropriate.

Bug: 5095755
Change-Id: Ib1b2d179152beae125dded1b393b3dfc8b22abc9
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java
5a77a5563706fe1b143d976d1b47abaeb873e138 27-Jul-2011 Flavio Lerda <flerda@google.com> Add comments to items in Updates tab.

Bug: 5095383
Change-Id: I87311bc37446fe83bf47aa554774a9a056f3a251
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ContactDetailDisplayUtilsTest.java