c3f21a33fa554f683ddbe6d9553d1b3bd9a4fd29 |
|
22-Jul-2014 |
Brian Attwell <brianattwell@google.com> |
Only kill image requests from the one fragment In ContractEntryListAdapter#changeCursor(), don't kill all image loading requests app wide. Instead, only kill the image loading requests that were associated with the adapter's fragment. Bug: 15522504 Change-Id: Ib4e0448217e8bbb8df55e74649a013e0f1688a22
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/MockContactPhotoManager.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/TestCommon/src/com/android/contacts/common/test/mocks/MockContactPhotoManager.java
|
353068614111bd79ac92e0ae98af433868ba3fb3 |
|
16-Apr-2014 |
Tyler Gunn <tgunn@google.com> |
Fixing issue where contact photos are shown in the wrong location due to a concurrent change to the search results list which occurs after the the request to load the contact photo is registered, but prior to it being fulfilled. Bug: 13967012 Change-Id: I6f14e69ad1841df8b7da5632e4a9551b6641e04b
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/MockContactPhotoManager.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/TestCommon/src/com/android/contacts/common/test/mocks/MockContactPhotoManager.java
|
5ade0bb1757b216ace2f50d2357409bf9876a07a |
|
28-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Move ContactLoader related code to ContactsCommon This CL simply moves classes from Contacts into ContactsCommon. This is needed so that Dialer can use ContactLoader related code for b/11294679. A ContactLoader will also be needed in the future to allow InCallUI to download hi-res photos while in call. Bug: 11294679 Change-Id: If56a60aed2003ac7b8fcedac7ce4f1a7503bce94
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/MockContactPhotoManager.java
|