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

Side by Side Diff: packages/dart_style/test/regression/0400/0448.stmt

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 >>> (indent 6)
2 if (t == 0.0)
3 value = begin;
4 else if (t == 1.0)
5 value = end;
6 else
7 value = lerp(t);
8 <<<
9 if (t == 0.0)
10 value = begin;
11 else if (t == 1.0)
12 value = end;
13 else
14 value = lerp(t);
15 >>> (indent 4)
16 if (direction == AnimationDirection.forward ||
17 reverseCurve == null) return curve;
18 <<<
19 if (direction == AnimationDirection.forward || reverseCurve == null)
20 return curve;
21 >>> (indent 6)
22 if (outputSize.width / outputSize.height > sourceSize.width / sourceSize.h eight)
23 destinationSize = new Size(sourceSize.width * outputSize.height / source Size.height, outputSize.height);
24 else
25 destinationSize = new Size(outputSize.width, sourceSize.height * outputS ize.width / sourceSize.width);
26 <<<
27 if (outputSize.width / outputSize.height >
28 sourceSize.width / sourceSize.height)
29 destinationSize = new Size(
30 sourceSize.width * outputSize.height / sourceSize.height,
31 outputSize.height);
32 else
33 destinationSize = new Size(outputSize.width,
34 sourceSize.height * outputSize.width / sourceSize.width);
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/0400/0444.unit ('k') | packages/dart_style/test/regression/0400/0449.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698