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 #include "services/prediction/touch_position_correction.h" | 5 #include "services/prediction/touch_position_correction.h" |
6 | 6 |
7 // NOTE: This class has been translated to C++ and modified from the Android | 7 // NOTE: This class has been translated to C++ and modified from the Android |
8 // Open Source Project. Specifically from some functions of the following file: | 8 // Open Source Project. Specifically from some functions of the following file: |
9 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ | 9 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ |
10 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/internal/ | 10 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/internal/ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 float TouchPositionCorrection::GetY(const int row) { | 64 float TouchPositionCorrection::GetY(const int row) { |
65 return ys_[row]; | 65 return ys_[row]; |
66 } | 66 } |
67 | 67 |
68 float TouchPositionCorrection::GetRadius(const int row) { | 68 float TouchPositionCorrection::GetRadius(const int row) { |
69 return radii_[row]; | 69 return radii_[row]; |
70 } | 70 } |
71 | 71 |
72 } // namespace prediction | 72 } // namespace prediction |
OLD | NEW |