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

Side by Side Diff: sky/framework/components/ink_splash.dart

Issue 1001373002: Organize sky/framework/animation (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
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 import '../animation/curves.dart'; 5 import '../animation/curves.dart';
6 import '../animation/generator.dart'; 6 import '../animation/generators.dart';
7 import '../fn.dart'; 7 import '../fn.dart';
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:sky' as sky; 9 import 'dart:sky' as sky;
10 10
11 const double _kSplashSize = 400.0; 11 const double _kSplashSize = 400.0;
12 const double _kSplashDuration = 500.0; 12 const double _kSplashDuration = 500.0;
13 13
14 class SplashAnimation { 14 class SplashAnimation {
15 AnimationGenerator _animation; 15 AnimationGenerator _animation;
16 double _offsetX; 16 double _offsetX;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 styles: [_style], 97 styles: [_style],
98 children: [ 98 children: [
99 new Container( 99 new Container(
100 inlineStyle: _inlineStyle, 100 inlineStyle: _inlineStyle,
101 styles: [_splashStyle] 101 styles: [_splashStyle]
102 ) 102 )
103 ] 103 ]
104 ); 104 );
105 } 105 }
106 } 106 }
OLDNEW
« no previous file with comments | « sky/framework/components/fixed_height_scrollable.dart ('k') | sky/framework/components/scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698