Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp86 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 …]
DVulkanSurface.h104 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/
DAccessibilityCacheTest.java113 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/
DInputDispatcher.cpp546 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked() local
547 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked()
548 int32_t flags = windowInfo->layoutParamsFlags; in findTouchedWindowAtLocked()
550 if (windowInfo->visible) { in findTouchedWindowAtLocked()
554 if (isTouchModal || windowInfo->touchableRegionContainsPoint(x, y)) { in findTouchedWindowAtLocked()
555 int32_t portalToDisplayId = windowInfo->portalToDisplayId; in findTouchedWindowAtLocked()
587 const InputWindowInfo* windowInfo = portalWindow->getInfo(); in findTouchedGestureMonitorsLocked() local
588 monitors = getValueByKey(mGestureMonitorsByDisplay, windowInfo->portalToDisplayId); in findTouchedGestureMonitorsLocked()
590 -windowInfo->frameLeft, -windowInfo->frameTop); in findTouchedGestureMonitorsLocked()
995 const InputWindowInfo* windowInfo = state.portalWindows[i]->getInfo(); in dispatchMotionLocked() local
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java1314 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/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2814 final WindowInfo windowInfo = in performAccessibilityAction() local
2816 if (windowInfo != null) activityToken = windowInfo.activityToken; in performAccessibilityAction()
2874 AccessibilityWindowInfo windowInfo = in replaceCallbackIfNeeded() local
2876 if ((windowInfo == null) || !windowInfo.isInPictureInPictureMode() in replaceCallbackIfNeeded()
3341 final WindowInfo windowInfo = windows.get(i); in updateWindowsLocked() local
3345 .populateReportedWindowLocked(windowInfo); in updateWindowsLocked()
3364 if (!mHasWatchOutsideTouchWindow && windowInfo.hasFlagWatchOutsideTouch) { in updateWindowsLocked()
3369 mWindowInfoById.put(windowId, WindowInfo.obtain(windowInfo)); in updateWindowsLocked()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp822 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in setInputWindows() local
823 if (windowInfo && windowInfo->hasFocus && (windowInfo->inputFeatures in setInputWindows()