Home
last modified time | relevance | path

Searched refs:tiltY (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
105 mTiltY = tiltY; in VirtualStylusMotionEvent()
369 public Builder setTiltY(@IntRange(from = TILT_MIN, to = TILT_MAX) int tiltY) { in setTiltY()
370 validateTilt(tiltY); in setTiltY()
371 mTiltY = tiltY; in setTiltY()
/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp63 outPointer.tiltY = mSingleTouchMotionAccumulator.getAbsoluteTiltY(); in syncTouch()
81 getAbsoluteAxisInfo(ABS_TILT_Y, &mRawPointerAxes.tiltY); in configureRawPointerAxes()
DMultiTouchInputMapper.cpp109 outPointer.tiltY = 0; in syncTouch()
DTouchInputMapper.h72 RawAbsoluteAxisInfo tiltY{};
99 int32_t tiltY{};
DTouchInputMapper.cpp239 pointer.toolMinor, pointer.orientation, pointer.tiltX, pointer.tiltY, in dump()
517 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltY, "TiltY"); in dumpRawPointerAxes()
728 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid; in initializeOrientedRanges()
731 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, mRawPointerAxes.tiltY.maxValue); in initializeOrientedRanges()
738 if (mRawPointerAxes.tiltY.resolution) { in initializeOrientedRanges()
739 mTiltYScale = 1.0 / mRawPointerAxes.tiltY.resolution; in initializeOrientedRanges()
2345 float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale; in cookPointerData()
/frameworks/native/libs/input/
DVirtualInputDevice.cpp425 int32_t tiltY, std::chrono::nanoseconds eventTime) { in writeMotionEvent() argument
460 if (!writeInputEvent(EV_ABS, ABS_TILT_Y, tiltY, eventTime)) { in writeMotionEvent()
461 ALOGE("Unsupported y-axis tilt passed for stylus: %d.", tiltY); 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
374 tiltY, std::chrono::nanoseconds(eventTimeNanos)); in nativeWriteStylusMotionEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp4496 void processTilt(SingleTouchInputMapper& mapper, int32_t tiltX, int32_t tiltY);
4557 int32_t tiltY) { in processTilt() argument
4559 process(mapper, ARBITRARY_TIME, READ_TIME, EV_ABS, ABS_TILT_Y, tiltY); in processTilt()