Home
last modified time | relevance | path

Searched refs:mRawPointerAxes (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DMultiTouchInputMapper.cpp358 getAbsoluteAxisInfo(ABS_MT_POSITION_X, &mRawPointerAxes.x); in configureRawPointerAxes()
359 getAbsoluteAxisInfo(ABS_MT_POSITION_Y, &mRawPointerAxes.y); in configureRawPointerAxes()
360 getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &mRawPointerAxes.touchMajor); in configureRawPointerAxes()
362 getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
363 getAbsoluteAxisInfo(ABS_MT_WIDTH_MINOR, &mRawPointerAxes.toolMinor); in configureRawPointerAxes()
365 getAbsoluteAxisInfo(ABS_MT_PRESSURE, &mRawPointerAxes.pressure); in configureRawPointerAxes()
366 getAbsoluteAxisInfo(ABS_MT_DISTANCE, &mRawPointerAxes.distance); in configureRawPointerAxes()
368 getAbsoluteAxisInfo(ABS_MT_SLOT, &mRawPointerAxes.slot); in configureRawPointerAxes()
370 if (mRawPointerAxes.trackingId.valid && mRawPointerAxes.slot.valid && in configureRawPointerAxes()
371 mRawPointerAxes.slot.minValue == 0 && mRawPointerAxes.slot.maxValue > 0) { in configureRawPointerAxes()
[all …]
H A DSingleTouchInputMapper.cpp45 (mRawPointerAxes.pressure.valid && in syncTouch()
73 getAbsoluteAxisInfo(ABS_X, &mRawPointerAxes.x); in configureRawPointerAxes()
74 getAbsoluteAxisInfo(ABS_Y, &mRawPointerAxes.y); in configureRawPointerAxes()
75 getAbsoluteAxisInfo(ABS_PRESSURE, &mRawPointerAxes.pressure); in configureRawPointerAxes()
76 getAbsoluteAxisInfo(ABS_TOOL_WIDTH, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
77 getAbsoluteAxisInfo(ABS_DISTANCE, &mRawPointerAxes.distance); in configureRawPointerAxes()
78 getAbsoluteAxisInfo(ABS_TILT_X, &mRawPointerAxes.tiltX); in configureRawPointerAxes()
79 getAbsoluteAxisInfo(ABS_TILT_Y, &mRawPointerAxes.tiltY); in configureRawPointerAxes()
H A DTouchInputMapper.cpp532 mRawPointerAxes.clear(); in configureRawPointerAxes()
648 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) { in configureSurface()
850 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.touchMajor.maxValue != 0) { in configureSurface()
903 } else if (mRawPointerAxes.pressure.valid && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface()
921 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid; in configureSurface()
923 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, mRawPointerAxes.tiltX.maxValue); in configureSurface()
924 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, mRawPointerAxes.tiltY.maxValue); in configureSurface()
1252 if (mRawPointerAxes.touchMajor.valid || mRawPointerAxes.toolMajor.valid) { in resolveCalibration()
2134 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.toolMajor.valid) { in cookPointerData()
3767 return x >= mRawPointerAxes.x.minValue && x <= mRawPointerAxes.x.maxValue && in isPointInsideSurface()
[all …]
H A DTouchInputMapper.h306 RawPointerAxes mRawPointerAxes; variable