Home
last modified time | relevance | path

Searched refs:windowInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityCacheTest.java118 AccessibilityWindowInfo windowInfo = null, copyOfInfo = null, windowFromCache = null; in addThenGetWindow_returnsEquivalentButNotSameWindow() local
120 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
121 windowInfo.setId(WINDOW_ID_1); in addThenGetWindow_returnsEquivalentButNotSameWindow()
122 mAccessibilityCache.addWindow(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
124 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
125 windowInfo.setId(WINDOW_ID_2); // Simulate recycling and reusing the original info in addThenGetWindow_returnsEquivalentButNotSameWindow()
130 windowInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
183 for (AccessibilityWindowInfo windowInfo : windowsOut) { in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
184 windowInfo.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
544 AccessibilityWindowInfo windowInfo = AccessibilityWindowInfo.obtain(); in putWindowWithIdInCache() local
[all …]
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp482 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked() local
483 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked()
484 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowAtLocked()
486 if (windowInfo->visible) { in findTouchedWindowAtLocked()
490 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowAtLocked()
1217 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowTargetsLocked() local
1218 if (windowInfo->displayId != displayId) { in findTouchedWindowTargetsLocked()
1222 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowTargetsLocked()
1223 if (windowInfo->visible) { in findTouchedWindowTargetsLocked()
1227 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowTargetsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3834 WindowInfo windowInfo = WindowInfo.obtain(); in getWindowInfo() local
3835 windowInfo.type = mAttrs.type; in getWindowInfo()
3836 windowInfo.layer = mLayer; in getWindowInfo()
3837 windowInfo.token = mClient.asBinder(); in getWindowInfo()
3838 windowInfo.title = mAttrs.accessibilityTitle; in getWindowInfo()
3839 windowInfo.accessibilityIdOfAnchor = mAttrs.accessibilityIdOfAnchor; in getWindowInfo()
3840 windowInfo.focused = isFocused(); in getWindowInfo()
3842 windowInfo.inPictureInPicture = (task != null) && task.inPinnedWorkspace(); in getWindowInfo()
3845 windowInfo.parentToken = getParentWindow().mClient.asBinder(); in getWindowInfo()
3850 if (windowInfo.childTokens == null) { in getWindowInfo()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp736 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in setInputWindows() local
737 if (windowInfo && windowInfo->hasFocus && (windowInfo->inputFeatures in setInputWindows()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3356 AccessibilityWindowInfo windowInfo = in performAccessibilityAction() local
3358 if ((windowInfo != null) && windowInfo.inPictureInPicture()) { in performAccessibilityAction()
4082 AccessibilityWindowInfo windowInfo = mSecurityPolicy.findWindowById(resolvedWindowId); in replaceCallbackIfNeeded() local
4083 if ((windowInfo == null) || !windowInfo.inPictureInPicture() in replaceCallbackIfNeeded()