Searched refs:mTouchButtonAccumulator (Results 1 – 8 of 8) sorted by relevance
28 : 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()
41 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()
113 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()
47 TouchButtonAccumulator mTouchButtonAccumulator; variable
193 TouchButtonAccumulator mTouchButtonAccumulator; variable
143 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()
38 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()
56 TouchButtonAccumulator mTouchButtonAccumulator; variable