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 #ifndef SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ | 5 #ifndef SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ |
6 #define SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ | 6 #define SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ |
7 | 7 |
8 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h" | 8 #include "mojo/services/prediction/interfaces/prediction.mojom.h" |
9 | 9 |
10 // NOTE: This class has been translated to C++ and modified from the Android | 10 // NOTE: This class has been translated to C++ and modified from the Android |
11 // Open Source Project. Specifically from some functions of the following file: | 11 // Open Source Project. Specifically from some functions of the following file: |
12 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ | 12 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ |
13 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/internal/ | 13 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/internal/ |
14 // TouchPositionCorrection.java | 14 // TouchPositionCorrection.java |
15 | 15 |
16 namespace prediction { | 16 namespace prediction { |
17 | 17 |
18 class TouchPositionCorrection { | 18 class TouchPositionCorrection { |
(...skipping 13 matching lines...) Expand all Loading... |
32 | 32 |
33 bool enabled_; | 33 bool enabled_; |
34 float xs_[3]; | 34 float xs_[3]; |
35 float ys_[3]; | 35 float ys_[3]; |
36 float radii_[3]; | 36 float radii_[3]; |
37 }; // class TouchPositionCorrection | 37 }; // class TouchPositionCorrection |
38 | 38 |
39 } // namespace prediction | 39 } // namespace prediction |
40 | 40 |
41 #endif // SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ | 41 #endif // SERVICES_PREDICTION_TOUCH_POSITION_CORRECTION_H_ |
OLD | NEW |