Searched refs:windowInfo (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 86 void VulkanSurface::ComputeWindowSizeAndTransform(WindowInfo* windowInfo, const SkISize& minSize, in ComputeWindowSizeAndTransform() argument 88 SkISize& windowSize = windowInfo->size; in ComputeWindowSizeAndTransform() 100 windowInfo->actualSize = windowSize; in ComputeWindowSizeAndTransform() 101 if (windowInfo->transform & HAL_TRANSFORM_ROT_90) { in ComputeWindowSizeAndTransform() 102 windowInfo->actualSize.set(windowSize.height(), windowSize.width()); in ComputeWindowSizeAndTransform() 105 windowInfo->preTransform = GetPreTransformMatrix(windowInfo->size, windowInfo->transform); in ComputeWindowSizeAndTransform() 212 WindowInfo windowInfo; in Create() local 214 windowInfo.transform = ConvertVkTransformToNative(caps.supportedTransforms); in Create() 215 windowInfo.size = SkISize::Make(caps.currentExtent.width, caps.currentExtent.height); in Create() 219 ComputeWindowSizeAndTransform(&windowInfo, minSize, maxSize); in Create() [all …]
|
D | VulkanSurface.h | 104 VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, SkISize minWindowSize, 106 static bool UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo); 107 static void ComputeWindowSizeAndTransform(WindowInfo* windowInfo, const SkISize& minSize,
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 113 AccessibilityWindowInfo windowInfo = null, copyOfInfo = null, windowFromCache = null; in addThenGetWindow_returnsEquivalentButNotSameWindow() local 115 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow() 116 windowInfo.setId(WINDOW_ID_1); in addThenGetWindow_returnsEquivalentButNotSameWindow() 117 mAccessibilityCache.addWindow(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow() 119 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow() 120 windowInfo.setId(WINDOW_ID_2); // Simulate recycling and reusing the original info in addThenGetWindow_returnsEquivalentButNotSameWindow() 125 windowInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow() 178 for (AccessibilityWindowInfo windowInfo : windowsOut) { in setWindowsThenGetWindows_returnsInDecreasingLayerOrder() 179 windowInfo.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder() 626 AccessibilityWindowInfo windowInfo = AccessibilityWindowInfo.obtain(); in putWindowWithIdInCache() local [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 497 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked() local 498 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked() 499 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowAtLocked() 501 if (windowInfo->visible) { in findTouchedWindowAtLocked() 506 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowAtLocked() 507 int32_t portalToDisplayId = windowInfo->portalToDisplayId; in findTouchedWindowAtLocked() 540 const InputWindowInfo* windowInfo = portalWindow->getInfo(); in findTouchedGestureMonitorsLocked() local 541 monitors = getValueByKey(mGestureMonitorsByDisplay, windowInfo->portalToDisplayId); in findTouchedGestureMonitorsLocked() 542 addGestureMonitors(monitors, touchedMonitors, -windowInfo->frameLeft, in findTouchedGestureMonitorsLocked() 543 -windowInfo->frameTop); in findTouchedGestureMonitorsLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | MultiClientInputMethodManagerService.java | 1314 for (WindowInfo windowInfo : clientInfo.mWindowMap.values()) { in reportImeWindowTarget() 1315 if (windowInfo.mWindowHandle == targetWindowHandle) { in reportImeWindowTarget() 1316 final IBinder targetWindowToken = windowInfo.mWindowToken; in reportImeWindowTarget() 1578 WindowInfo windowInfo = null; in startInputOrWindowGainedFocus() local 1580 windowInfo = clientInfo.mWindowMap.get(windowToken); in startInputOrWindowGainedFocus() 1581 if (windowInfo == null) { in startInputOrWindowGainedFocus() 1582 windowInfo = new WindowInfo(windowToken, WindowHandleSource.getNext()); in startInputOrWindowGainedFocus() 1583 clientInfo.mWindowMap.put(windowToken, windowInfo); in startInputOrWindowGainedFocus() 1598 final int windowHandle = windowInfo != null in startInputOrWindowGainedFocus() 1599 ? windowInfo.mWindowHandle in startInputOrWindowGainedFocus() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 4120 WindowInfo windowInfo = WindowInfo.obtain(); in getWindowInfo() local 4121 windowInfo.type = mAttrs.type; in getWindowInfo() 4122 windowInfo.layer = mLayer; in getWindowInfo() 4123 windowInfo.token = mClient.asBinder(); in getWindowInfo() 4125 windowInfo.activityToken = mAppToken.appToken.asBinder(); in getWindowInfo() 4127 windowInfo.title = mAttrs.accessibilityTitle; in getWindowInfo() 4135 windowInfo.type == WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY; in getWindowInfo() 4136 if (TextUtils.isEmpty(windowInfo.title) && (isPanelWindow || isAccessibilityOverlay)) { in getWindowInfo() 4138 windowInfo.title = TextUtils.isEmpty(title) ? null : title; in getWindowInfo() 4140 windowInfo.accessibilityIdOfAnchor = mAttrs.accessibilityIdOfAnchor; in getWindowInfo() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2816 final WindowInfo windowInfo = in performAccessibilityAction() local 2818 if (windowInfo != null) activityToken = windowInfo.activityToken; in performAccessibilityAction() 2876 AccessibilityWindowInfo windowInfo = in replaceCallbackIfNeeded() local 2878 if ((windowInfo == null) || !windowInfo.isInPictureInPictureMode() in replaceCallbackIfNeeded() 3343 final WindowInfo windowInfo = windows.get(i); in updateWindowsLocked() local 3347 .populateReportedWindowLocked(windowInfo); in updateWindowsLocked() 3366 if (!mHasWatchOutsideTouchWindow && windowInfo.hasFlagWatchOutsideTouch) { in updateWindowsLocked() 3371 mWindowInfoById.put(windowId, WindowInfo.obtain(windowInfo)); in updateWindowsLocked()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 797 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in setInputWindows() local 798 if (windowInfo && windowInfo->hasFocus && (windowInfo->inputFeatures in setInputWindows()
|