Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp313 dump += StringPrintf(INDENT4 "External Stylus ID: %" PRId64 "\n", mExternalStylusId); in dump()
1406 mExternalStylusId = -1; in resetExternalStylus()
1655 if (mDeviceMode == DEVICE_MODE_DIRECT && hasExternalStylus() && mExternalStylusId != -1) { in applyExternalStylusButtonState()
1664 if (mExternalStylusId != -1 && currentPointerData.isTouching(mExternalStylusId)) { in applyExternalStylusTouchState()
1666 if (pressure == 0.0f && lastPointerData.isTouching(mExternalStylusId)) { in applyExternalStylusTouchState()
1667 const PointerCoords& coords = lastPointerData.pointerCoordsForId(mExternalStylusId); in applyExternalStylusTouchState()
1670 PointerCoords& coords = currentPointerData.editPointerCoordsWithId(mExternalStylusId); in applyExternalStylusTouchState()
1674 currentPointerData.editPointerPropertiesWithId(mExternalStylusId); in applyExternalStylusTouchState()
1693 mExternalStylusId = state.rawPointerData.touchingIdBits.firstMarkedBit(); in assignExternalStylusId()
1714 if (mExternalStylusId != -1 && !state.rawPointerData.touchingIdBits.hasBit(mExternalStylusId)) { in assignExternalStylusId()
[all …]
DTouchInputMapper.h430 int64_t mExternalStylusId; variable