d0ff41c40660288c3bae27e5c3bc328a464eab03 |
|
27-Jun-2016 |
Doris Liu <tianliu@google.com> |
Rounding per-channel interpolation in ArgbEvaluator to closest integer In case of interpolating between x+1 and x in a color channel, the previous implementation would jump to x in the *beginning* of the animation, as it rounds down the interpolated float that's [x, x+1]. This CL rounds the per-channel interpolated float to the closest integer. Change-Id: I8610fb14ab3dd0ee2b1816868977c5653c178660
/frameworks/base/core/java/android/animation/ArgbEvaluator.java
|
ed45ab9004e9f70649f2f122d0d827ce70427130 |
|
30-Apr-2016 |
Romain Guy <romainguy@google.com> |
Evaluate ARGB values in linear space instead of sRGB A comparison between the old behavior and the behavior proposed in this change can be found in the following document: https://docs.google.com/a/google.com/document/d/1x8g5VcEZbuZd-RhSITc1VPpZ_dc0FlF1WbDscBYPQzM Change-Id: I29d3fdfdd45cb64f32ad6a6f3f25fa3dafe1a6d0
/frameworks/base/core/java/android/animation/ArgbEvaluator.java
|
1ffb280a7d2c70cc16d709c685f5d31fdb86b5e4 |
|
10-Oct-2013 |
George Mount <mount@google.com> |
Add ofArgb to ObjectAnimator and ValueAnimator. Bug 10396985 Change-Id: Ib1fcea04b5a915800fc415b3d548a8853b05389c
/frameworks/base/core/java/android/animation/ArgbEvaluator.java
|
9b5599894b80b2707909e8e6872eeec7c58af73a |
|
09-Aug-2012 |
Chet Haase <chet@google.com> |
Fix shift/mask error in ArtbEvaluator Shifting from the left copies the MSB along with it. This causes a problem in ArgbEvaluator, which shifts the top byte down by 24 for the start/end colors, and then uses those values to interpolate alpha values. The correct appraoch (used with the other color components) is to mask by 0xff after the shift. Issue #6960514 External bug: ArgbEvaluator can't evaluate alpha value properly Change-Id: I750d38ddfecc5f30d8dab7c6d27d1a7ac06361c3
/frameworks/base/core/java/android/animation/ArgbEvaluator.java
|
53ee3316bcb3590ff156b3fd7108903c0817c35d |
|
11-Jan-2011 |
Chet Haase <chet@google.com> |
Rename RGBEvaluator to ArgbEvaluator Change-Id: Iee74b475960d623fa757349e4053bd7c58cf5734
/frameworks/base/core/java/android/animation/ArgbEvaluator.java
|