Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp61 TouchedWindow& touchedWindow = windows[i]; in addOrUpdateWindow() local
62 if (touchedWindow.windowHandle == windowHandle) { in addOrUpdateWindow()
63 touchedWindow.targetFlags |= targetFlags; in addOrUpdateWindow()
65 touchedWindow.targetFlags &= ~InputTarget::FLAG_DISPATCH_AS_IS; in addOrUpdateWindow()
67 touchedWindow.pointerIds.value |= pointerIds.value; in addOrUpdateWindow()
72 TouchedWindow touchedWindow; in addOrUpdateWindow() local
73 touchedWindow.windowHandle = windowHandle; in addOrUpdateWindow()
74 touchedWindow.targetFlags = targetFlags; in addOrUpdateWindow()
75 touchedWindow.pointerIds = pointerIds; in addOrUpdateWindow()
76 windows.push_back(touchedWindow); in addOrUpdateWindow()
DInputDispatcher.cpp1469 for (const TouchedWindow& touchedWindow : mTempTouchState.windows) { in findTouchedWindowTargetsLocked() local
1470 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1472 if (!checkInjectionPermission(touchedWindow.windowHandle, entry->injectionState)) { in findTouchedWindowTargetsLocked()
1501 for (const TouchedWindow& touchedWindow : mTempTouchState.windows) { in findTouchedWindowTargetsLocked() local
1502 if (touchedWindow.targetFlags & InputTarget::FLAG_DISPATCH_AS_OUTSIDE) { in findTouchedWindowTargetsLocked()
1503 sp<InputWindowHandle> inputWindowHandle = touchedWindow.windowHandle; in findTouchedWindowTargetsLocked()
1515 for (const TouchedWindow& touchedWindow : mTempTouchState.windows) { in findTouchedWindowTargetsLocked() local
1516 if (touchedWindow.targetFlags & InputTarget::FLAG_FOREGROUND) { in findTouchedWindowTargetsLocked()
1519 checkWindowReadyForMoreInputLocked(currentTime, touchedWindow.windowHandle, in findTouchedWindowTargetsLocked()
1523 touchedWindow.windowHandle, in findTouchedWindowTargetsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7766 final WindowState touchedWindow = windowForClientLocked(null, touchedToken, false); in onPointerDownOutsideFocusLocked() local
7767 if (touchedWindow == null || !touchedWindow.canReceiveKeys()) { in onPointerDownOutsideFocusLocked()
7771 handleTaskFocusChange(touchedWindow.getTask()); in onPointerDownOutsideFocusLocked()
7772 handleDisplayFocusChange(touchedWindow); in onPointerDownOutsideFocusLocked()