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

Side by Side Diff: sky/framework/theme/view_configuration.dart

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://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
« no previous file with comments | « sky/framework/theme/typography.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Modeled after Android's ViewConfiguration:
6 // https://github.com/android/platform_frameworks_base/blob/master/core/java/and roid/view/ViewConfiguration.java
7
8 const double kStatusBarHeight = 25.0;
9 const double kScrollbarSize = 10.0;
10 const double kScrollbarFadeDuration = 250.0;
11 const double kScrollbarFadeDelay = 300.0;
12 const double kFadingEdgeLength = 12.0;
13 const double kPressedStateDuration = 64.0;
14 const double kDefaultLongPressTimeout = 500.0;
15 const double kTapTimeout = 100.0;
16 const double kJumpTapTimeout = 500.0;
17 const double kDoubleTapTimeout = 300.0;
18 const double kDoubleTapMinTime = 40.0;
19 const double kHoverTapTimeout = 150.0;
20 const double kHoverTapSlop = 20.0;
21 const double kZoomControlsTimeout = 3000.0;
22 const double kEdgeSlop = 12.0;
23 const double kTouchSlop = 8.0;
24 const double kDoubleTapTouchSlop = kTouchSlop;
25 const double kPagingTouchSlop = kTouchSlop * 2.0;
26 const double kDoubleTapSlop = 100.0;
27 const double kWindowTouchSlop = 16.0;
28 const double kMinFlingVelocity = 50.0;
29 const double kMaxFlingVelocity = 8000.0;
OLDNEW
« no previous file with comments | « sky/framework/theme/typography.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698