History log of /packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a5cdf69228f23ecd0d13019ac7bcc16ccf375cd 20-Mar-2015 Tyler Gunn <tgunn@google.com> Support for click analytics in search results.

Adding support for analytics tracking for click events in search results.
This supports analyzing where the user commonly makes calls from.

Bug: 19801761
Change-Id: I53ff603239119ab72ce9ec43a22badb24fc75882
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
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/PhoneNumberListAdapter.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/PhoneNumberListAdapter.java
d9ba7ce0739281fc903ece843b5c84e10344adb3 04-Sep-2014 Yorke Lee <yorkelee@google.com> Follow ContactsContract API changes

Bug: 17390425
Change-Id: Ia88fb0235a56becc3ec5a770067856311769a68c
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
41d16000cdd94f5f69f5d5c7c6c1519d82bc15fe 14-Aug-2014 Yorke Lee <yorkelee@google.com> Protect against invalid long numbers in Dialer

Bug: 14307606
Change-Id: I788fec72dac4ea467644f1c2ead0f466ea8e7fa9
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
dc08a7cd1fc867826f4620203898847e9b27fd2d 30-Jul-2014 Yorke Lee <yorkelee@google.com> Follow ContactsContract API change

Bug: 16403306
Change-Id: I21d25ba836d9d9ab45a7ebdca0e2f24f8c678e43
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.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/PhoneNumberListAdapter.java
1b1221ba8291599675cb1399713c966728ed3c52 10-Jul-2014 Brian Attwell <brianattwell@google.com> Use circular photos in contact picker

Bug: 16159886
Change-Id: I820aff2abbb6bdaee26a788c97083d45c2694016
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
3f9c2f426058413055fa54c08c69ad9461717658 29-Apr-2014 Yorke Lee <yorkelee@google.com> Add circular photo support to ContactPhotoManager

* Use RoundedBitmapDrawable to draw circular bitmaps

* Add isCircular to DefaultImageRequest, and add circular
support to LetterTileDrawable

* Temporarily disable fading in contact photos using
TransitionImageDrawable

Bug: 13747208

Change-Id: I4d087b2dab701014297912ccb6cfac36ecffc673
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
1f1e90d36fe914a7ce51e6f9884199580115d891 26-Apr-2014 Andrew Lee <anwlee@google.com> Moves section header in contacts list to the left side.

- Changed ContactListItemView to render section headers on the
left. This includes support for RTL layouts.
- Added setSectionHeaderEnabled to ContactListItemView so that
left padding can be rendered if there is a section header.
- Add newView() implementation in the ContactEntryListAdapter which
sets setSectionHeaderEnabled on new contacts list view instance.
- Changed the PinnedHeaderView to extend a TextView and gutted a
lot of unneeded logic and styling (including the Counts view).
- Add list_item_background_color to attributes, which is used to
specify the background color for the pinned header, so that when
it moves the underlying section header is not visible.
- Change layout and canvas logic in PinnedHeaderListview, so that
the pinned header is placed to match the new position.
- Add logic to the IndexerListAdapter to match the pinned header's
height to the height of the first list item in view.

Bug: 13956531
Change-Id: I78a0b505833e9ce1c889904ff51c17f6c1653de1
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
f4fcd3def28e5b1168f5160e476c05ad69339adc 23-Apr-2014 Andrew Lee <anwlee@google.com> Delete contacts list item dividers.

- Delete setDivider method, and associated layout logic.
- Delete unneeded list_item_divider attribute.

Bug: 13956531
Change-Id: I56d471ae637346cb6a1b9a56c6c43de2da603256
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
62dbbf2f10e0e3bcb4d699d859a71a68c896f4a7 31-Mar-2014 Andrew Lee <anwlee@google.com> Format phone number before setting it on ContactListItemView.

Get the country ISO from the context in the PhoneNumberListAdapter.
Then, in ContactListItemView, use PhoneNumberUtils to format the
given phone number before setting it. Also, deprecates/deletes
showPhoneNumber() method.

Bug: 11734577

Change-Id: I890f1b090acb1814814396da654f75b23d9ef8de
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.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/PhoneNumberListAdapter.java
a63fbce25ea8cdcd7f44a4d65e9bdf4aa81560db 08-Oct-2013 Yorke Lee <yorkelee@google.com> Hide PII in encoded json uri in logs

Bug: 11127944
Change-Id: I481be889dd82ce9664753be8bb9c749c8d76f08f
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
a6057cf46a154666c6f2888702d4109504b4da29 09-Sep-2013 Alon Albert <aalbert@google.com> Avoid NPE's in Extended Directories

Bug: 10676673
Change-Id: I52346b713fcab5176b6c73a158638708e623ed92
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
b5632a6ebe19ba1627f0e850b00e0e9de0fcd3ab 05-Sep-2013 Alon Albert <aalbert@google.com> Support QuickContacts For Extended Directories

Change-Id: I00128b882be3124e31cd2de6a974ec2d507344b1
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
6af66a800ccf7599ea37374c8fc99a1489ef8fcb 03-Sep-2013 Alon Albert <aalbert@google.com> Show Address Instead of Number in Nearby Places

Change-Id: Ib1a96240e70628ff76e849ea4f6ca359791deebd
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
1a2b2a318d9d0dacf183d49fd2363cb79a9f2335 29-Aug-2013 Jay Shrauner <shrauner@google.com> Add cache support

Add hooks for contact cache.

Bug: 10609551
Change-Id: I9a202772313eeab9b18031e20f78aba1e7d18a24
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
768324c2d917f9ce79747007c57efcefbc06b472 28-Aug-2013 Alon Albert <aalbert@google.com> Make Nearby Places Display as "Nearby Places"

Rather than "Directory Nearby Place"

Change-Id: I91cbbed3c6005b91885a5bb2f3067c9c19b97e79
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
f210d229b042bef22863712b97a6cb20eaa2eadf 28-Aug-2013 Jay Shrauner <shrauner@google.com> Fix result count reporting for phone queries

Result count ordering was reporting number of phones as number of
contacts. Fix so for phone list queries we tally number of actual
contacts displayed.

Bug:10457343
Change-Id: Iabd3bd600d47e013a69f6e6ed2bf378a9b344e9f
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.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/PhoneNumberListAdapter.java
7a160466a38bb631da02b7e93ab907eb2b3a2558 26-Jul-2013 Jay Shrauner <shrauner@google.com> Add GAL search support to Dialer

Enable GAL search in Dialer.

Bug:
Change-Id: If03dcbb570aebd5ba31c5d419e76b33b91be6eee
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
a81953a2b1818066ef5e44817f374ac288bab343 09-Jul-2013 Christine Chen <christinech@google.com> Changes to support smart dial in search.

- Extends functionalities in text highligher.
- Changes pemissions in parent classes.

Change-Id: Ib5717fe00760b5a88c747e1ff8fda598d987fa98
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java
63ac534dcf60e9a6c651ef2434557bec922b9a7d 08-Nov-2012 Chiao Cheng <chiaocheng@google.com> Further clean-up of PhoneFavoriteFragment.

Moving common dependencies from Contacts to ContactsCommon.

Bug: 6993891
Change-Id: I7530d13771b65f17dafa3f4f8283965622b1c71e
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/PhoneNumberListAdapter.java