Lines Matching refs:InputWindowHandle
465 sp<InputWindowHandle> touchedWindowHandle = in enqueueInboundEventLocked()
491 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, int32_t x, in findTouchedWindowAtLocked()
495 const std::vector<sp<InputWindowHandle>> windowHandles = getWindowHandlesLocked(displayId); in findTouchedWindowAtLocked()
496 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in findTouchedWindowAtLocked()
534 int32_t displayId, const std::vector<sp<InputWindowHandle>>& portalWindows) { in findTouchedGestureMonitorsLocked()
539 for (const sp<InputWindowHandle>& portalWindow : portalWindows) { in findTouchedGestureMonitorsLocked()
826 sp<InputWindowHandle> focusedWindowHandle = in dispatchKeyLocked()
1024 const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) { in handleTargetsNotReadyLocked()
1176 sp<InputWindowHandle> focusedWindowHandle = in findFocusedWindowTargetsLocked()
1258 sp<InputWindowHandle> newHoverWindowHandle; in findTouchedWindowTargetsLocked()
1320 sp<InputWindowHandle> newTouchedWindowHandle = in findTouchedWindowTargetsLocked()
1402 sp<InputWindowHandle> oldTouchedWindowHandle = in findTouchedWindowTargetsLocked()
1404 sp<InputWindowHandle> newTouchedWindowHandle = in findTouchedWindowTargetsLocked()
1497 sp<InputWindowHandle> foregroundWindowHandle = in findTouchedWindowTargetsLocked()
1503 sp<InputWindowHandle> inputWindowHandle = touchedWindow.windowHandle; in findTouchedWindowTargetsLocked()
1537 sp<InputWindowHandle> foregroundWindowHandle = in findTouchedWindowTargetsLocked()
1540 const std::vector<sp<InputWindowHandle>> windowHandles = in findTouchedWindowTargetsLocked()
1542 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in findTouchedWindowTargetsLocked()
1679 void InputDispatcher::addWindowTargetLocked(const sp<InputWindowHandle>& windowHandle, in addWindowTargetLocked()
1728 bool InputDispatcher::checkInjectionPermission(const sp<InputWindowHandle>& windowHandle, in checkInjectionPermission()
1748 bool InputDispatcher::isWindowObscuredAtPointLocked(const sp<InputWindowHandle>& windowHandle, in isWindowObscuredAtPointLocked()
1751 const std::vector<sp<InputWindowHandle>> windowHandles = getWindowHandlesLocked(displayId); in isWindowObscuredAtPointLocked()
1752 for (const sp<InputWindowHandle>& otherHandle : windowHandles) { in isWindowObscuredAtPointLocked()
1766 bool InputDispatcher::isWindowObscuredLocked(const sp<InputWindowHandle>& windowHandle) const { in isWindowObscuredLocked()
1768 const std::vector<sp<InputWindowHandle>> windowHandles = getWindowHandlesLocked(displayId); in isWindowObscuredLocked()
1770 for (const sp<InputWindowHandle>& otherHandle : windowHandles) { in isWindowObscuredLocked()
1785 nsecs_t currentTime, const sp<InputWindowHandle>& windowHandle, in checkWindowReadyForMoreInputLocked()
1874 const sp<InputWindowHandle>& windowHandle) { in getApplicationWindowLabel()
1893 sp<InputWindowHandle> focusedWindowHandle = in pokeUserActivityLocked()
2135 sp<InputWindowHandle> inputWindowHandle = getWindowHandleLocked(newToken); in dispatchPointerDownOutsideFocus()
2140 sp<InputWindowHandle> focusedWindowHandle = in dispatchPointerDownOutsideFocus()
2474 sp<InputWindowHandle> windowHandle = in synthesizeCancelationEventsForConnectionLocked()
3094 std::vector<sp<InputWindowHandle>> InputDispatcher::getWindowHandlesLocked( in getWindowHandlesLocked()
3096 std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>>::const_iterator it = in getWindowHandlesLocked()
3103 return std::vector<sp<InputWindowHandle>>(); in getWindowHandlesLocked()
3106 sp<InputWindowHandle> InputDispatcher::getWindowHandleLocked( in getWindowHandleLocked()
3109 const std::vector<sp<InputWindowHandle>> windowHandles = it.second; in getWindowHandleLocked()
3110 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in getWindowHandleLocked()
3119 bool InputDispatcher::hasWindowHandleLocked(const sp<InputWindowHandle>& windowHandle) const { in hasWindowHandleLocked()
3121 const std::vector<sp<InputWindowHandle>> windowHandles = it.second; in hasWindowHandleLocked()
3122 for (const sp<InputWindowHandle>& handle : windowHandles) { in hasWindowHandleLocked()
3152 void InputDispatcher::setInputWindows(const std::vector<sp<InputWindowHandle>>& inputWindowHandles, in setInputWindows()
3162 const std::vector<sp<InputWindowHandle>> oldWindowHandles = in setInputWindows()
3165 sp<InputWindowHandle> newFocusedWindowHandle = nullptr; in setInputWindows()
3174 const std::vector<sp<InputWindowHandle>>& oldHandles = in setInputWindows()
3176 std::unordered_map<sp<IBinder>, sp<InputWindowHandle>, IBinderHash> oldHandlesByTokens; in setInputWindows()
3177 for (const sp<InputWindowHandle>& handle : oldHandles) { in setInputWindows()
3181 std::vector<sp<InputWindowHandle>> newHandles; in setInputWindows()
3182 for (const sp<InputWindowHandle>& handle : inputWindowHandles) { in setInputWindows()
3210 const sp<InputWindowHandle> oldHandle = in setInputWindows()
3219 for (const sp<InputWindowHandle>& windowHandle : newHandles) { in setInputWindows()
3238 sp<InputWindowHandle> oldFocusedWindowHandle = in setInputWindows()
3298 for (const sp<InputWindowHandle>& oldWindowHandle : oldWindowHandles) { in setInputWindows()
3365 sp<InputWindowHandle> oldFocusedWindowHandle = in setFocusedDisplay()
3381 sp<InputWindowHandle> newFocusedWindowHandle = in setFocusedDisplay()
3391 const sp<InputWindowHandle>& windowHandle = it.second; in setFocusedDisplay()
3475 sp<InputWindowHandle> fromWindowHandle = getWindowHandleLocked(fromToken); in transferTouchFocus()
3476 sp<InputWindowHandle> toWindowHandle = getWindowHandleLocked(toToken); in transferTouchFocus()
3603 const sp<InputWindowHandle>& windowHandle = it.second; in dumpDispatchStateLocked()
3633 const sp<InputWindowHandle> portalWindowHandle = state.portalWindows[i]; in dumpDispatchStateLocked()
3645 const std::vector<sp<InputWindowHandle>> windowHandles = it.second; in dumpDispatchStateLocked()
3650 const sp<InputWindowHandle>& windowHandle = windowHandles[i]; in dumpDispatchStateLocked()
4051 void InputDispatcher::onFocusChangedLocked(const sp<InputWindowHandle>& oldFocus, in onFocusChangedLocked()
4052 const sp<InputWindowHandle>& newFocus) { in onFocusChangedLocked()
4063 const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime, in onANRLocked()