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 // Modeled after Android's ViewConfiguration: | 5 // Modeled after Android's ViewConfiguration: |
6 // https://github.com/android/platform_frameworks_base/blob/master/core/java/and
roid/view/ViewConfiguration.java | 6 // https://github.com/android/platform_frameworks_base/blob/master/core/java/and
roid/view/ViewConfiguration.java |
7 | 7 |
8 const double kNotificationAreaHeight = 25.0; | 8 const double kNotificationAreaHeight = 25.0; |
9 // TODO(ianh): Figure out actual specced height for status bar | 9 // TODO(ianh): Figure out actual specced height for status bar |
10 const double kStatusBarHeight = 50.0; | 10 const double kStatusBarHeight = 50.0; |
(...skipping 20 matching lines...) Expand all Loading... |
31 const double kHoverTapSlop = 20.0; | 31 const double kHoverTapSlop = 20.0; |
32 const double kZoomControlsTimeout = 3000.0; | 32 const double kZoomControlsTimeout = 3000.0; |
33 const double kEdgeSlop = 12.0; | 33 const double kEdgeSlop = 12.0; |
34 const double kTouchSlop = 8.0; | 34 const double kTouchSlop = 8.0; |
35 const double kDoubleTapTouchSlop = kTouchSlop; | 35 const double kDoubleTapTouchSlop = kTouchSlop; |
36 const double kPagingTouchSlop = kTouchSlop * 2.0; | 36 const double kPagingTouchSlop = kTouchSlop * 2.0; |
37 const double kDoubleTapSlop = 100.0; | 37 const double kDoubleTapSlop = 100.0; |
38 const double kWindowTouchSlop = 16.0; | 38 const double kWindowTouchSlop = 16.0; |
39 const double kMinFlingVelocity = 50.0; | 39 const double kMinFlingVelocity = 50.0; |
40 const double kMaxFlingVelocity = 8000.0; | 40 const double kMaxFlingVelocity = 8000.0; |
OLD | NEW |