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

Issue 1226263003: Break dependency of AnimationPerformance on AnimatedValue (Closed)

Created:
5 years, 5 months ago by abarth-chromium
Modified:
5 years, 5 months ago
CC:
gregsimon, jackson_old, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Break dependency of AnimationPerformance on AnimatedValue This CL decouples the new animation system (based on AnimationPerformance and AnimatedVariable) from the old animation system (based on AnimatedValue). It introduces a new Ticker and Timeline class to drive AnimationPerformance and makes it possible for AnimatedComponent to watch performances directly. R=eseidel@chromium.org, mpcomplete@chromium.org, mpcomplete@google.com Committed: https://chromium.googlesource.com/external/mojo/+/88b8e63dc48eff1149dc1dcb30e7f1a9c8bb3454

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address eric's comments #

Patch Set 3 : Add missing tick #

Total comments: 2

Patch Set 4 : less curves #

Total comments: 3

Patch Set 5 : remove unused import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -26 lines) Patch
M sky/sdk/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M sky/sdk/example/widgets/card_collection.dart View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M sky/sdk/lib/animation/animation_performance.dart View 4 chunks +37 lines, -16 lines 0 comments Download
A sky/sdk/lib/animation/timeline.dart View 1 2 3 4 1 chunk +135 lines, -0 lines 0 comments Download
M sky/sdk/lib/widgets/animated_component.dart View 3 chunks +17 lines, -2 lines 0 comments Download
M sky/sdk/lib/widgets/drawer.dart View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
abarth-chromium
5 years, 5 months ago (2015-07-09 07:48:41 UTC) #1
eseidel
lgtm, matt is a better reviewer. https://codereview.chromium.org/1226263003/diff/1/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/1/sky/sdk/lib/animation/timeline.dart#newcode16 sky/sdk/lib/animation/timeline.dart:16: int _id; Better ...
5 years, 5 months ago (2015-07-09 16:55:17 UTC) #3
abarth-chromium
Addressed Eric's feedback. Waiting for Matt's feedback.
5 years, 5 months ago (2015-07-09 17:27:24 UTC) #4
Matt Perry
https://codereview.chromium.org/1226263003/diff/40001/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/40001/sky/sdk/lib/animation/timeline.dart#newcode86 sky/sdk/lib/animation/timeline.dart:86: Curve _curve; This class seems overly complicated to me. ...
5 years, 5 months ago (2015-07-09 17:38:08 UTC) #6
abarth-chromium
Done. PTAL. https://codereview.chromium.org/1226263003/diff/40001/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/40001/sky/sdk/lib/animation/timeline.dart#newcode86 sky/sdk/lib/animation/timeline.dart:86: Curve _curve; On 2015/07/09 at 17:38:08, Matt ...
5 years, 5 months ago (2015-07-09 17:48:30 UTC) #7
Matt Perry
https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart#newcode89 sky/sdk/lib/animation/timeline.dart:89: double begin: 0.0, I don't even think we need ...
5 years, 5 months ago (2015-07-09 17:52:57 UTC) #8
abarth-chromium
https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart#newcode89 sky/sdk/lib/animation/timeline.dart:89: double begin: 0.0, On 2015/07/09 at 17:52:57, Matt Perry ...
5 years, 5 months ago (2015-07-09 17:55:38 UTC) #9
Matt Perry
LGTM https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart File sky/sdk/lib/animation/timeline.dart (right): https://codereview.chromium.org/1226263003/diff/60001/sky/sdk/lib/animation/timeline.dart#newcode89 sky/sdk/lib/animation/timeline.dart:89: double begin: 0.0, On 2015/07/09 17:55:37, abarth-chromium wrote: ...
5 years, 5 months ago (2015-07-09 18:10:40 UTC) #10
abarth-chromium
5 years, 5 months ago (2015-07-09 19:16:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
88b8e63dc48eff1149dc1dcb30e7f1a9c8bb3454 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698