History log of /packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aca984b5bc95a5e3c82ab79319694cb60b443315 15-Sep-2014 Brian Attwell <brianattwell@google.com> Set setIsSectionHeaderEnabled in bindView()

Bug: 17506125
Change-Id: Iea754d389e8ede27ffc220bc6b8015ac132d45d6
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
4cbafe71ec04d4a511fe894c46915bb69c91b804 04-Sep-2014 Brian Attwell <brianattwell@google.com> Use semi-stable ids in Contact lists

Manual tests:
-After focusing on a contact in Dialer's and Contacts' contact list
and updating CP2 in the background, the current contact isn't repeated
by talkback
-After focusing on a contact and deleting the contact in the background
a new contact's name is read aloud by talkback.
-Removed and re-added an account. Focused on a contact in Contacts
while the the focus contacts were synced. Noticed the contact
name wasn't repeatedly spoken by talkback.

This is Part 1/2 for b/17195707. Part 2 will fix this issue for
Contacts' contact-pickers.

Bug: 17195707
Change-Id: Icb8c1b7f7ab16ad8d2e8c985088583e5b8f7b5ec
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
495c732e471c1c68db91ca6e824440130fdb7146 10-Jul-2014 Yorke Lee <yorkelee@google.com> Make ContactPreferences use SharedPreferences instead of System settings (3/5)

* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186

Change-Id: Ib3500b82b03960a30b565f1024f20f78879d3ce3
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
8c0712579331e77a66b23966f4eb9d7e0ab1d1f6 08-Jul-2014 Yorke Lee <yorkelee@google.com> Update CP2 snippeting argument defaults (2/2)

Remove the use of the private field

SearchSnippets.SNIPPET_ARGS_PARAM_KEY since we don't need to set
our own snippeting arguments anymore.

Snippeting behavior should remain unchanged.

Bug: 6948882
Change-Id: Ib3ddcbbb852014fb47df2dc6a592aa6d0aaa64fb
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
b321f58e96516c007297492bc0e9287c9150b39c 01-Jul-2014 Yorke Lee <yorkelee@google.com> Clean up SearchSnippetColumns API (3/3)

Bug: 6948882
Change-Id: I102d21f363ac541c1e54ad06e30913ab6c7fc9b8
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
6084726fbdda78bdb16e2d4cc1c3b81c84fd5da1 12-Feb-2014 Yorke Lee <yorkelee@google.com> Add support for letter tile avatars to ContactsPhotoManager

* Add LetterTileDrawable, a custom drawable used to display letter tiles
for contacts without a contact photo, instead of static bitmap resource
drawables.

* Add a class DefaultImageRequest to ContactPhotoManager. This is essentially
a data holder object used to store and retrieve various parameters that
clients can use to configure the way they want their requested letter tile
avatars to be drawn.

* Add LetterTileImageProvider to ContactPhotoManager. LetterTileImageProvider
extends DefaultImageProvider, but returns instances of LetterTileDrawable
instead of BitmapDrawables when a default contact image is needed.

* Add two new APIs to ContactPhotoManager:
getDefaultAvatarForContact - This returns an instance of a LetterTileDrawable,
configured with the display parameters stored in the provided
DefaultImageRequest.
getDefaultAvatarUriForContact - This returns an uri which the
ContactPhotoManager can use to recreate a DefaultImageRequest and hence
a LetterTileDrawable.

* Modify ContactPhotoManager.loadPhoto and loadThumbnail to accept a
DefaultImageRequest as a parameter.

* Modify the following classes to use the new ContactPhotoManager APIs. These
affect both the Dialer and People apps.
ContactEntryListADapter
ContactListAdapter
ContactTileView
PhoneNumberListAdapter

Bug: 13101785
Change-Id: Id1a87b459d6e63c42049739059a3b3ee202af837
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
ad582fa758c6a276c26c5cc52079613a653c81bf 21-Aug-2013 Ben Gilad <gilad@google.com> Add Support For Extended Directories

Change-Id: I5097f9d45ce39aad93ede3a01f43e1c58e36c9f1
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java
d6bba124836ec2f528b329759e38fda6297fec49 01-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: Ie310707da47d5e5c91e281d140f11e1eb47a5118
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/DefaultContactListAdapter.java