Home
last modified time | relevance | path

Searched refs:windowHandle (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp50 const sp<android::gui::WindowInfoHandle>& windowHandle) { in removeTouchingPointerFromWindow() argument
52 if (touchedWindow.windowHandle == windowHandle) { in removeTouchingPointerFromWindow()
74 const sp<WindowInfoHandle>& windowHandle, InputTarget::DispatchMode dispatchMode, in addOrUpdateWindow() argument
79 LOG(FATAL) << __func__ << "No pointers specified for " << windowHandle->getName(); in addOrUpdateWindow()
88 if (touchedWindow.windowHandle == windowHandle) { in addOrUpdateWindow()
103 touchedWindow.windowHandle = windowHandle; in addOrUpdateWindow()
114 void TouchState::addHoveringPointerToWindow(const sp<WindowInfoHandle>& windowHandle, in addHoveringPointerToWindow() argument
117 if (touchedWindow.windowHandle == windowHandle) { in addHoveringPointerToWindow()
124 touchedWindow.windowHandle = windowHandle; in addHoveringPointerToWindow()
131 if (windows[i].windowHandle->getToken() == token) { in removeWindowByToken()
[all …]
DTouchState.h45 const sp<android::gui::WindowInfoHandle>& windowHandle);
47 const sp<android::gui::WindowInfoHandle>& windowHandle,
51 void addHoveringPointerToWindow(const sp<android::gui::WindowInfoHandle>& windowHandle,
71 const sp<android::gui::WindowInfoHandle>& windowHandle) const;
DInputDispatcher.cpp405 const sp<WindowInfoHandle> win = inputTarget.windowHandle; in createDispatchEntry()
631 bool isWindowOwnedBy(const sp<WindowInfoHandle>& windowHandle, gui::Pid pid, gui::Uid uid) { in isWindowOwnedBy() argument
632 if (windowHandle == nullptr) { in isWindowOwnedBy()
635 const WindowInfo* windowInfo = windowHandle->getInfo(); in isWindowOwnedBy()
721 touchedWindow.windowHandle = oldWindow; in getHoveringWindowsLocked()
729 touchedWindow.windowHandle = newWindow; in getHoveringWindowsLocked()
768 if (!window.windowHandle->getInfo()->inputConfig.test( in filterUntrustedTargets()
775 return target.connection->getToken() == window.windowHandle->getToken(); in filterUntrustedTargets()
797 if (touchedWindow.windowHandle->getInfo()->isSpy()) { in shouldSplitTouch()
801 if (touchedWindow.windowHandle->getInfo()->supportsSplitTouch()) { in shouldSplitTouch()
[all …]
DDragState.h28 DragState(const sp<android::gui::WindowInfoHandle>& windowHandle, int32_t pointerId) in DragState()
29 : dragWindow(windowHandle), pointerId(pointerId) {} in DragState()
DInputTarget.cpp124 if (target.windowHandle != nullptr) { in operator <<()
125 out << target.windowHandle->getName(); in operator <<()
DInputDispatcher.h380 const sp<android::gui::WindowInfoHandle>& windowHandle) const REQUIRES(mLock);
549 const sp<android::gui::WindowInfoHandle>& windowHandle,
552 void addWindowTargetLocked(const sp<android::gui::WindowInfoHandle>& windowHandle,
557 void addPointerWindowTargetLocked(const sp<android::gui::WindowInfoHandle>& windowHandle,
580 const sp<android::gui::WindowInfoHandle>& windowHandle, float x, float y) const
583 bool isWindowObscuredAtPointLocked(const sp<android::gui::WindowInfoHandle>& windowHandle,
585 bool isWindowObscuredLocked(const sp<android::gui::WindowInfoHandle>& windowHandle) const
590 const sp<android::gui::WindowInfoHandle>& windowHandle);
593 const sp<android::gui::WindowInfoHandle>& windowHandle) const
726 const sp<android::gui::WindowInfoHandle>& windowHandle) const REQUIRES(mLock);
DInputTarget.h89 sp<gui::WindowInfoHandle> windowHandle; variable
DTouchedWindow.h33 sp<gui::WindowInfoHandle> windowHandle; member
DTouchedWindow.cpp310 windowHandle->getName().c_str(), targetFlags.string().c_str(), in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedPresentationListenerController.java257 for (var windowHandle : mLastWindowHandles) { in computeTpl()
258 if (!windowHandle.canOccludePresentation) { in computeTpl()
259 ProtoLog.v(WM_DEBUG_TPL, "Skipping %s", windowHandle.name); in computeTpl()
262 tmpRect.set(windowHandle.frame); in computeTpl()
263 var listeners = mRegisteredListeners.get(windowHandle.getWindowToken()); in computeTpl()
267 windowHandle.transform.invert(tmpInverseMatrix); in computeTpl()
275 windowHandle.contentSize, in computeTpl()
278 checkIfInThreshold(listeners, listenerUpdates, fractionRendered, windowHandle.alpha, in computeTpl()
284 windowHandle.name, tmpRect.toShortString(), coveredRegionsAbove); in computeTpl()
DAccessibilityWindowsPopulator.java141 for (final InputWindowHandle windowHandle : inputWindowHandles) { in populateVisibleWindowsOnScreenLocked()
143 AccessibilityWindow.initializeData(mService, windowHandle, inverseMatrix, in populateVisibleWindowsOnScreenLocked()
274 for (final InputWindowHandle windowHandle : mVisibleWindows) { in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
276 windowHandle.displayId); in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
280 tempWindowHandleList.put(windowHandle.displayId, inputWindowHandles); in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
282 inputWindowHandles.add(windowHandle); in populateVisibleWindowHandlesAndNotifyWindowsChangeIfNeeded()
398 final InputWindowHandle windowHandle = inputWindowHandles.get(index); in generateInverseMatrixBasedOnProperMagnificationSpecForDisplay() local
399 final IBinder iBinder = windowHandle.getWindowToken(); in generateInverseMatrixBasedOnProperMagnificationSpecForDisplay()
401 generateMagnificationSpecInverseMatrix(windowHandle, currentMagnificationSpec, in generateInverseMatrixBasedOnProperMagnificationSpecForDisplay()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracer.cpp82 if (target.windowHandle == nullptr) { in getTargetInfo()
89 const auto& info = *target.windowHandle->getInfo(); in getTargetInfo()
92 return {target.windowHandle->getInfo()->ownerUid, isSensitiveTarget}; in getTargetInfo()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp5620 void addWindow(const sp<WindowInfoHandle>& windowHandle) { in addWindow() argument
5621 mWindowInfos.push_back(*windowHandle->getInfo()); in addWindow()