diff options
author | Jason Gerecke <killertofu@gmail.com> | 2014-03-10 09:47:59 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-03-10 16:33:48 -0700 |
commit | d52207423225bcd99e94276e9d0fc2cb5f905602 (patch) | |
tree | fa265cc3aa6ecdbd1d4769a9818f8f8c7f7b1b6e /core/java/android/hardware/input/IInputManager.aidl | |
parent | 857aa7be880c53d78f72a9f227cbdf72ee68d587 (diff) | |
download | frameworks_base-d52207423225bcd99e94276e9d0fc2cb5f905602.zip frameworks_base-d52207423225bcd99e94276e9d0fc2cb5f905602.tar.gz frameworks_base-d52207423225bcd99e94276e9d0fc2cb5f905602.tar.bz2 |
Support unique calibration per orientation
Updates the format of the calibration XML to store the Surface rotation
that a specific calibration applies to. Also updates the API to require
a rotation value for get/set, and has the native framework supply this
according to the current rotation whenever it changes.
Change-Id: I72b6703f646dd18db537365c5c9843f720a5f41e
Diffstat (limited to 'core/java/android/hardware/input/IInputManager.aidl')
-rw-r--r-- | core/java/android/hardware/input/IInputManager.aidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/hardware/input/IInputManager.aidl b/core/java/android/hardware/input/IInputManager.aidl index 4214115..465d142 100644 --- a/core/java/android/hardware/input/IInputManager.aidl +++ b/core/java/android/hardware/input/IInputManager.aidl @@ -41,8 +41,8 @@ interface IInputManager { boolean injectInputEvent(in InputEvent ev, int mode); // Calibrate input device position - TouchCalibration getTouchCalibrationForInputDevice(String inputDeviceDescriptor); - void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, + TouchCalibration getTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation); + void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int rotation, in TouchCalibration calibration); // Keyboard layouts configuration. |