Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DTouchedWindow.cpp43 if (!state.hoveringPointers.empty()) { in hasHoveringPointers()
57 return !state.hoveringPointers.empty(); in hasHoveringPointers()
66 state.hoveringPointers.clear(); in clearHoveringPointers()
78 return hasPointerId(state.hoveringPointers, pointerId); in hasHoveringPointer()
82 std::vector<PointerProperties>& hoveringPointers = mDeviceStates[deviceId].hoveringPointers; in addHoveringPointer() local
83 const size_t initialSize = hoveringPointers.size(); in addHoveringPointer()
84 std::erase_if(hoveringPointers, [&pointer](const PointerProperties& properties) { in addHoveringPointer()
87 if (hoveringPointers.size() != initialSize) { in addHoveringPointer()
90 hoveringPointers.push_back(pointer); in addHoveringPointer()
176 for (const PointerProperties& properties : state.hoveringPointers) { in hasActiveStylus()
[all …]
DTouchedWindow.h81 std::vector<PointerProperties> hoveringPointers; member
83 bool hasPointers() const { return !touchingPointers.empty() || !hoveringPointers.empty(); }; in hasPointers()