Lines Matching refs:tempTouchState

1589     TouchState tempTouchState;  in findTouchedWindowTargetsLocked()  local
1594 tempTouchState.copyFrom(*oldState); in findTouchedWindowTargetsLocked()
1597 bool isSplit = tempTouchState.split; in findTouchedWindowTargetsLocked()
1598 bool switchedDevice = tempTouchState.deviceId >= 0 && tempTouchState.displayId >= 0 && in findTouchedWindowTargetsLocked()
1599 (tempTouchState.deviceId != entry.deviceId || tempTouchState.source != entry.source || in findTouchedWindowTargetsLocked()
1600 tempTouchState.displayId != displayId); in findTouchedWindowTargetsLocked()
1610 if (switchedDevice && tempTouchState.down && !down && !isHoverAction) { in findTouchedWindowTargetsLocked()
1620 tempTouchState.reset(); in findTouchedWindowTargetsLocked()
1621 tempTouchState.down = down; in findTouchedWindowTargetsLocked()
1622 tempTouchState.deviceId = entry.deviceId; in findTouchedWindowTargetsLocked()
1623 tempTouchState.source = entry.source; in findTouchedWindowTargetsLocked()
1624 tempTouchState.displayId = displayId; in findTouchedWindowTargetsLocked()
1653 findTouchedWindowAtLocked(displayId, x, y, &tempTouchState, in findTouchedWindowTargetsLocked()
1657 ? findTouchedGestureMonitorsLocked(displayId, tempTouchState.portalWindows) in findTouchedWindowTargetsLocked()
1674 newTouchedWindowHandle = tempTouchState.getFirstForegroundWindowHandle(); in findTouchedWindowTargetsLocked()
1733 tempTouchState.addOrUpdateWindow(newTouchedWindowHandle, targetFlags, pointerIds); in findTouchedWindowTargetsLocked()
1736 tempTouchState.addGestureMonitors(newGestureMonitors); in findTouchedWindowTargetsLocked()
1741 if (!tempTouchState.down) { in findTouchedWindowTargetsLocked()
1753 tempTouchState.isSlippery()) { in findTouchedWindowTargetsLocked()
1758 tempTouchState.getFirstForegroundWindowHandle(); in findTouchedWindowTargetsLocked()
1760 findTouchedWindowAtLocked(displayId, x, y, &tempTouchState); in findTouchedWindowTargetsLocked()
1769 tempTouchState.addOrUpdateWindow(oldTouchedWindowHandle, in findTouchedWindowTargetsLocked()
1791 tempTouchState.addOrUpdateWindow(newTouchedWindowHandle, targetFlags, pointerIds); in findTouchedWindowTargetsLocked()
1803 tempTouchState.addOrUpdateWindow(mLastHoverWindowHandle, in findTouchedWindowTargetsLocked()
1813 tempTouchState.addOrUpdateWindow(newHoverWindowHandle, in findTouchedWindowTargetsLocked()
1823 for (const TouchedWindow& touchedWindow : tempTouchState.windows) { in findTouchedWindowTargetsLocked()
1833 bool hasGestureMonitor = !tempTouchState.gestureMonitors.empty(); in findTouchedWindowTargetsLocked()
1850 tempTouchState.getFirstForegroundWindowHandle(); in findTouchedWindowTargetsLocked()
1853 for (const TouchedWindow& touchedWindow : tempTouchState.windows) { in findTouchedWindowTargetsLocked()
1857 tempTouchState.addOrUpdateWindow(inputWindowHandle, in findTouchedWindowTargetsLocked()
1874 tempTouchState.getFirstForegroundWindowHandle(); in findTouchedWindowTargetsLocked()
1882 tempTouchState in findTouchedWindowTargetsLocked()
1897 for (const TouchedWindow& touchedWindow : tempTouchState.windows) { in findTouchedWindowTargetsLocked()
1902 for (const TouchedMonitor& touchedMonitor : tempTouchState.gestureMonitors) { in findTouchedWindowTargetsLocked()
1909 tempTouchState.filterNonAsIsTouchWindows(); in findTouchedWindowTargetsLocked()
1943 tempTouchState.reset(); in findTouchedWindowTargetsLocked()
1946 tempTouchState.deviceId = entry.deviceId; in findTouchedWindowTargetsLocked()
1947 tempTouchState.source = entry.source; in findTouchedWindowTargetsLocked()
1948 tempTouchState.displayId = displayId; in findTouchedWindowTargetsLocked()
1953 tempTouchState.reset(); in findTouchedWindowTargetsLocked()
1968 for (size_t i = 0; i < tempTouchState.windows.size();) { in findTouchedWindowTargetsLocked()
1969 TouchedWindow& touchedWindow = tempTouchState.windows[i]; in findTouchedWindowTargetsLocked()
1973 tempTouchState.windows.erase(tempTouchState.windows.begin() + i); in findTouchedWindowTargetsLocked()
1985 if (tempTouchState.displayId >= 0) { in findTouchedWindowTargetsLocked()
1986 mTouchStatesByDisplay[displayId] = tempTouchState; in findTouchedWindowTargetsLocked()