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

Side by Side Diff: sky/sdk/lib/framework/animation/animated_value.dart

Issue 1150433002: Add library names to many sky libraries (Closed) Base URL: git@github.com:domokit/mojo.git@fix_shelldb
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sky/examples/stocks/lib/stock_list.dart ('k') | sky/sdk/lib/framework/animation/curves.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library animation_animated_value;
6
5 import 'curves.dart'; 7 import 'curves.dart';
6 import 'dart:async'; 8 import 'dart:async';
7 import 'generators.dart'; 9 import 'generators.dart';
8 10
9 typedef void Callback (); 11 typedef void Callback ();
10 12
11 class AnimatedValue { 13 class AnimatedValue {
12 StreamController _controller = new StreamController.broadcast(sync: true); 14 StreamController _controller = new StreamController.broadcast(sync: true);
13 AnimationGenerator _animation; 15 AnimationGenerator _animation;
14 Completer _completer; 16 Completer _completer;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 return _completer.future; 75 return _completer.future;
74 } 76 }
75 77
76 double get remainingTime { 78 double get remainingTime {
77 if (_animation == null) 79 if (_animation == null)
78 return 0.0; 80 return 0.0;
79 return _animation.remainingTime; 81 return _animation.remainingTime;
80 } 82 }
81 83
82 } 84 }
OLDNEW
« no previous file with comments | « sky/examples/stocks/lib/stock_list.dart ('k') | sky/sdk/lib/framework/animation/curves.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698