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/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|
80f8bee7990fd7f2a9fd2bace2d96b39c0f264b3 |
|
15-Aug-2014 |
Nancy Chen <nancychen@google.com> |
Update margins around directory headers and search bar icons. *Added more space to the top of the directory header *Added more margin to the left of the back arrow and right of the close *Pushed the contact text to the right Bug: 15596340 Change-Id: I8817369d52faeb8edff7817b3f29726c1717e74f
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
2cb2e29508d59f76976c8f1742690b90f99ab803 |
|
11-Aug-2014 |
Brian Attwell <brianattwell@google.com> |
Remove background from unpinned headers When ContactEntryListAdapter headers are unpinned, there is no need to set their background color. Set the backgound to null. Since the background color that is currently set on ContactEntryListAdapter headers is currently incorrect in some unpinned contexts, this is an easy solution to the mismatched background color. Bug: 16552544 Change-Id: Ie17dfa40b495d87c6664605bd77e703acfdd2855
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
53c7dc1e9691b5b427395642a4274d37a1a15bb4 |
|
31-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Correctly setGravity for RTL mode Ensure that by the time setGravity is called for RTL-related aligning, that getLayoutDirection() returns the correct values. This value is not usually correct in the constructor, because the view does not have a parent to resolve it from yet. Bug: 16162786 Change-Id: Iea6cbcd05e39a5c45641dbb1230d4be85b45ff15
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|
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/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
0631174430c169d84675123346797654f4e62b5c |
|
17-Jul-2014 |
Brian Attwell <brianattwell@google.com> |
Inline "select new contact" entry in contact picker Moved Dialer resources into ContactsCommon (didn't use the exact same icon. Used the icon from go/icons instead). Made some small code changes needed by my Contacts CL: bug fix and overridable parameter. Part 2/3 Bug: 16209705 Change-Id: I792b4fa560f4f8a26ed05d5b44817152c59deda1
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
fc9221ef57bfb9311dda798f67030d40215be859 |
|
10-Jun-2014 |
Andrew Lee <anwlee@google.com> |
Add support for full-bleed selection of contact list items. - Adding the concept of "adjustSelectionBoundsEnabled", which allows us to control whether the headerWithoutBounds is used to override the selection list items bounds. We want to be able to do this in some cases (eg. in the contacts list when there is a header on the left) but in others (eg. a search list), we want the ripple to fill out the entire bounds of the list item. - Allow for this to be set by the ContactEntryListFragment, and then passed through the ContactEntryListAdapter to the ContactListItemView. - No longer apply scrollbar padding to the list view regardless of whether the scrollbar is present, because this messes with the ripple propagation. Bug: 15517457 Change-Id: I174a462ac1e45b987ac0ee70de318ed037d91762
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
b197fb095d6147702afe26a08d214cd821faf4ba |
|
02-May-2014 |
Andrew Lee <anwlee@google.com> |
Merge "Delete mContactsCount tracking in ContactEntryListAdapter."
|
9cab8547bdd10ae74fe49a41d6edd65312d4dc17 |
|
01-May-2014 |
Andrew Lee <anwlee@google.com> |
Delete mContactsCount tracking in ContactEntryListAdapter. Bug: 13956531 Change-Id: I0345cf85ae428441718c08d0b5a3a5eee2eef883
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.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/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|
9779f462bd7213e8e0d2aeeadcef84d8182f7594 |
|
25-Apr-2014 |
Andrew Lee <anwlee@google.com> |
Delete functionality to set count in the pinned header views. Bug: 13956531 Change-Id: Iad1ab60ae486bfa059ad14a856eb6f3aa6637bdc
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
b49193d619da7e06b8cba41e443913825f6464f5 |
|
22-Mar-2014 |
Jay Shrauner <shrauner@google.com> |
Fix NPE when lack index counts Fix NPE when index counts aren't present in bundle. Bug:14140956 Change-Id: I491bce17be57b13e72e75a443de77550ed5e487e
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.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/src/com/android/contacts/common/list/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|
adbb5e91a12aff2ef64945424e3cecdc1cdc724d |
|
06-Nov-2013 |
Jay Shrauner <shrauner@google.com> |
Don't display quick contact card when lacking info Don't try to display a quick contact card for directory contacts when we don't have a lookup key (this happens for Exchange contacts). Don't allow users to dial empty string phone numbers. Bug:11539561 Change-Id: I1da554f1ad60a5c2b6b82175074c218dffb5bcca
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
b23d36979bad7dbdb0b2f6318fce7573f01fa6b4 |
|
11-Sep-2013 |
Yorke Lee <yorkelee@google.com> |
UI Polish for list section headers in ContactsCommon Bug: 10671447 Change-Id: I72927f64a0bbbef1252e6d065546d6186622c96d
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
88bc23f8e6a823415ef269fc523ce81e828468b6 |
|
11-Sep-2013 |
Yorke Lee <yorkelee@google.com> |
Fix missing search header in People Bug: 10688908 Change-Id: Ibfdb0bdd1f706e115f56e56267e2c053308975d9
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.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/ContactEntryListAdapter.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/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|
cae605bed4d43e1925fc8c1803def0ef1d0924a5 |
|
28-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Find proper snippet in multi-line and large result. Previous CL removed the use ContactsContract.snippetize(). This method found the proper line in a multi-line results and then snippetized the line if it was too long. This CL adds that functionality back without using snippetize(). This new code is faster because it only does text intensive processing when the text is long. The previous snippetize method did processing for all strings. In addition, the old method iterated over the snippet multiple times (i.e. first with contains, then subsequently tokenizes, etc). This change re-uses the initial search results and remembers the search information so multiple iterations are not necessary. In addition, tokenizing has been optimized based on the match. We only need to chop off excess content rather than tokenizing the whole string. This CL also makes snippet more friend to landscape mode. Previously, the number of snippet tokens shown was hard-coded to 2 on each side. Furthermore, this caused longer tokens to exceed screen real estate. Now the number of tokens shown are determined more accurately by character count versus real estate. In landscape mode, this allows us to show much more of the search result. Finally, fixed a highlight problem when the search query contained punctuation. For example, a search for {.ben.} would not match {ben}. This Cl resolves that issue by cleaning the search query. Bug: 5929143 Change-Id: I5c368e6de8b34ca912f86926f862a02f95199fa7
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
bd80fd64b9ff94c9ffbdb843beb4b363bb209463 |
|
22-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Fixing missing punctuation for punctuation search case. Previous CL I9cbdf10d21c79f53bc621bacb7eeeb95a6a2435f fixed missing punctuation at the start when searching without punctuation. (e.g. {hello}) This CL fixes the case where leading punctuation is missing if you searched with a leading punctuation. (e.g. {'hello}). The content provider uses a different code path when it detects multi-words and snippeting is actually done in sqlite using the FTS snippet method. The check for multi-word was treating {'hello} as two words. This means that multi-word searches will still have this issue as it still uses the sqlite snippet method. Leaving this to a separate CL since it's a riskier change. Bug: 5929143 Change-Id: I1883621bb64452726cd92035d30001c29b478574
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.java
|
b6013cb63fb66c6b60c02d5c0447e2d29bb23d7c |
|
11-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Add empty list message. Bug: 7403225 Change-Id: Ib57e5bbb17ac7f3a7a08c2c0b015d2bd7a61a459
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListAdapter.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/ContactEntryListAdapter.java
|