| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/base/gestures/gesture_configuration.h" | 5 #include "ui/base/gestures/gesture_configuration.h" |
| 6 | 6 |
| 7 namespace ui { | 7 namespace ui { |
| 8 | 8 |
| 9 // Ordered alphabetically ignoring underscores, to align with the | 9 // Ordered alphabetically ignoring underscores, to align with the |
| 10 // associated list of prefs in gesture_prefs_aura.cc. | 10 // associated list of prefs in gesture_prefs_aura.cc. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 GestureConfiguration::min_touch_down_duration_in_seconds_for_click_ = 0.01; | 31 GestureConfiguration::min_touch_down_duration_in_seconds_for_click_ = 0.01; |
| 32 | 32 |
| 33 // The number of points used in the linear regression which determines | 33 // The number of points used in the linear regression which determines |
| 34 // touch velocity. If fewer than this number of points have been seen, | 34 // touch velocity. If fewer than this number of points have been seen, |
| 35 // velocity is reported as 0. | 35 // velocity is reported as 0. |
| 36 int GestureConfiguration::points_buffered_for_velocity_ = 3; | 36 int GestureConfiguration::points_buffered_for_velocity_ = 3; |
| 37 double GestureConfiguration::rail_break_proportion_ = 15; | 37 double GestureConfiguration::rail_break_proportion_ = 15; |
| 38 double GestureConfiguration::rail_start_proportion_ = 2; | 38 double GestureConfiguration::rail_start_proportion_ = 2; |
| 39 | 39 |
| 40 // The additional acceleration to apply to touchscreen flings. | 40 // The additional acceleration to apply to touchscreen flings. |
| 41 double GestureConfiguration::touchscreen_fling_acceleration_adjustment_ | 41 double GestureConfiguration::touchscreen_fling_acceleration_adjustment_ = 0.85; |
| 42 = 1; | |
| 43 | 42 |
| 44 } // namespace ui | 43 } // namespace ui |
| OLD | NEW |