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.java957 int surfaceRotation) { in getTouchCalibrationForInputDevice() argument
963 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
968 public void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibrationForInputDevice() argument
980 if (surfaceRotation < Surface.ROTATION_0 || surfaceRotation > Surface.ROTATION_270) { in setTouchCalibrationForInputDevice()
986 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java738 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
740 return mIm.getTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation); in getTouchCalibration()
758 public void setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibration() argument
761 … mIm.setTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation, calibration); in setTouchCalibration()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h354 const std::string& inputDeviceDescriptor, int32_t surfaceRotation) = 0;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp235 const std::string& inputDeviceDescriptor, int32_t surfaceRotation);
934 const std::string& inputDeviceDescriptor, int32_t surfaceRotation) { in getTouchAffineTransformation() argument
941 surfaceRotation); in getTouchAffineTransformation()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp272 int32_t surfaceRotation) { in getTouchAffineTransformation() argument