History log of /packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/src/com/android/contacts/list/LegacyContactListAdapter.java
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/LegacyContactListAdapter.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/LegacyContactListAdapter.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/LegacyContactListAdapter.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/LegacyContactListAdapter.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/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