Home
last modified time | relevance | path

Searched refs:windows (Results 1 – 15 of 15) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java130 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in findWindowByTitle() local
131 return findWindowByTitleWithList(title, windows); in findWindowByTitle()
180 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in homeScreenOrBust()
181 if (windows == null) { in homeScreenOrBust()
183 } else if (windows.isEmpty()) { in homeScreenOrBust()
186 for (AccessibilityWindowInfo window : windows) { in homeScreenOrBust()
204 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in isHomeScreenShowing() local
213 for (AccessibilityWindowInfo window : windows) { in isHomeScreenShowing()
338 List<AccessibilityWindowInfo> windows) { in findWindowByTitleWithList() argument
340 if (windows != null && windows.size() > 0) { in findWindowByTitleWithList()
[all …]
DAccessibilityEventFilterUtils.java254 final List<AccessibilityWindowInfo> windows = windowsOnAllDisplays.get(mDisplayId); in matchesSafely() local
256 for (AccessibilityWindowInfo info : windows) { in matchesSafely()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java237 List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testTraverseAllWindows() local
240 final int windowCount = windows.size(); in testTraverseAllWindows()
242 AccessibilityWindowInfo window = windows.get(i); in testTraverseAllWindows()
603 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testFindPictureInPictureWindow() local
604 final int windowCount = windows.size(); in testFindPictureInPictureWindow()
606 final AccessibilityWindowInfo window = windows.get(i); in testFindPictureInPictureWindow()
617 List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testGetWindows_resultIsSortedByLayerDescending() local
619 AccessibilityWindowInfo windowAddedFirst = findWindow(windows, R.string.button1); in testGetWindows_resultIsSortedByLayerDescending()
620 AccessibilityWindowInfo windowAddedSecond = findWindow(windows, R.string.button2); in testGetWindows_resultIsSortedByLayerDescending()
623 assertThat(windows, new IsSortedBy<>(w -> w.getLayer(), /* ascending */ false)); in testGetWindows_resultIsSortedByLayerDescending()
[all …]
DAccessibilityWindowReportingTest.java197 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
198 final int windowCount = windows.size(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
200 if (windows.get(i).isInPictureInPictureMode()) { in putWindowInPictureInPicture_generatesEventAndReportsProperty()
209 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in putWindowInPictureInPicture_generatesEventAndReportsProperty() local
210 final int windowCount = windows.size(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
212 final AccessibilityWindowInfo window = windows.get(i); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
400 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode() local
401 for (int i = 0; i < windows.size(); i++) { in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
402 final AccessibilityWindowInfo window = windows.get(i); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
DAccessibilityOverlayTest.java405 windows -> in checkTrustedOverlayExists()
406 windows.stream() in checkTrustedOverlayExists()
441 final List<AccessibilityWindowInfo> windows = allWindows.get(displayId); in findOverlayWindow() local
443 if (windows != null) { in findOverlayWindow()
444 for (AccessibilityWindowInfo window : windows) { in findOverlayWindow()
DAccessibilityCacheTest.java265 List<AccessibilityWindowInfo> windows = mService.getWindows(); in testRequest_prefetchWithA11yWindowInfo() local
267 for (AccessibilityWindowInfo window : windows) { in testRequest_prefetchWithA11yWindowInfo()
DAccessibilityDisplayProxyTest.java941 List<AccessibilityWindowInfo> windows, int displayId) { in getDownMotionEvent() argument
943 final AccessibilityWindowInfo window = findWindowByTitleWithList(activityTitle, windows); in getDownMotionEvent()
1601 List<AccessibilityWindowInfo> windows) throws TimeoutException { in setTopFocusedDisplayIfNeeded() argument
1603 for (AccessibilityWindowInfo window : windows) { in setTopFocusedDisplayIfNeeded()
1735 List<AccessibilityWindowInfo> windows = in displayFocused() local
1737 for (AccessibilityWindowInfo window : windows) { in displayFocused()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DMSSIMComparer.java58 int windows = 0; in verifySame() local
69 windows++; in verifySame()
83 if (windows == 0) { in verifySame()
87 SSIMTotal /= windows; in verifySame()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java57 final List<WindowStateProto> windows = new ArrayList<>(); in getWindows() local
58 collectWindowStates(windowContainer, windows); in getWindows()
60 return windows; in getWindows()
93 List<WindowStateProto> windows = getWindows(device); in getWindowWithTitle() local
94 for (WindowStateProto window : windows) { in getWindowWithTitle()
/cts/tests/tests/simpleperf/
DAndroid.bp26 windows: {
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsTests.java138 private boolean allWindowsHidden(List<WindowManagerState.WindowState> windows) { in allWindowsHidden() argument
139 for (WindowManagerState.WindowState ws : windows) { in allWindowsHidden()
/cts/tests/tests/transition/src/android/transition/cts/
DFadeTest.java224 int windows = 0; in verifySimilar() local
235 windows++; in verifySimilar()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java204 Stream<WindowState> windows = getMatchingWindows( in waitAndAssertWindowShown()
206 return windows.findAny().isPresent(); in waitAndAssertWindowShown()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java737 windows -> windows.stream().noneMatch(window -> window.name.contains(name)), in waitForWindowRemoved()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java1526 private void assertWallpapersMatching(WallpaperWindowsTestUtils.WallpaperWindowsHelper windows, in assertWallpapersMatching() argument
1529 boolean match = windows.waitForMatchingPackages(expectedWallpaperPackageNames); in assertWallpapersMatching()
1531 + expectedWallpaperPackageNames + " but received " + windows.dumpPackages()) in assertWallpapersMatching()