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

Unified Diff: ui/gfx/animation/tween.h

Issue 2947843005: Update voice interaction animation (Closed)
Patch Set: Created 3 years, 6 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 | « ash/shelf/voice_interaction_overlay.cc ('k') | ui/gfx/animation/tween.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/tween.h
diff --git a/ui/gfx/animation/tween.h b/ui/gfx/animation/tween.h
index dbc506e03ac9044d8d09e54788d5f9e4796ecf0a..c2f76167160a0762d2c47a6f4e3c5b433b2f93cd 100644
--- a/ui/gfx/animation/tween.h
+++ b/ui/gfx/animation/tween.h
@@ -20,22 +20,24 @@ namespace gfx {
class ANIMATION_EXPORT Tween {
public:
enum Type {
- LINEAR, // Linear.
- EASE_OUT, // Fast in, slow out (default).
- EASE_IN, // Slow in, fast out.
- EASE_IN_2, // Variant of EASE_IN that starts out slower than
- // EASE_IN.
- EASE_IN_OUT, // Slow in and out, fast in the middle.
- FAST_IN_OUT, // Fast in and out, slow in the middle.
- EASE_OUT_SNAP, // Fast in, slow out, snap to final value.
- SMOOTH_IN_OUT, // Smooth, consistent speeds in and out (sine wave).
- FAST_OUT_SLOW_IN, // Variant of EASE_IN_OUT which should be used in most
- // cases.
- LINEAR_OUT_SLOW_IN, // Variant of EASE_OUT which should be used for
- // fading in from 0% or motion when entering a scene.
- FAST_OUT_LINEAR_IN, // Variant of EASE_IN which should should be used for
- // fading out to 0% or motion when exiting a scene.
- ZERO, // Returns a value of 0 always.
+ LINEAR, // Linear.
+ EASE_OUT, // Fast in, slow out (default).
+ EASE_IN, // Slow in, fast out.
+ EASE_IN_2, // Variant of EASE_IN that starts out slower than
+ // EASE_IN.
+ EASE_IN_OUT, // Slow in and out, fast in the middle.
+ FAST_IN_OUT, // Fast in and out, slow in the middle.
+ EASE_OUT_SNAP, // Fast in, slow out, snap to final value.
+ SMOOTH_IN_OUT, // Smooth, consistent speeds in and out (sine wave).
+ FAST_OUT_SLOW_IN, // Variant of EASE_IN_OUT which should be used in most
+ // cases.
+ LINEAR_OUT_SLOW_IN, // Variant of EASE_OUT which should be used for
xc 2017/06/21 20:41:32 git cl format updated all these white spaces. Let
+ // fading in from 0% or motion when entering a scene.
+ SLOW_OUT_LINEAR_IN, // Reverse of LINEAR_OUT_SLOW_IN which should be used
+ // in reverse animation to create a rubberband effect.
+ FAST_OUT_LINEAR_IN, // Variant of EASE_IN which should should be used for
+ // fading out to 0% or motion when exiting a scene.
+ ZERO, // Returns a value of 0 always.
};
// Returns the value based on the tween type. |state| is from 0-1.
« no previous file with comments | « ash/shelf/voice_interaction_overlay.cc ('k') | ui/gfx/animation/tween.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698