Home
last modified time | relevance | path

Searched refs:allWindows (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java65 boolean allWindows = false; in run()
71 allWindows = true; in run()
92 if (allWindows) { in run()
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java115 public static void dumpWindowsToFile(SparseArray<List<AccessibilityWindowInfo>> allWindows, in dumpWindowsToFile() argument
117 if (allWindows.size() == 0) { in dumpWindowsToFile()
128 for (int d = 0, nd = allWindows.size(); d < nd; ++d) { in dumpWindowsToFile()
129 int displayId = allWindows.keyAt(d); in dumpWindowsToFile()
134 final List<AccessibilityWindowInfo> windows = allWindows.valueAt(d); in dumpWindowsToFile()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityCacheTest.java294 SparseArray<List<AccessibilityWindowInfo>> allWindows = new SparseArray<>(); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder() local
295 allWindows.put(Display.DEFAULT_DISPLAY, windowsIn1); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
296 allWindows.put(SECONDARY_DISPLAY_ID, windowsIn2); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
298 mAccessibilityCache.setWindowsOnAllDisplays(allWindows, populationTimeStamp); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
1161 SparseArray<List<AccessibilityWindowInfo>> allWindows = new SparseArray<>(); in setWindowsByDisplay() local
1162 allWindows.put(displayId, windows); in setWindowsByDisplay()
1163 mAccessibilityCache.setWindowsOnAllDisplays(allWindows, populationTimeStamp); in setWindowsByDisplay()
1167 final SparseArray<List<AccessibilityWindowInfo>> allWindows = in getWindowsByDisplay() local
1170 if (allWindows != null && allWindows.size() > 0) { in getWindowsByDisplay()
1171 return allWindows.get(displayId); in getWindowsByDisplay()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnectionTest.java343 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local
346 assertEquals(2, allWindows.size()); in getWindows()
347 assertThat(allWindows.get(Display.DEFAULT_DISPLAY), is(mA11yWindowInfos)); in getWindows()
348 assertEquals(2, allWindows.get(Display.DEFAULT_DISPLAY).size()); in getWindows()
349 assertThat(allWindows.get(SECONDARY_DISPLAY_ID), is(mA11yWindowInfosOnSecondDisplay)); in getWindows()
350 assertEquals(1, allWindows.get(SECONDARY_DISPLAY_ID).size()); in getWindows()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DProxyAccessibilityServiceConnection.java226 final AccessibilityWindowInfo.WindowListSparseArray allWindows = super.getWindows(); in getWindows() local
231 displayWindows.put(mDisplayId, allWindows.get(mDisplayId, Collections.emptyList())); in getWindows()
H A DAbstractAccessibilityServiceConnection.java546 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local
559 allWindows.put(displayId, windowList); in getWindows()
563 return allWindows; in getWindows()