History log of /packages/apps/Contacts/src/com/android/contacts/util/MoreMath.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
11812c59ee140d62eaf3a8d826d2018767d490c5 30-Mar-2012 Daniel Lehmann <lehmannd@google.com> Don't move "Provide a year" around on screen anymore, center instead

- Also fixes the title when no year is used. Doesn't show year "1' anymore

Bug:6009385
Change-Id: If0a23d852112970456dc3f5c4061d5c578fff48a
/packages/apps/Contacts/src/com/android/contacts/util/MoreMath.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/util/MoreMath.java