Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java116 AccessibilityWindowInfo windowInfo = null, copyOfInfo = null, windowFromCache = null; in addThenGetWindow_returnsEquivalentButNotSameWindow() local
118 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
119 windowInfo.setId(WINDOW_ID_1); in addThenGetWindow_returnsEquivalentButNotSameWindow()
120 mAccessibilityCache.addWindow(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
122 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
123 windowInfo.setId(WINDOW_ID_2); // Simulate recycling and reusing the original info in addThenGetWindow_returnsEquivalentButNotSameWindow()
128 windowInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
181 for (AccessibilityWindowInfo windowInfo : windowsOut) { in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
182 windowInfo.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
542 AccessibilityWindowInfo windowInfo = AccessibilityWindowInfo.obtain(); in putWindowWithIdInCache() local
[all …]
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp521 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked() local
522 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked()
523 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowAtLocked()
525 if (windowInfo->visible) { in findTouchedWindowAtLocked()
529 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowAtLocked()
1252 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowTargetsLocked() local
1253 if (windowInfo->displayId != displayId) { in findTouchedWindowTargetsLocked()
1257 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowTargetsLocked()
1258 if (windowInfo->visible) { in findTouchedWindowTargetsLocked()
1262 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowTargetsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3869 WindowInfo windowInfo = WindowInfo.obtain(); in getWindowInfo() local
3870 windowInfo.type = mAttrs.type; in getWindowInfo()
3871 windowInfo.layer = mLayer; in getWindowInfo()
3872 windowInfo.token = mClient.asBinder(); in getWindowInfo()
3874 windowInfo.activityToken = mAppToken.appToken.asBinder(); in getWindowInfo()
3876 windowInfo.title = mAttrs.accessibilityTitle; in getWindowInfo()
3884 windowInfo.type == WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY; in getWindowInfo()
3885 if (TextUtils.isEmpty(windowInfo.title) && (isPanelWindow || isAccessibilityOverlay)) { in getWindowInfo()
3886 windowInfo.title = mAttrs.getTitle(); in getWindowInfo()
3888 windowInfo.accessibilityIdOfAnchor = mAttrs.accessibilityIdOfAnchor; in getWindowInfo()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2609 final WindowInfo windowInfo = in performAccessibilityAction() local
2611 if (windowInfo != null) activityToken = windowInfo.activityToken; in performAccessibilityAction()
2668 AccessibilityWindowInfo windowInfo = in replaceCallbackIfNeeded() local
2670 if ((windowInfo == null) || !windowInfo.isInPictureInPictureMode() in replaceCallbackIfNeeded()
3143 final WindowInfo windowInfo = windows.get(i); in updateWindowsLocked() local
3147 .populateReportedWindowLocked(windowInfo); in updateWindowsLocked()
3168 mWindowInfoById.put(windowId, WindowInfo.obtain(windowInfo)); in updateWindowsLocked()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp766 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in setInputWindows() local
767 if (windowInfo && windowInfo->hasFocus && (windowInfo->inputFeatures in setInputWindows()