Home
last modified time | relevance | path

Searched refs:mStylusState (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp44 dumpStylusState(dump, mStylusState); in dump()
69 mStylusState.clear(); in sync()
71 mStylusState.when = when; in sync()
73 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
74 if (mStylusState.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in sync()
75 mStylusState.toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in sync()
80 mStylusState.pressure = float(pressure) / mRawPressureAxis.maxValue; in sync()
82 mStylusState.pressure = 1.0f; in sync()
84 mStylusState.pressure = 0.0f; in sync()
87 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
[all …]
DExternalStylusInputMapper.h46 StylusState mStylusState; variable