Lines Matching refs:newTouchedWindowHandle
1652 sp<InputWindowHandle> newTouchedWindowHandle = in findTouchedWindowTargetsLocked() local
1661 if (newTouchedWindowHandle != nullptr && in findTouchedWindowTargetsLocked()
1662 newTouchedWindowHandle->getInfo()->supportsSplitTouch()) { in findTouchedWindowTargetsLocked()
1668 newTouchedWindowHandle = nullptr; in findTouchedWindowTargetsLocked()
1672 if (newTouchedWindowHandle == nullptr) { in findTouchedWindowTargetsLocked()
1674 newTouchedWindowHandle = tempTouchState.getFirstForegroundWindowHandle(); in findTouchedWindowTargetsLocked()
1677 if (newTouchedWindowHandle != nullptr && newTouchedWindowHandle->getInfo()->paused) { in findTouchedWindowTargetsLocked()
1679 newTouchedWindowHandle->getName().c_str()); in findTouchedWindowTargetsLocked()
1680 newTouchedWindowHandle = nullptr; in findTouchedWindowTargetsLocked()
1683 if (newTouchedWindowHandle != nullptr) { in findTouchedWindowTargetsLocked()
1684 sp<Connection> connection = getConnectionLocked(newTouchedWindowHandle->getToken()); in findTouchedWindowTargetsLocked()
1687 newTouchedWindowHandle->getName().c_str()); in findTouchedWindowTargetsLocked()
1688 newTouchedWindowHandle = nullptr; in findTouchedWindowTargetsLocked()
1692 newTouchedWindowHandle->getName().c_str(), entry.eventTime); in findTouchedWindowTargetsLocked()
1693 newTouchedWindowHandle = nullptr; in findTouchedWindowTargetsLocked()
1700 if (newTouchedWindowHandle == nullptr && newGestureMonitors.empty()) { in findTouchedWindowTargetsLocked()
1708 if (newTouchedWindowHandle != nullptr) { in findTouchedWindowTargetsLocked()
1714 if (isWindowObscuredAtPointLocked(newTouchedWindowHandle, x, y)) { in findTouchedWindowTargetsLocked()
1716 } else if (isWindowObscuredLocked(newTouchedWindowHandle)) { in findTouchedWindowTargetsLocked()
1722 newHoverWindowHandle = newTouchedWindowHandle; in findTouchedWindowTargetsLocked()
1733 tempTouchState.addOrUpdateWindow(newTouchedWindowHandle, targetFlags, pointerIds); in findTouchedWindowTargetsLocked()
1759 sp<InputWindowHandle> newTouchedWindowHandle = in findTouchedWindowTargetsLocked() local
1761 if (oldTouchedWindowHandle != newTouchedWindowHandle && in findTouchedWindowTargetsLocked()
1762 oldTouchedWindowHandle != nullptr && newTouchedWindowHandle != nullptr) { in findTouchedWindowTargetsLocked()
1766 newTouchedWindowHandle->getName().c_str(), displayId); in findTouchedWindowTargetsLocked()
1774 if (newTouchedWindowHandle->getInfo()->supportsSplitTouch()) { in findTouchedWindowTargetsLocked()
1783 if (isWindowObscuredAtPointLocked(newTouchedWindowHandle, x, y)) { in findTouchedWindowTargetsLocked()
1791 tempTouchState.addOrUpdateWindow(newTouchedWindowHandle, targetFlags, pointerIds); in findTouchedWindowTargetsLocked()