Searched refs:touchingPointers (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/inputflinger/dispatcher/ |
D | TouchedWindow.cpp | 95 std::vector<PointerProperties>& touchingPointers = mDeviceStates[deviceId].touchingPointers; in addTouchingPointers() local 96 const size_t initialSize = touchingPointers.size(); in addTouchingPointers() 98 std::erase_if(touchingPointers, [&pointer](const PointerProperties& properties) { in addTouchingPointers() 102 const bool foundInconsistentState = touchingPointers.size() != initialSize; in addTouchingPointers() 103 touchingPointers.insert(touchingPointers.end(), pointers.begin(), pointers.end()); in addTouchingPointers() 114 if (!state.touchingPointers.empty()) { in hasTouchingPointers() 131 return hasPointerId(state.touchingPointers, pointerId); in hasTouchingPointer() 140 return state.touchingPointers; in getTouchingPointers() 158 std::erase_if(state.touchingPointers, [&pointers](const PointerProperties& properties) { in removeTouchingPointers() 171 for (const PointerProperties& properties : state.touchingPointers) { in hasActiveStylus() [all …]
|
D | TouchedWindow.h | 74 std::vector<PointerProperties> touchingPointers; member 83 bool hasPointers() const { return !touchingPointers.empty() || !hoveringPointers.empty(); }; in hasPointers()
|
D | TouchState.cpp | 76 const std::vector<PointerProperties>& touchingPointers, in addOrUpdateWindow() argument 78 if (touchingPointers.empty()) { in addOrUpdateWindow() 95 touchedWindow.addTouchingPointers(deviceId, touchingPointers); in addOrUpdateWindow() 106 touchedWindow.addTouchingPointers(deviceId, touchingPointers); in addOrUpdateWindow()
|
D | TouchState.h | 49 DeviceId deviceId, const std::vector<PointerProperties>& touchingPointers,
|
D | InputDispatcher.cpp | 2702 std::vector<PointerProperties> touchingPointers{entry.pointerProperties[pointerIndex]}; in findTouchedWindowTargetsLocked() local 2708 touchedWindow.addTouchingPointers(entry.deviceId, touchingPointers); in findTouchedWindowTargetsLocked() 2773 std::vector<PointerProperties> touchingPointers = in findTouchedWindowTargetsLocked() local 2775 if (touchingPointers.empty()) { in findTouchedWindowTargetsLocked() 2779 touchedWindow.targetFlags, getPointerIds(touchingPointers), in findTouchedWindowTargetsLocked()
|