History log of /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d5b66d89be3117a04cf54ccdb02d704b1d934351 28-Oct-2015 Brandon Maxwell <maxwelb@google.com> ContactTiles include display_name_alt col

- Added DISPLAY_NAME_ALTERNATIVE to returned columns
in ContactTileLoaderFactory
- Added needed fields to ContactEntry
- Updated ContactTileView.getNameForView method to accept ContactEntry.
Allows subclasses to properly choose which field to return from input

Change-Id: I30cf5ae9bc737cfca4058f416069c5c461400af1
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
395d9d95e25f6fa4b8e750e36ec0a5c1886a65b5 12-Jun-2014 Brian Attwell <brianattwell@google.com> Add ContactTileView#isContactPhotoCircular()

This parameter can be overriden inside dialer.

Bug: 15573471
Change-Id: I2183d3c406cb43223856e2bf653a894b4fa37ef0
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
440a8fb48d25b4281bd4b00ca5070da59129be14 29-May-2014 Brian Attwell <brianattwell@google.com> Styled frequent contacts to look like contact list

Instead of refactoring the ContactTileAdapter to use functionality
from ContactEntryListAdapter, I changed ContactTileAdapter
to use the Attribute#ContactListItemView values when possible.

Also fixed the touch feedback inside contact_tile_starred
(has been broken for a while).

Change-Id: Ib9bafceef518aaa16b77d0b585b06778178b76a4
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
6ee0728b5844ae60adb0d27d5f9b54d9720a11a0 29-May-2014 Brian Attwell <brianattwell@google.com> Show starred contacts in circles

Change-Id: I9b3171a507a6b8e0be8bc29e13b4c98f7a0cb737
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.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/ContactTileView.java
906ffc8a0655f0e78a9b7307e7e76717bfdc6d58 01-Mar-2014 Yorke Lee <yorkelee@google.com> Tweaks to redlines for letter tile avatars

* Add overridable method for subclasses to define their own layout
based on whether or not the contact photo is a letter tile avatar

* Update color palette for letter tile avatar backgrounds

Bug: 13101785
Change-Id: I69759d17867b15f9b7e35b1c48e9d85e4470cd56
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.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/ContactTileView.java
039b4d46787bd06f2faeaac8c332459c86f3cffe 24-Oct-2013 Yorke Lee <yorkelee@google.com> Remove use of applicationScale from ContactsCommon

ApplicationScale is always 1.0 by default if android:anyDensity
is not specified in AndroidManifest.xml

Change-Id: I22b50ed5d5db9cbdc63d3047232068bf64b8d70c
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
dc234559370585e45afa79c0e989ac72b385d20c 25-Sep-2013 Yorke Lee <yorkelee@google.com> Changes in ContactsCommon to add number type support in Dialer

Bug: 10888792
Change-Id: I6e203d598edb753c19b33bf1d60fa7e39e5bb404
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
7771c5f33492e6b9af55a49d921cbd909bbc2c90 30-Aug-2013 Yorke Lee <yorkelee@google.com> Allow subclasses of ContactTileView to customize name display

Bug: 10294357
Change-Id: I7706561b585d0e5eb8dd85b083534ae0724aab06
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
0706c0d2e41e3c92cf9d04f0c4f0682a4bb0bf1f 17-Jul-2013 Christine Chen <christinech@google.com> Change ContactTileView listener behavior.

Change-Id: Ie2a3e22bd40c3dbe169dbd0e51faa234a704e6d8
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
9078a0ae8404a1dd7dec44def5a037e4e50e9d77 13-Jul-2013 Yorke Lee <yorkelee@google.com> Moving of Dialer-specific classes to the dialer.

Moved some newly created classes in ContactsCommon to the Dialer
package since any further changes UI-wise will be dialer specific.

Extracted ContactEntry to its own class so that ContactTileView no
longer has a dependency on ContactTileAdapter.

Change-Id: I7d5b97e88073e7abf8f0c1223c992c5b3b5a8a07
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.java
39a11edba72ef54c4b72d3dbd7310b9a55755463 08-Jul-2013 Yorke Lee <yorkelee@google.com> Changes to contacts common for new dialer ui

Does not modify existing dialer behavior in any way, only
adds new classes required for new dialer UI.

New layouts/integers for new dialer lists.

Changes to support smart dial in search.
- Extends functionalities in text highligher.
- Changes pemissions in parent classes.

Change-Id: I5909b6948978a99c128d1bf955a35ecd241f1f72
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactTileView.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/ContactTileView.java