Home
last modified time | relevance | path

Searched refs:mTouchButtonAccumulator (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp28 : InputMapper(deviceContext, readerConfig), mTouchButtonAccumulator(deviceContext) {} in ExternalStylusInputMapper()
54 mTouchButtonAccumulator.configure(); in reconfigure()
60 mTouchButtonAccumulator.reset(); in reset()
67 mTouchButtonAccumulator.process(rawEvent); in process()
80 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
89 } else if (mTouchButtonAccumulator.hasButtonTouch()) { in sync()
90 mStylusState.pressure = mTouchButtonAccumulator.isHovering() ? 0.0f : 1.0f; in sync()
93 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
DSingleTouchInputMapper.cpp41 if (mTouchButtonAccumulator.isToolActive()) { in syncTouch()
45 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
46 (mTouchButtonAccumulator.isHovering() || in syncTouch()
64 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
85 return mTouchButtonAccumulator.hasStylus(); in hasStylus()
DMultiTouchInputMapper.cpp113 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
134 bool isHovering = mTouchButtonAccumulator.getToolType() != ToolType::MOUSE && in syncTouch()
135 (mTouchButtonAccumulator.isHovering() || in syncTouch()
222 return mStylusMtToolSeen || mTouchButtonAccumulator.hasStylus() || in hasStylus()
DExternalStylusInputMapper.h47 TouchButtonAccumulator mTouchButtonAccumulator; variable
DTouchInputMapper.h193 TouchButtonAccumulator mTouchButtonAccumulator; variable
DTouchInputMapper.cpp143 mTouchButtonAccumulator(deviceContext), in TouchInputMapper()
310 mTouchButtonAccumulator.configure(); in reconfigure()
1367 mTouchButtonAccumulator.reset(); in reset()
1409 mTouchButtonAccumulator.process(rawEvent); in process()
1434 mTouchButtonAccumulator.getButtonState() | in sync()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DHardwareStateConverter.cpp38 mTouchButtonAccumulator(deviceContext) { in HardwareStateConverter()
39 mTouchButtonAccumulator.configure(); in HardwareStateConverter()
55 mTouchButtonAccumulator.process(rawEvent); in processRawEvent()
116 schs.state.touch_cnt = mTouchButtonAccumulator.getTouchCount() - numPalms; in produceHardwareState()
122 mTouchButtonAccumulator.reset(); in reset()
DHardwareStateConverter.h56 TouchButtonAccumulator mTouchButtonAccumulator; variable