ed90ea54323f212d87b27b04d7d627192afa6665 |
|
31-Oct-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Stop using DisplayNameFormatter and reduce a query column setDisplayName()'s 3rd param "highlightingEnabled" never becomes true in the current implementation and thus using the entire class seems less meaningful. After removing the formatter class, we can be sure one of primary and alternative name column won't be needed and can be conditionally removed. Per the observation above, this change removes the column for Phone UI. Note that this does *not* optimize People side yet, since it has quite different and more complicated configuration there. Other fixes: - replace getMarqueeText() with setMarqueeText(), since the former implicitly requires unconditional "new String()", while the latter doesn't. - Use SpannableString instead of SpannableStringBuilder. Our prefix highlighter is already using SpannableString, and we can expect less GC by using exactly same classes for constructing spanned CharSequence. - Group query constants like I5ad0876ce469fbf86334e3f77b15cd240d9f761b for cleaning our code and make it more consistent. -- Legacy adapters aren't modified since they are legacy anyway. We probably don't want to touch those files as much as possible. TESTED: - Phone UI and People UI work with display/sort order changes - "(No name)" is shown correctly (mUnknownNameText is working) - Prefix highlighting works correctly (in search screens) - Pickers work with sort order change (primary/alternative) - no performance regression at least (no visible performance improve will occur) Bug: 5550672 Change-Id: Ie69b74bbabcc7211cf2b107c93980172da2d744e
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
f443194c03dd9ecfeecd3e6ef1fabb0945ada645 |
|
12-Aug-2011 |
Frank Sposaro <sposaro@google.com> |
Fixed presence icons for ContactTiles and ContactListItem. -Does not draw offline icons -Only draws circle icons Bug: 5154620 Bug: 5137647 Change-Id: Ife500d4f7e580fcb4374eba560e153033db87a44
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
045bc7f5d03bbe5947597d39b5ac77387425df7e |
|
23-Jul-2011 |
Katherine Kuan <katherinekuan@google.com> |
Add status message to contact list Bug: 5070817 Change-Id: I230c7cf7c4f0f6931fa6ddac4cddc9d3741835e9
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
da5bf1cf60beef3de5e651a569fa544293683926 |
|
03-May-2011 |
Dave Santoro <dsantoro@google.com> |
Modifications to bold contacts' first names. For lists and headers, this is calculated by using a similar technique as we use in the list view for highlighting text when the sort order and display order do not match - we look for the overlap point between the display name and the alternate display name, and bold the leading or trailing part, based on the display order. For the edit view, we convert the display name into a structured name (via an API extracted from the structured name editor code that calls into the provider to handle splitting), and then bold the span corresponding to the contact's given name. This also fixes an issue with the alternate display order in which we weren't honoring that preference on the contact details view. Change-Id: I6af048725541996cb303810a56a1ad79fc276e11
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
9975edcc653647f15d7b06243dbb4b72d3bd56a0 |
|
05-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding proper chat capability icons to contact list Change-Id: If25b3041649b5c9442abe73729c234934314c316
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
d5061fe322880ee993ea18db331fbc1110ddc538 |
|
08-Jun-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Initial integration with Directory API Change-Id: I121e1e3b5a365204ffdd736b00133fd97529719e
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
e124722daa8a4b31308d53e3f0457c3b66a20ae5 |
|
03-Jun-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Reworking contacts list adapters for the new CompositeCursorAdapter API Also redesigning PinnedHeaderListAdapter Change-Id: Ia4a2e7bb449fc82e1c3ac9b7a3f0c54a8e4d9d38
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
3c46291ef057eaf7b7f8ca5971e59bebe734a660 |
|
15-May-2010 |
Jeff Hamilton <jham@android.com> |
Use the framework version of Loader and friends now that they exist. Change-Id: I1c99aec7c60545a1b41b241e95447565c8bd4df4
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
a3569b2e2c9eed2c09449ec8ed64909337462f14 |
|
07-May-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Now supporting legacy phone number picker in the Loader/Fragment solution. Change-Id: Id4e46eb8a4b2b5b2f722a98375d49acbf6cc69da
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|
413772711054c9fca8bf0c22bc81f613c883ae7e |
|
07-May-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Now supporting legacy contact picker in the Loader/Fragment solution. (Except search) Change-Id: Ia36f286dc3009f0a388be2802d97ee296d74d1e8
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
|