Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVirtualInputDevice.cpp332 auto toolTypeIterator = TOOL_TYPE_MAPPING.find(toolType); in writeTouchEvent() local
333 if (toolTypeIterator == TOOL_TYPE_MAPPING.end()) { in writeTouchEvent()
336 if (!writeInputEvent(EV_ABS, ABS_MT_TOOL_TYPE, static_cast<int32_t>(toolTypeIterator->second), in writeTouchEvent()
432 auto toolTypeIterator = TOOL_TYPE_MAPPING.find(toolType); in writeMotionEvent() local
433 if (toolTypeIterator == TOOL_TYPE_MAPPING.end()) { in writeMotionEvent()
437 uint16_t tool = static_cast<uint16_t>(toolTypeIterator->second); in writeMotionEvent()