summaryrefslogtreecommitdiffstats
path: root/TestCommon
Commit message (Collapse)AuthorAgeFilesLines
* ContactPhotoManager - Add ability to fetch contact bitmap based on photo idRohit Yengisetty2015-07-171-0/+5
| | | | Change-Id: Ie9f4ec17ec7f598c8d0005e27107f300af829fc3
* ContactsCommon : Modify ContactPhotoManager to fetch contacts' bitmapsRohit Yengisetty2015-04-211-0/+5
| | | | | Change-Id: If7279a5a77c9d036c5ffdf0633c7577df30973b4 (cherry picked from commit ad0dff5a4331a1625c51c8b9cbcdbfbe5364dae2)
* Add SIM photo for SIM contactsblong2014-11-191-6/+14
| | | | | | - Add the customize photo for SIM contacts Change-Id: I06cd4a7f9c0151a01fdc029e4b669e9cc02886c6
* Add the support for SIM and Phone accountYujing Gu2014-11-041-0/+5
| | | | | | | | | - Add SIM and Phone account type - Add insert/update/delete operation for SIM contacts - Add the support for filter SIM contacts - Add support to save anr and email for SIM contacts Change-Id: I1aaa9046462ed114488e4cd0cfa0d061a7330c69
* Making display name optional for directory contacts.Zheng Fu2014-09-021-1/+10
| | | | | Bug: 17034954 Change-Id: I0ebec04ddad3cc1c8d979b02f834e5d544e8d6f3
* API changes for ContactsContractYorke Lee2014-08-261-2/+4
| | | | | | | | | | * Remove usages of NAME_VERIFIED * Update ContactLoader tests * Also fix broken unit tests as a result of ProviderInfo not having an authority. Bug: 17253963 Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
* Only kill image requests from the one fragmentBrian Attwell2014-07-231-1/+2
| | | | | | | | | 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
* Add circular photo support to ContactPhotoManagerYorke Lee2014-05-011-2/+3
| | | | | | | | | | | | | | * 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
* Fixing issue where contact photos are shown in the wrong location due toTyler Gunn2014-04-151-0/+4
| | | | | | | | | 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
* Add support for letter tile avatars to ContactsPhotoManagerYorke Lee2014-02-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Move ContactLoader related code to ContactsCommonYorke Lee2013-11-054-0/+298
| | | | | | | | | | | 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
* Moving common test code to be shared by Dialer and Contacts.Chiao Cheng2012-10-314-1/+481
| | | | | Bug: 6993891 Change-Id: Id45480f4c4c1eb8726f701c5fed481f21ed134a0
* Adding common test classes for dialer and contacts.Chiao Cheng2012-08-173-0/+262
Bug: 6993891 Change-Id: I4bd6fc38be1723e8f33c88041d0d459d43cac6a5