/frameworks/native/services/inputflinger/dispatcher/ |
D | TouchState.cpp | 36 return std::any_of(windows.begin(), windows.end(), [&](const TouchedWindow& window) { in hasTouchingPointers() 42 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointer() 51 for (TouchedWindow& touchedWindow : windows) { in removeTouchingPointerFromWindow() 61 for (TouchedWindow& touchedWindow : windows) { in clearHoveringPointers() 68 std::erase_if(windows, [](const TouchedWindow& w) { in clearWindowsWithoutPointers() 82 for (TouchedWindow& touchedWindow : windows) { in addOrUpdateWindow() 110 windows.push_back(touchedWindow); in addOrUpdateWindow() 116 for (TouchedWindow& touchedWindow : windows) { in addHoveringPointerToWindow() 126 windows.push_back(touchedWindow); in addHoveringPointerToWindow() 130 for (size_t i = 0; i < windows.size(); i++) { in removeWindowByToken() [all …]
|
D | FocusResolver.cpp | 61 ui::LogicalDisplayId displayId, const std::vector<sp<WindowInfoHandle>>& windows) { in setInputWindows() argument 72 Focusability result = getResolvedFocusWindow(requestedFocus, windows, resolvedFocusWindow); in setInputWindows() 96 const FocusRequest& request, const std::vector<sp<WindowInfoHandle>>& windows) { in setFocusedWindow() argument 106 Focusability result = getResolvedFocusWindow(request.token, windows, resolvedFocusWindow); in setFocusedWindow() 127 const sp<IBinder>& token, const std::vector<sp<WindowInfoHandle>>& windows, in getResolvedFocusWindow() argument 137 Focusability result = isTokenFocusable(curFocusCandidate, windows, outFocusableWindow); in getResolvedFocusWindow() 158 const sp<IBinder>& token, const std::vector<sp<WindowInfoHandle>>& windows, in isTokenFocusable() argument 163 for (const sp<WindowInfoHandle>& window : windows) { in isTokenFocusable()
|
D | FocusResolver.h | 62 const std::vector<sp<android::gui::WindowInfoHandle>>& windows); 65 const std::vector<sp<android::gui::WindowInfoHandle>>& windows); 96 const std::vector<sp<android::gui::WindowInfoHandle>>& windows, 101 const std::vector<sp<android::gui::WindowInfoHandle>>& windows,
|
/frameworks/native/services/inputflinger/tests/ |
D | FocusResolver_test.cpp | 61 std::vector<sp<WindowInfoHandle>> windows; in TEST() local 62 windows.push_back(sp<FakeWindowHandle>::make("Focusable", focusableWindowToken, in TEST() 64 windows.push_back(sp<FakeWindowHandle>::make("Invisible", invisibleWindowToken, in TEST() 66 windows.push_back(sp<FakeWindowHandle>::make("unfocusable", unfocusableWindowToken, in TEST() 75 focusResolver.setFocusedWindow(request, windows); in TEST() 81 changes = focusResolver.setFocusedWindow(request, windows); in TEST() 88 changes = focusResolver.setFocusedWindow(request, windows); in TEST() 94 std::vector<sp<WindowInfoHandle>> windows; in TEST() local 95 windows.push_back(sp<FakeWindowHandle>::make("Focusable", focusableWindowToken, in TEST() 105 focusResolver.setFocusedWindow(request, windows); in TEST() [all …]
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputDispatcherFuzzer.cpp | 109 std::vector<sp<FakeWindowHandle>>& windows = windowsPerDisplay[displayId]; in randomizeWindows() local 114 if (windows.size() < MAX_RANDOM_WINDOWS) { in randomizeWindows() 115 windows.push_back(generateFuzzedWindow(fdp, dispatcher, displayId)); in randomizeWindows() 120 if (windows.empty()) { in randomizeWindows() 124 fdp.ConsumeIntegralInRange<int32_t>(0, windows.size() - 1); in randomizeWindows() 126 windows.erase(windows.begin() + erasedPosition); in randomizeWindows() 127 if (windows.empty()) { in randomizeWindows() 133 for (auto& window : windows) { in randomizeWindows() 168 for (const auto& [displayId, windows] : windowsPerDisplay) { in LLVMFuzzerTestOneInput() 169 for (const sp<FakeWindowHandle>& window : windows) { in LLVMFuzzerTestOneInput() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivitySnapshotControllerTests.java | 87 final ArrayList<WindowContainer> windows = new ArrayList<>(); in testOpenActivityTransition() local 88 windows.add(openingWindow.mActivityRecord); in testOpenActivityTransition() 89 windows.add(closingWindow.mActivityRecord); in testOpenActivityTransition() 90 mActivitySnapshotController.handleTransitionFinish(windows); in testOpenActivityTransition() 100 windows.add(belowClose.mActivityRecord); in testOpenActivityTransition() 101 mActivitySnapshotController.handleTransitionFinish(windows); in testOpenActivityTransition() 119 final ArrayList<WindowContainer> windows = new ArrayList<>(); in testCloseActivityTransition() local 120 windows.add(openingWindow.mActivityRecord); in testCloseActivityTransition() 121 windows.add(closingWindow.mActivityRecord); in testCloseActivityTransition() 122 mActivitySnapshotController.handleTransitionFinish(windows); in testCloseActivityTransition() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityWindowManager.java | 446 IBinder topFocusedWindowToken, @NonNull List<WindowInfo> windows) { in onWindowsForAccessibilityChanged() argument 450 updateWindowsByWindowAttributesLocked(windows); in onWindowsForAccessibilityChanged() 458 Slogf.i(LOG_TAG, "%d windows changed: %s ", windows.size(), windows); in onWindowsForAccessibilityChanged() 460 List<String> windowsInfo = windows.stream() in onWindowsForAccessibilityChanged() 463 Slogf.i(LOG_TAG, "%d windows changed: %s", windows.size(), windowsInfo); in onWindowsForAccessibilityChanged() 466 if (shouldUpdateWindowsLocked(forceSend, windows)) { in onWindowsForAccessibilityChanged() 477 cacheWindows(windows); in onWindowsForAccessibilityChanged() 480 windows); in onWindowsForAccessibilityChanged() local 507 @NonNull List<AccessibilityWindow> windows) { in onAccessibilityWindowsChanged() argument 510 createWindowInfoListLocked(screenSize, windows); in onAccessibilityWindowsChanged() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityCache.java | 191 SparseArray<AccessibilityWindowInfo> windows = mWindowCacheByDisplay.get(displayId); in addWindowByDisplayLocked() local 192 if (windows == null) { in addWindowByDisplayLocked() 193 windows = new SparseArray<>(); in addWindowByDisplayLocked() 194 mWindowCacheByDisplay.put(displayId, windows); in addWindowByDisplayLocked() 197 windows.put(windowId, new AccessibilityWindowInfo(window)); in addWindowByDisplayLocked() 422 List<AccessibilityWindowInfo> windows = in getWindowsOnAllDisplays() local 426 windows.add(new AccessibilityWindowInfo(window)); in getWindowsOnAllDisplays() 429 returnWindows.put(displayId, windows); in getWindowsOnAllDisplays() 586 final SparseArray<AccessibilityWindowInfo> windows = in clearWindowCacheLocked() local 588 if (windows != null) { in clearWindowCacheLocked() [all …]
|
D | AccessibilityInteractionClient.java | 479 final SparseArray<List<AccessibilityWindowInfo>> windows = in getWindowsOnDisplay() local 481 return windows.get(displayId, Collections.emptyList()); in getWindowsOnDisplay() 494 SparseArray<List<AccessibilityWindowInfo>> windows; in getWindowsOnAllDisplays() local 497 windows = cache.getWindowsOnAllDisplays(); in getWindowsOnAllDisplays() 498 if (windows != null) { in getWindowsOnAllDisplays() 506 return windows; in getWindowsOnAllDisplays() 521 windows = connection.getWindows(); in getWindowsOnAllDisplays() 528 if (windows != null) { in getWindowsOnAllDisplays() 530 cache.setWindowsOnAllDisplays(windows, populationTimeStamp); in getWindowsOnAllDisplays() 532 return windows; in getWindowsOnAllDisplays()
|
/frameworks/base/tests/MultiDeviceInput/ |
D | README.md | 4 It creates two windows - one on the left and one on the right. You can use different input devices 5 in these windows.
|
/frameworks/native/libs/math/ |
D | Android.bp | 47 windows: { 66 windows: {
|
/frameworks/compile/slang/ |
D | Android.bp | 111 windows: { 125 windows: { 207 windows: { 232 windows: {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | AccessibilityInteractionControllerTest.java | 227 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in findWindowByTitle() local 229 for (int i = 0; i < windows.size(); i++) { in findWindowByTitle() 230 final AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SnapshotController.java | 178 final ArrayList<WindowContainer> windows = new ArrayList<>(); in onTransitionFinish() local 185 windows.add(wc); in onTransitionFinish() 187 mActivitySnapshotController.handleTransitionFinish(windows); in onTransitionFinish()
|
/frameworks/minikin/ |
D | Android.bp | 26 windows: {
|
/frameworks/compile/libbcc/bcinfo/ |
D | Android.bp | 75 windows: { 117 windows: {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 134 final List<AccessibilityWindowInfo> windows = allWindows.valueAt(d); in dumpWindowsToFile() local 135 if (windows.isEmpty()) { in dumpWindowsToFile() 143 for (int i = 0, n = windows.size(); i < n; ++i) { in dumpWindowsToFile() 144 dumpWindowRec(windows.get(i), serializer, i, size.x, size.y, rotation); in dumpWindowsToFile()
|
/frameworks/base/startop/apps/ColorChanging/ |
D | gradlew.bat | 8 @rem Set local scope for the variables with windows NT shell 72 @rem End local scope for the variables with windows NT shell
|
/frameworks/av/media/tests/SampleVideoEncoder/ |
D | gradlew.bat | 8 @rem Set local scope for the variables with windows NT shell 72 @rem End local scope for the variables with windows NT shell
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | gradlew.bat | 8 @rem Set local scope for the variables with windows NT shell 78 @rem End local scope for the variables with windows NT shell
|
/frameworks/base/libs/hostgraphics/ |
D | Android.bp | 41 windows: {
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | Android.bp | 26 windows: {
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | Android.bp | 25 windows: {
|
/frameworks/base/libs/androidfw/ |
D | Android.bp | 48 windows: { 152 windows: { 173 windows: {
|
/frameworks/base/tests/TouchLatency/ |
D | gradlew.bat | 24 @rem Set local scope for the variables with windows NT shell 77 @rem End local scope for the variables with windows NT shell
|