Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp334 dump += StringPrintf(INDENT4 "External Stylus ID: %" PRId64 "\n", mExternalStylusId); in dump()
1415 mExternalStylusId = -1; in resetExternalStylus()
1679 if (mDeviceMode == DeviceMode::DIRECT && hasExternalStylus() && mExternalStylusId != -1) { in applyExternalStylusButtonState()
1688 if (mExternalStylusId != -1 && currentPointerData.isTouching(mExternalStylusId)) { in applyExternalStylusTouchState()
1690 if (pressure == 0.0f && lastPointerData.isTouching(mExternalStylusId)) { in applyExternalStylusTouchState()
1691 const PointerCoords& coords = lastPointerData.pointerCoordsForId(mExternalStylusId); in applyExternalStylusTouchState()
1694 PointerCoords& coords = currentPointerData.editPointerCoordsWithId(mExternalStylusId); in applyExternalStylusTouchState()
1698 currentPointerData.editPointerPropertiesWithId(mExternalStylusId); in applyExternalStylusTouchState()
1717 mExternalStylusId = state.rawPointerData.touchingIdBits.firstMarkedBit(); in assignExternalStylusId()
1738 if (mExternalStylusId != -1 && !state.rawPointerData.touchingIdBits.hasBit(mExternalStylusId)) { in assignExternalStylusId()
[all …]
DTouchInputMapper.h367 int64_t mExternalStylusId; variable