e0b2f1e2d01d1ac52ba207dc7ce76971d853298e |
|
12-Jun-2012 |
Chiao Cheng <chiaocheng@google.com> |
Global import order fix. Changed import order to be in accordance with style guide: http://source.android.com/source/code-style.html#order-import-statements Static imports will be placed at the top since most existing files used that convention. It is also a style that can be handled by both eclipse and intellij. Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
7edad9dd95a411cc5ed69815e5f0be8a5d1e8b19 |
|
20-Apr-2012 |
Josh Gargus <jjosh@google.com> |
Fix broken touch-interception in ContactDetailFragmentCarousel. Tear out a confusion of code that wires XML specs up to alpha- and touch-interceptor layers. Encapsulate in a new class, FrameLayoutWithOverlay. Bug: 6324499 Change-Id: Ic531327d67db8b5069abbd93e31fa10d99d4c4cd
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
84edfd9a76657a653491faac53b5976adf9fd2cb |
|
16-Mar-2012 |
Josh Gargus <jjosh@google.com> |
Miscellaneous contact-detail fixes. View-pager containing contact details and social updates are now scrolled by the appropriate amount when ContactDetailTabCarousel is swiped. Also, fix "bounce-back" where the carousel improperly selected the wrong tab (i.e. the one you just swiped away from). Finally, make it possible to start a swipe back to the "about" tab from the "updates" tab (previously, you had to initiate the swipe on the partially-revealed "about" tab). In ContactDetailFragment, only make photos tappable when either: - the photo is settable (i.e. the contact is not read-only), or - the photo should expand when tapped. Bug: 6009463 Change-Id: I291e0c42b1d77a11babc7a9cb282a19cdb305025
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
187c8167d77687fbc04237c9ac1e87564b2d5f33 |
|
14-Mar-2012 |
Josh Gargus <jjosh@google.com> |
Miscellaneous contact-detail fixes. Fix bug in carousel "Updates" tab, which would turn black when swiping it all the way to the left. This was caused by a small negative alpha being computed, and some incautious integer arithmetic to transform it for use in setBackgroundColor(). Fix clamps the alpha value between 0 and 1 (using newly-introduced MoreMath class). Fix visual glitch where the "Updates" label displays the "pushed" glow when tapped. Bug: 6009463 Change-Id: Iee041ee7793f198f1d51ea5e7c5bbcb07b9a41df
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
2a45e35ab3273c8901d9df3671e51614dc0250c6 |
|
14-Feb-2012 |
Daniel Lehmann <lehmannd@google.com> |
Animate show/hide updates Also fixes the vertical text position which was wrong due to the shadow Bug:5268733 Bug:5204655 Change-Id: I011a482500e13b1b189c7e27dbcd40e2e1f42318
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
6fa7384a1a5576ace18159de61af91c8b7c34dc6 |
|
28-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Allow adding/replacing a photo from contact card. This involves a large refactoring of the photo handling code that previously lived in ContactEditorFragment. The bulk of that logic has been extracted out into PhotoSelectionHandler and PhotoSelectionActivity classes. As part of this change, also removed the selection highlighting when tapping on the current tab header in multi-tab views. Bug 5294297 Bug 5379389 Change-Id: Ic929e4b4a730d91f768a34367bb76967228ded17
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
51f1071a1dc91dace0de73be1c5fbba4f091f054 |
|
16-Aug-2011 |
Katherine Kuan <katherinekuan@google.com> |
Allow phone contact card to switch b/t having/not having social updates - Make phone portrait and landscape layouts have all views necessary to switch between showing/hiding social updates. Disable swipe if only the detail fragment is showing. - Make ContactDetailActivity use ContactDetailLayoutController to reduce code duplication, add another state for fragment carousel in ContactDetailLayoutController - Make fragment widths in fragment carousel configurable based on screen width instead of fixed dip value - Make setAlphaLayerValue() save the alpha value if the view isn't ready yet (otherwise it's a no-op and the caller must call it setAlphaLayerValue again when the view is attached) --> this allows us to remove the code to set fragments in the fragment carousel every time the data is reloaded - Remove enableAlphaLayer() code and just make the alpha layer view visible in the XML Bug: 5164029 Change-Id: I8f28ac27d125502a12221f084ce253611e6f78a1
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
25594d6db384d27641b402cddf23d44818e1cd10 |
|
13-Aug-2011 |
Katherine Kuan <katherinekuan@google.com> |
Performance improvements for contact card with social updates - Use background color with alpha hex color instead of alpha attribute of View - Instead of posting a runnable in onMeasure, move it to setCurrentPage / setFragments methods Bug: 5161205 Change-Id: Ib1ad3b11c359d8fdc1e9143ab9d64c39aa914b91
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|
2ad0dea36362beb70f5a92ac9b4c6a1db7bbb8b9 |
|
27-Jul-2011 |
Katherine Kuan <katherinekuan@google.com> |
Add alpha layer to tab carousel on contact card - Introduce CarouselTab class to handle the alpha layer and touch interceptor - Clicking anywhere on the tab will select that tab - Remove split style action bar on contact card so favorites star will be in upper right corner Bug: 5081735 Bug: 5042660 Change-Id: I54088b49c928297dbfc523752258ceaa97cce445
/packages/apps/Contacts/src/com/android/contacts/detail/CarouselTab.java
|