c9e810710a7624d645e33ec22e5fb90e30c7780b |
|
15-Sep-2014 |
Brian Attwell <brianattwell@google.com> |
Call super.bindView() in list subclasses Bug: 17506125 Change-Id: Ic3b0227b6fb7095196e6489d838988b442f652a3
/packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java
|
56151b82c3dac3908ac8776a2a71f107fb4ecdbc |
|
04-Sep-2014 |
Brian Attwell <brianattwell@google.com> |
Use semi-stable ids in Contact lists I manually tested the postal, contact, email and phone pickers. Note that the legacy pickers & email picker don't refresh when the dataset changes, so this doesn't have any affect on them. Nonetheless, I set viewIds for these pickers in case we ever change these pickers to refresh when the underlying dataset changes. This is Part 2/2 for b/17195707. This fixes contact-pickers. Bug: 17195707 Change-Id: I6e72768ab9f30f11d632983794da1ed36346416c
/packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java
|
551da17c65c434dae14365888996f9157068d800 |
|
28-Apr-2014 |
Andrew Lee <anwlee@google.com> |
Restyle section header to left. - Adjust styles. - Changed newView() in adapters to call superclass method. Bug: 13956531 Change-Id: Ie0ab1f2dacf9e69a23c245105176d4006b02dfc7
/packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java
|
a0233a048858f1593ea4924e9c5036f39aedbcdd |
|
02-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Moving ContactListItemView and dependent classes. Further clean-up of PhoneFavoriteFragment in Dialer app to move all necessary dependencies into Contacts Common package. Bug: 6993891 Change-Id: I3dfce84ad01932450dc09588c22903e7307d7da0
/packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java
|
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/LegacyPostalAddressListAdapter.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/LegacyPostalAddressListAdapter.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/LegacyPostalAddressListAdapter.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/LegacyPostalAddressListAdapter.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/LegacyPostalAddressListAdapter.java
|
c28390b65183a2e1bf85f381ba27bf846706c04a |
|
07-May-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Now supporting legacy postal address picker in the Loader/Fragment solution. Change-Id: I7cbb9dc455966b0f5d5e3537596410f6216c9fe0
/packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java
|