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

Side by Side Diff: sky/sdk/lib/theme2/view_configuration.dart

Issue 1182053012: Rename editing2/ and theme2/ to editing/ and theme/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/sdk/lib/theme2/typography.dart ('k') | sky/sdk/lib/widgets/checkbox.dart » ('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 kNotificationAreaHeight = 25.0;
9 // TODO(ianh): Figure out actual specced height for status bar
10 const double kStatusBarHeight = 50.0;
11
12 // TODO(eseidel) Toolbar needs to change size based on orientation:
13 // http://www.google.com/design/spec/layout/structure.html#structure-app-bar
14 // Mobile Landscape: 48dp
15 // Mobile Portrait: 56dp
16 // Tablet/Desktop: 64dp
17 const double kToolBarHeight = 56.0;
18
19 const double kMaterialDrawerHeight = 140.0;
20 const double kScrollbarSize = 10.0;
21 const double kScrollbarFadeDuration = 250.0;
22 const double kScrollbarFadeDelay = 300.0;
23 const double kFadingEdgeLength = 12.0;
24 const double kPressedStateDuration = 64.0;
25 const double kDefaultLongPressTimeout = 500.0;
26 const double kTapTimeout = 100.0;
27 const double kJumpTapTimeout = 500.0;
28 const double kDoubleTapTimeout = 300.0;
29 const double kDoubleTapMinTime = 40.0;
30 const double kHoverTapTimeout = 150.0;
31 const double kHoverTapSlop = 20.0;
32 const double kZoomControlsTimeout = 3000.0;
33 const double kEdgeSlop = 12.0;
34 const double kTouchSlop = 8.0;
35 const double kDoubleTapTouchSlop = kTouchSlop;
36 const double kPagingTouchSlop = kTouchSlop * 2.0;
37 const double kDoubleTapSlop = 100.0;
38 const double kWindowTouchSlop = 16.0;
39 const double kMinFlingVelocity = 50.0;
40 const double kMaxFlingVelocity = 8000.0;
OLDNEW
« no previous file with comments | « sky/sdk/lib/theme2/typography.dart ('k') | sky/sdk/lib/widgets/checkbox.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698