Home
last modified time | relevance | path

Searched refs:surfaceRotation (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java90 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
96 TouchCalibration cal = state.getTouchCalibration(surfaceRotation); in getTouchCalibration()
103 …public boolean setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, TouchCalibra… in setTouchCalibration() argument
106 if (state.setTouchCalibration(surfaceRotation, calibration)) { in setTouchCalibration()
315 public TouchCalibration getTouchCalibration(int surfaceRotation) { in getTouchCalibration() argument
317 return mTouchCalibration[surfaceRotation]; in getTouchCalibration()
324 public boolean setTouchCalibration(int surfaceRotation, TouchCalibration calibration) { in setTouchCalibration() argument
326 if (!calibration.equals(mTouchCalibration[surfaceRotation])) { in setTouchCalibration()
327 mTouchCalibration[surfaceRotation] = calibration; in setTouchCalibration()
536 private static String surfaceRotationToString(int surfaceRotation) { in surfaceRotationToString() argument
[all …]
DInputManagerService.java904 int surfaceRotation) { in getTouchCalibrationForInputDevice() argument
910 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
915 public void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibrationForInputDevice() argument
927 if (surfaceRotation < Surface.ROTATION_0 || surfaceRotation > Surface.ROTATION_270) { in setTouchCalibrationForInputDevice()
933 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java712 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
714 return mIm.getTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation); in getTouchCalibration()
732 public void setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibration() argument
735 … mIm.setTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation, calibration); in setTouchCalibration()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp237 const String8& inputDeviceDescriptor, int32_t surfaceRotation);
935 const String8& inputDeviceDescriptor, int32_t surfaceRotation) { in getTouchAffineTransformation() argument
942 surfaceRotation); in getTouchAffineTransformation()
/frameworks/native/services/inputflinger/
DInputReader.h280 const String8& inputDeviceDescriptor, int32_t surfaceRotation) = 0;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp192 int32_t surfaceRotation) { in getTouchAffineTransformation() argument