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.java95 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
101 TouchCalibration cal = state.getTouchCalibration(surfaceRotation); in getTouchCalibration()
108 …public boolean setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, TouchCalibra… in setTouchCalibration() argument
111 if (state.setTouchCalibration(surfaceRotation, calibration)) { in setTouchCalibration()
351 public TouchCalibration getTouchCalibration(int surfaceRotation) { in getTouchCalibration() argument
353 return mTouchCalibration[surfaceRotation]; in getTouchCalibration()
360 public boolean setTouchCalibration(int surfaceRotation, TouchCalibration calibration) { in setTouchCalibration() argument
362 if (!calibration.equals(mTouchCalibration[surfaceRotation])) { in setTouchCalibration()
363 mTouchCalibration[surfaceRotation] = calibration; in setTouchCalibration()
630 private static String surfaceRotationToString(int surfaceRotation) { in surfaceRotationToString() argument
[all …]
DInputManagerService.java877 int surfaceRotation) { in getTouchCalibrationForInputDevice() argument
883 return mDataStore.getTouchCalibration(inputDeviceDescriptor, surfaceRotation); in getTouchCalibrationForInputDevice()
888 public void setTouchCalibrationForInputDevice(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibrationForInputDevice() argument
900 if (surfaceRotation < Surface.ROTATION_0 || surfaceRotation > Surface.ROTATION_270) { in setTouchCalibrationForInputDevice()
906 if (mDataStore.setTouchCalibration(inputDeviceDescriptor, surfaceRotation, in setTouchCalibrationForInputDevice()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java700 public TouchCalibration getTouchCalibration(String inputDeviceDescriptor, int surfaceRotation) { in getTouchCalibration() argument
702 return mIm.getTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation); in getTouchCalibration()
720 public void setTouchCalibration(String inputDeviceDescriptor, int surfaceRotation, in setTouchCalibration() argument
723 … mIm.setTouchCalibrationForInputDevice(inputDeviceDescriptor, surfaceRotation, calibration); in setTouchCalibration()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp224 const String8& inputDeviceDescriptor, int32_t surfaceRotation);
886 const String8& inputDeviceDescriptor, int32_t surfaceRotation) { in getTouchAffineTransformation() argument
893 surfaceRotation); in getTouchAffineTransformation()
/frameworks/native/services/inputflinger/
DInputReader.h272 const String8& inputDeviceDescriptor, int32_t surfaceRotation) = 0;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp175 int32_t surfaceRotation) { in getTouchAffineTransformation() argument