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 int kMaxFlingVelocity = 8000; | 8 const int kMaxFlingVelocity = 8000; |
9 const int kMinFlingVelocity = 50; | 9 const int kMinFlingVelocity = 50; |
10 const int kScrollbarFadeDelay = 300; | 10 const int kScrollbarFadeDelay = 300; |
11 const int kScrollbarFadeDuration = 250; | 11 const int kScrollbarFadeDuration = 250; |
12 const int kScrollbarSize = 10; | 12 const int kScrollbarSize = 10; |
| 13 const int kStatusBarHeight = 25; |
OLD | NEW |