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.java939 int surfaceRotation) { in getTouchCalibrationForInputDevice() argument
945 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
950 public void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibrationForInputDevice() argument
962 if (surfaceRotation < Surface.ROTATION_0 || surfaceRotation > Surface.ROTATION_270) { in setTouchCalibrationForInputDevice()
968 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java733 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
735 return mIm.getTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation); in getTouchCalibration()
753 public void setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibration() argument
756 … mIm.setTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation, calibration); in setTouchCalibration()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h352 const std::string& inputDeviceDescriptor, int32_t surfaceRotation) = 0;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp243 const std::string& inputDeviceDescriptor, int32_t surfaceRotation);
971 const std::string& inputDeviceDescriptor, int32_t surfaceRotation) { in getTouchAffineTransformation() argument
978 surfaceRotation); in getTouchAffineTransformation()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp242 int32_t surfaceRotation) { in getTouchAffineTransformation() argument