Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java

Issue 2902573002: Flip the IPH rectangle highlight animation (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java
index 8b2aeaafe6d867f10cdd9b5dda91ca9da57ee5bc..4175cd17243d6c3404a1dd595c7c4fa8b666d43c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/PulseDrawable.java
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698