Home
last modified time | relevance | path

Searched refs:tiltX (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DVirtualStylusMotionEvent.java98 int pressure, int tiltX, int tiltY, long eventTimeNanos) { in VirtualStylusMotionEvent() argument
104 mTiltX = tiltX; in VirtualStylusMotionEvent()
347 public Builder setTiltX(@IntRange(from = TILT_MIN, to = TILT_MAX) int tiltX) { in setTiltX()
348 validateTilt(tiltX); in setTiltX()
349 mTiltX = tiltX; in setTiltX()
/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp62 outPointer.tiltX = mSingleTouchMotionAccumulator.getAbsoluteTiltX(); in syncTouch()
80 getAbsoluteAxisInfo(ABS_TILT_X, &mRawPointerAxes.tiltX); in configureRawPointerAxes()
DMultiTouchInputMapper.cpp108 outPointer.tiltX = 0; in syncTouch()
DTouchInputMapper.h71 RawAbsoluteAxisInfo tiltX{};
98 int32_t tiltX{};
DTouchInputMapper.cpp239 pointer.toolMinor, pointer.orientation, pointer.tiltX, pointer.tiltY, in dump()
516 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltX, "TiltX"); in dumpRawPointerAxes()
728 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid; in initializeOrientedRanges()
730 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, mRawPointerAxes.tiltX.maxValue); in initializeOrientedRanges()
735 if (mRawPointerAxes.tiltX.resolution) { in initializeOrientedRanges()
736 mTiltXScale = 1.0 / mRawPointerAxes.tiltX.resolution; in initializeOrientedRanges()
2344 float tiltXAngle = (in.tiltX - mTiltXCenter) * mTiltXScale; in cookPointerData()
/frameworks/native/libs/input/
DVirtualInputDevice.cpp424 int32_t locationY, int32_t pressure, int32_t tiltX, in writeMotionEvent() argument
456 if (!writeInputEvent(EV_ABS, ABS_TILT_X, tiltX, eventTime)) { in writeMotionEvent()
457 ALOGE("Unsupported x-axis tilt passed for stylus: %d.", tiltX); in writeMotionEvent()
/frameworks/native/include/input/
DVirtualInputDevice.h111 int32_t pressure, int32_t tiltX, int32_t tiltY,
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DInputController.java467 int locationX, int locationY, int pressure, int tiltX, int tiltY, long eventTimeNanos); in nativeWriteStylusMotionEvent() argument
536 int locationY, int pressure, int tiltX, int tiltY, long eventTimeNanos) { in writeStylusMotionEvent() argument
538 pressure, tiltX, tiltY, eventTimeNanos); in writeStylusMotionEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp371 jint tiltX, jint tiltY, jlong eventTimeNanos) { in nativeWriteStylusMotionEvent() argument
373 return virtualStylus->writeMotionEvent(toolType, action, locationX, locationY, pressure, tiltX, in nativeWriteStylusMotionEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp4496 void processTilt(SingleTouchInputMapper& mapper, int32_t tiltX, int32_t tiltY);
4556 void SingleTouchInputMapperTest::processTilt(SingleTouchInputMapper& mapper, int32_t tiltX, in processTilt() argument
4558 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_TILT_X, tiltX); in processTilt()