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

Unified Diff: ui/base/animation/tween.cc

Issue 10960034: [cros] Go back to EASE_OUT for boot transition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 3 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 | « ui/base/animation/tween.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/tween.cc
diff --git a/ui/base/animation/tween.cc b/ui/base/animation/tween.cc
index f3a854f05cf8748e8bdf5f292b019c1cfca82a6b..18a21b8f1696a2d98145aa8a7a0728e910661e05 100644
--- a/ui/base/animation/tween.cc
+++ b/ui/base/animation/tween.cc
@@ -46,6 +46,9 @@ double Tween::CalculateValue(Tween::Type type, double state) {
return 1.0 - pow(1.0 - state, 2);
case EASE_OUT_2:
+ return 1.0 - pow(1.0 - state, 3);
+
+ case EASE_OUT_3:
return 1.0 - pow(1.0 - state, 4);
case SMOOTH_IN_OUT:
« no previous file with comments | « ui/base/animation/tween.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698