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

Side by Side Diff: sky/sdk/lib/framework/components/scrollable.dart

Issue 1142893007: Suppress unnamed library analyzer spam in shelldb (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
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 components_scrollable;
6
7 import '../animation/generators.dart'; 5 import '../animation/generators.dart';
8 import '../animation/mechanics.dart'; 6 import '../animation/mechanics.dart';
9 import '../animation/scroll_behavior.dart'; 7 import '../animation/scroll_behavior.dart';
10 import '../fn.dart'; 8 import '../fn.dart';
11 import '../theme/view_configuration.dart' as config; 9 import '../theme/view_configuration.dart' as config;
12 import 'dart:math' as math; 10 import 'dart:math' as math;
13 import 'dart:sky' as sky; 11 import 'dart:sky' as sky;
14 12
15 const double _kMillisecondsPerSecond = 1000.0; 13 const double _kMillisecondsPerSecond = 1000.0;
16 14
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 137 }
140 138
141 void _handleFlingCancel(sky.GestureEvent event) { 139 void _handleFlingCancel(sky.GestureEvent event) {
142 _startSimulation(_createParticle()); 140 _startSimulation(_createParticle());
143 } 141 }
144 142
145 void _handleWheel(sky.WheelEvent event) { 143 void _handleWheel(sky.WheelEvent event) {
146 scrollBy(-event.offsetY); 144 scrollBy(-event.offsetY);
147 } 145 }
148 } 146 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components/scaffold.dart ('k') | sky/sdk/lib/framework/debug/tracing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698