| OLD | NEW |
| 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 components_ink_splash; |
| 6 |
| 5 import '../animation/animated_value.dart'; | 7 import '../animation/animated_value.dart'; |
| 6 import '../animation/curves.dart'; | 8 import '../animation/curves.dart'; |
| 7 import '../fn.dart'; | 9 import '../fn.dart'; |
| 8 import '../theme/view_configuration.dart' as config; | 10 import '../theme/view_configuration.dart' as config; |
| 9 import 'dart:async'; | 11 import 'dart:async'; |
| 10 import 'dart:math' as math; | 12 import 'dart:math' as math; |
| 11 import '../layout.dart'; | 13 import '../layout.dart'; |
| 12 | 14 |
| 13 const double _kSplashConfirmedDuration = 350.0; | 15 const double _kSplashConfirmedDuration = 350.0; |
| 14 const double _kSplashUnconfirmedDuration = config.kDefaultLongPressTimeout; | 16 const double _kSplashUnconfirmedDuration = config.kDefaultLongPressTimeout; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 style: _clipperStyle, | 134 style: _clipperStyle, |
| 133 children: [ | 135 children: [ |
| 134 new Container( | 136 new Container( |
| 135 inlineStyle: _inlineStyle, | 137 inlineStyle: _inlineStyle, |
| 136 style: _splashStyle | 138 style: _splashStyle |
| 137 ) | 139 ) |
| 138 ] | 140 ] |
| 139 ); | 141 ); |
| 140 } | 142 } |
| 141 } | 143 } |
| OLD | NEW |