Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DTouchedWindow.cpp41 bool TouchedWindow::hasHoveringPointers() const { in hasHoveringPointers()
50 bool TouchedWindow::hasHoveringPointers(DeviceId deviceId) const { in hasHoveringPointers()
60 void TouchedWindow::clearHoveringPointers(DeviceId deviceId) { in clearHoveringPointers()
72 bool TouchedWindow::hasHoveringPointer(DeviceId deviceId, int32_t pointerId) const { in hasHoveringPointer()
81 void TouchedWindow::addHoveringPointer(DeviceId deviceId, const PointerProperties& pointer) { in addHoveringPointer()
93 Result<void> TouchedWindow::addTouchingPointers(DeviceId deviceId, in addTouchingPointers()
112 bool TouchedWindow::hasTouchingPointers() const { in hasTouchingPointers()
121 bool TouchedWindow::hasTouchingPointers(DeviceId deviceId) const { in hasTouchingPointers()
125 bool TouchedWindow::hasTouchingPointer(DeviceId deviceId, int32_t pointerId) const { in hasTouchingPointer()
134 std::vector<PointerProperties> TouchedWindow::getTouchingPointers(DeviceId deviceId) const { in getTouchingPointers()
[all …]
DTouchState.cpp36 return std::any_of(windows.begin(), windows.end(), [&](const TouchedWindow& window) { in hasTouchingPointers()
42 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointer()
51 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointerFromWindow()
61 for (TouchedWindow& touchedWindow : windows) { in clearHoveringPointers()
68 std::erase_if(windows, [](const TouchedWindow& w) { in clearWindowsWithoutPointers()
82 for (TouchedWindow& touchedWindow : windows) { in addOrUpdateWindow()
102 TouchedWindow touchedWindow; in addOrUpdateWindow()
116 for (TouchedWindow& touchedWindow : windows) { in addHoveringPointerToWindow()
123 TouchedWindow touchedWindow; in addHoveringPointerToWindow()
141 std::for_each(windows.begin(), windows.end(), [&](TouchedWindow& w) { in cancelPointersForWindowsExcept()
[all …]
DTouchedWindow.h32 struct TouchedWindow { struct
88 static std::string deviceStateToString(const TouchedWindow::DeviceState& state); argument
91 std::ostream& operator<<(std::ostream& out, const TouchedWindow& window);
DTouchState.h33 std::vector<TouchedWindow> windows;
70 const TouchedWindow& getTouchedWindow(
DAndroid.bp51 "TouchedWindow.cpp",
DInputDispatcher.cpp695 std::vector<TouchedWindow> getHoveringWindowsLocked(const TouchState* oldState, in getHoveringWindowsLocked()
704 std::vector<TouchedWindow> out; in getHoveringWindowsLocked()
720 TouchedWindow touchedWindow; in getHoveringWindowsLocked()
728 TouchedWindow touchedWindow; in getHoveringWindowsLocked()
767 std::erase_if(touchState.windows, [&](const TouchedWindow& window) { in filterUntrustedTargets()
796 for (const TouchedWindow& touchedWindow : touchState.windows) { in shouldSplitTouch()
2581 for (TouchedWindow& touchedWindow : tempTouchState.windows) { in findTouchedWindowTargetsLocked()
2659 const TouchedWindow& touchedWindow = in findTouchedWindowTargetsLocked()
2703 for (TouchedWindow& touchedWindow : tempTouchState.windows) { in findTouchedWindowTargetsLocked()
2715 std::vector<TouchedWindow> hoveringWindows = in findTouchedWindowTargetsLocked()
[all …]
DInputDispatcher.h694 std::tuple<TouchState*, TouchedWindow*, ui::LogicalDisplayId /*displayId*/>