Home
last modified time | relevance | path

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

/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java65 boolean allWindows = false; in run()
71 allWindows = true; in run()
92 if (allWindows) { in run()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
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()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java293 SparseArray<List<AccessibilityWindowInfo>> allWindows = new SparseArray<>(); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder() local
294 allWindows.put(Display.DEFAULT_DISPLAY, windowsIn1); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
295 allWindows.put(SECONDARY_DISPLAY_ID, windowsIn2); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
296 mAccessibilityCache.setWindowsOnAllDisplays(allWindows); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
894 SparseArray<List<AccessibilityWindowInfo>> allWindows = new SparseArray<>(); in setWindowsByDisplay() local
895 allWindows.put(displayId, windows); in setWindowsByDisplay()
896 mAccessibilityCache.setWindowsOnAllDisplays(allWindows); in setWindowsByDisplay()
900 final SparseArray<List<AccessibilityWindowInfo>> allWindows = in getWindowsByDisplay() local
903 if (allWindows != null && allWindows.size() > 0) { in getWindowsByDisplay()
904 return allWindows.get(displayId); in getWindowsByDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java296 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local
299 assertEquals(2, allWindows.size()); in getWindows()
300 assertThat(allWindows.get(Display.DEFAULT_DISPLAY), is(mA11yWindowInfos)); in getWindows()
301 assertEquals(2, allWindows.get(Display.DEFAULT_DISPLAY).size()); in getWindows()
302 assertThat(allWindows.get(SECONDARY_DISPLAY_ID), is(mA11yWindowInfosOnSecondDisplay)); in getWindows()
303 assertEquals(1, allWindows.get(SECONDARY_DISPLAY_ID).size()); in getWindows()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java404 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local
416 allWindows.put(displayId, windowList); in getWindows()
420 return allWindows; in getWindows()