Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp42 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointer()
43 touchedWindow.removeTouchingPointer(deviceId, pointerId); in removeTouchingPointer()
51 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointerFromWindow()
52 if (touchedWindow.windowHandle == windowHandle) { in removeTouchingPointerFromWindow()
53 touchedWindow.removeTouchingPointer(deviceId, pointerId); in removeTouchingPointerFromWindow()
61 for (TouchedWindow& touchedWindow : windows) { in clearHoveringPointers()
62 touchedWindow.removeAllHoveringPointersForDevice(deviceId); in clearHoveringPointers()
82 for (TouchedWindow& touchedWindow : windows) { in addOrUpdateWindow()
88 if (touchedWindow.windowHandle == windowHandle) { in addOrUpdateWindow()
89 touchedWindow.dispatchMode = dispatchMode; in addOrUpdateWindow()
[all …]
DInputDispatcher.cpp720 TouchedWindow touchedWindow; in getHoveringWindowsLocked() local
721 touchedWindow.windowHandle = oldWindow; in getHoveringWindowsLocked()
722 touchedWindow.dispatchMode = InputTarget::DispatchMode::HOVER_EXIT; in getHoveringWindowsLocked()
723 out.push_back(touchedWindow); in getHoveringWindowsLocked()
728 TouchedWindow touchedWindow; in getHoveringWindowsLocked() local
729 touchedWindow.windowHandle = newWindow; in getHoveringWindowsLocked()
733 touchedWindow.dispatchMode = InputTarget::DispatchMode::HOVER_ENTER; in getHoveringWindowsLocked()
747 touchedWindow.dispatchMode = InputTarget::DispatchMode::AS_IS; in getHoveringWindowsLocked()
749 touchedWindow.addHoveringPointer(entry.deviceId, pointer); in getHoveringWindowsLocked()
751 touchedWindow.targetFlags |= InputTarget::Flags::FOREGROUND; in getHoveringWindowsLocked()
[all …]
DInputDispatcher.h257 ui::LogicalDisplayId displayId, const sp<android::gui::WindowInfoHandle>& touchedWindow,
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp9370 void touchAndAssertPositions(sp<FakeWindowHandle> touchedWindow, int32_t action, in touchAndAssertPositions() argument
9376 consumeMotionEvent(touchedWindow, action, expectedPoints); in touchAndAssertPositions()