Commit 90510452 authored by dtrainor's avatar dtrainor Committed by Commit bot

Flip the IPH rectangle highlight animation

The rectangle highlight was mostly faded out, with an occasional pulse
to fade in.  The spec calls for the opposite.  Switching the animation.

BUG=724996

Review-Url: https://codereview.chromium.org/2902573002
Cr-Commit-Position: refs/heads/master@{#473961}
parent c2dc689c
......@@ -68,7 +68,7 @@ public class PulseDrawable extends Drawable implements Animatable {
PulseDrawable.Painter painter = new PulseDrawable.Painter() {
@Override
public void modifyDrawable(PulseDrawable drawable, float interpolation) {
drawable.setAlpha((int) MathUtils.interpolate(12, 75, interpolation));
drawable.setAlpha((int) MathUtils.interpolate(12, 75, 1.f - interpolation));
}
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment