2f77c85543e6c497e63cd0e216b70e58c1d13ec3 |
|
31-Mar-2012 |
Daniel Lehmann <lehmannd@google.com> |
Various refactorings to prepare proper big picture loading - Added a function to load a picture with ideal sampleSize - Renamed xmls/java files for tiles - ContactTileView is now abstract and has subclasses for each use-case - Added mechanism to estimate the image-size in a tile before layout - Changed the cross-fade in ContactPhotoManager to apply the fade to the current picture instead of the default avatar. Reduces flickering Bug:6202229 Change-Id: Ic8636d1b3349473163fb2424b5f74476fd435fb5
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
e231f1994a57b3ecaa3a1c73ed7ddfec40fbd235 |
|
18-Nov-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Misc picker configuration fixes. - Postal address picker now has a vertical scroll bar - Email picker now has the scroll bar and section header Bug: 5484952 Change-Id: I6c80258bdbd748848cab5a89c2dc72fe7530ec31
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
2476f0cd8b72c9662daec05d758ecbeefe66bdfa |
|
14-Nov-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Explicitly request "duplicate removal" in pickers This must be after - Ie88af0c3d21919ca201f4fcdd46ca09e9f8d94c0 - I3b6ba3956449520f9e08653fc8beead763a5f8a1 Bug: 5484956 Change-Id: I58ff7434f86e6b2629c1d29046467a5372e45c6d
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
ed90ea54323f212d87b27b04d7d627192afa6665 |
|
31-Oct-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Stop using DisplayNameFormatter and reduce a query column setDisplayName()'s 3rd param "highlightingEnabled" never becomes true in the current implementation and thus using the entire class seems less meaningful. After removing the formatter class, we can be sure one of primary and alternative name column won't be needed and can be conditionally removed. Per the observation above, this change removes the column for Phone UI. Note that this does *not* optimize People side yet, since it has quite different and more complicated configuration there. Other fixes: - replace getMarqueeText() with setMarqueeText(), since the former implicitly requires unconditional "new String()", while the latter doesn't. - Use SpannableString instead of SpannableStringBuilder. Our prefix highlighter is already using SpannableString, and we can expect less GC by using exactly same classes for constructing spanned CharSequence. - Group query constants like I5ad0876ce469fbf86334e3f77b15cd240d9f761b for cleaning our code and make it more consistent. -- Legacy adapters aren't modified since they are legacy anyway. We probably don't want to touch those files as much as possible. TESTED: - Phone UI and People UI work with display/sort order changes - "(No name)" is shown correctly (mUnknownNameText is working) - Prefix highlighting works correctly (in search screens) - Pickers work with sort order change (primary/alternative) - no performance regression at least (no visible performance improve will occur) Bug: 5550672 Change-Id: Ie69b74bbabcc7211cf2b107c93980172da2d744e
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
ecfc26c3f9495f1a4efed69a1582ff2b0deb2c71 |
|
13-Sep-2011 |
Daniel Lehmann <lehmannd@google.com> |
New avatars Bug:5074147 Change-Id: I583d22c63a7b617567c523efeed292ae1e2be7e4
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
0155652987e0c792d89b5a37bb8dc6f14ffd209f |
|
23-Aug-2011 |
Isaac Katzenelson <isaack@android.com> |
Remove semi-transparent first name on scrolling Bug: 5197714 Semi-transparent "first name" effect doesn't go away Removed the text animation when scrolling. This is not a fix but a removal of the feature as was decided. Change-Id: I6b4b7798ec2aea493ca464cffb4907fe21788b6f
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
4ff31284ff6bd263621771bbfa6b24e0da5af031 |
|
11-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Remove restricted white-listing Bug:4974334 Change-Id: I05736d49a72ca26902de52f967ee8028178e2366
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
da5bf1cf60beef3de5e651a569fa544293683926 |
|
03-May-2011 |
Dave Santoro <dsantoro@google.com> |
Modifications to bold contacts' first names. For lists and headers, this is calculated by using a similar technique as we use in the list view for highlighting text when the sort order and display order do not match - we look for the overlap point between the display name and the alternate display name, and bold the leading or trailing part, based on the display order. For the edit view, we convert the display name into a structured name (via an API extracted from the structured name editor code that calls into the provider to handle splitting), and then bold the span corresponding to the contact's given name. This also fixes an issue with the alternate display order in which we weren't honoring that preference on the contact details view. Change-Id: I6af048725541996cb303810a56a1ad79fc276e11
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|
c86ace78ca5c2e10dcb001a916386c8a9865e230 |
|
24-Mar-2011 |
Daniel Lehmann <lehmannd@google.com> |
Provide a picker for third parties Also fix a bug where custom labels wouldn't be shown for addresses Bug:3378785 Change-Id: Iaafdc44fdcd67b878b80218976d8b94b529e8aeb
/packages/apps/Contacts/src/com/android/contacts/list/EmailAddressListAdapter.java
|