Lines Matching refs:mStylusState
44 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()
89 getContext()->dispatchExternalStylusState(mStylusState); in sync()