Searched refs:allWindows (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 65 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/ |
D | AccessibilityNodeInfoDumper.java | 115 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/ |
D | AccessibilityCacheTest.java | 294 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnectionTest.java | 347 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local 350 assertEquals(2, allWindows.size()); in getWindows() 351 assertThat(allWindows.get(Display.DEFAULT_DISPLAY), is(mA11yWindowInfos)); in getWindows() 352 assertEquals(2, allWindows.get(Display.DEFAULT_DISPLAY).size()); in getWindows() 353 assertThat(allWindows.get(SECONDARY_DISPLAY_ID), is(mA11yWindowInfosOnSecondDisplay)); in getWindows() 354 assertEquals(1, allWindows.get(SECONDARY_DISPLAY_ID).size()); in getWindows()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | ProxyAccessibilityServiceConnection.java | 233 final AccessibilityWindowInfo.WindowListSparseArray allWindows = super.getWindows(); in getWindows() local 238 displayWindows.put(mDisplayId, allWindows.get(mDisplayId, Collections.emptyList())); in getWindows()
|
D | AbstractAccessibilityServiceConnection.java | 591 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows() local 604 allWindows.put(displayId, windowList); in getWindows() 608 return allWindows; in getWindows()
|