Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java110 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in findWindowByTitle() local
112 for (int i = 0; i < windows.size(); i++) { in findWindowByTitle()
113 final AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle()
136 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in homeScreenOrBust()
137 if (windows == null) { in homeScreenOrBust()
139 } else if (windows.isEmpty()) { in homeScreenOrBust()
142 for (AccessibilityWindowInfo window : windows) { in homeScreenOrBust()
152 final List<AccessibilityWindowInfo> windows = uiAutomation.getWindows(); in isHomeScreenShowing() local
159 for (AccessibilityWindowInfo window : windows) { in isHomeScreenShowing()
DAccessibilityEventFilterUtils.java155 final List<AccessibilityWindowInfo> windows = mUiAutomation.getWindows(); in matchesSafely() local
157 for (AccessibilityWindowInfo info : windows) { in matchesSafely()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java215 List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testTraverseAllWindows() local
218 final int windowCount = windows.size(); in testTraverseAllWindows()
220 AccessibilityWindowInfo window = windows.get(i); in testTraverseAllWindows()
601 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testFindPictureInPictureWindow() local
602 final int windowCount = windows.size(); in testFindPictureInPictureWindow()
604 final AccessibilityWindowInfo window = windows.get(i); in testFindPictureInPictureWindow()
615 List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testGetWindows_resultIsSortedByLayerDescending() local
617 AccessibilityWindowInfo windowAddedFirst = findWindow(windows, R.string.button1); in testGetWindows_resultIsSortedByLayerDescending()
618 AccessibilityWindowInfo windowAddedSecond = findWindow(windows, R.string.button2); in testGetWindows_resultIsSortedByLayerDescending()
621 assertThat(windows, new IsSortedBy<>(w -> w.getLayer(), /* ascending */ false)); in testGetWindows_resultIsSortedByLayerDescending()
[all …]
DAccessibilityWindowReportingTest.java161 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
162 final int windowCount = windows.size(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
164 if (windows.get(i).isInPictureInPictureMode()) { in putWindowInPictureInPicture_generatesEventAndReportsProperty()
173 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in putWindowInPictureInPicture_generatesEventAndReportsProperty() local
174 final int windowCount = windows.size(); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
176 final AccessibilityWindowInfo window = windows.get(i); in putWindowInPictureInPicture_generatesEventAndReportsProperty()
288 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode() local
289 for (int i = 0; i < windows.size(); i++) { in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
290 final AccessibilityWindowInfo window = windows.get(i); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
DAccessibilityOverlayTest.java93 List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in findOverlayWindow() local
94 for (int i = 0; i < windows.size(); i++) { in findOverlayWindow()
95 AccessibilityWindowInfo window = windows.get(i); in findOverlayWindow()
/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/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java182 for (int i = 0; i < state.rootWindowContainer.windows.length; i++) { in parseSysDumpProto()
183 IdentifierProto identifierProto = state.rootWindowContainer.windows[i]; in parseSysDumpProto()
350 for (int j = 0; j < windowTokenProto.windows.length; j++) { in WindowTask()
351 WindowStateProto windowProto = windowTokenProto.windows[j]; in WindowTask()
444 for (int j = 0; j < proto.windows.length; j++) { in addWindowsFromTokenProto()
445 WindowStateProto windowProto = proto.windows[j]; in addWindowsFromTokenProto()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsTests.java136 private boolean allWindowsHidden(List<WindowManagerState.WindowState> windows) { in allWindowsHidden() argument
137 for (WindowManagerState.WindowState ws : windows) { in allWindowsHidden()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java227 for (int i = 0; i < state.rootWindowContainer.windows.length; i++) { in parseSysDumpProto()
228 IdentifierProto identifierProto = state.rootWindowContainer.windows[i]; in parseSysDumpProto()
653 for (int j = 0; j < windowTokenProto.windows.length; j++) { in WindowTask()
654 WindowStateProto windowProto = windowTokenProto.windows[j]; in WindowTask()
778 for (int j = 0; j < proto.windows.length; j++) { in addWindowsFromTokenProto()
779 WindowStateProto windowProto = proto.windows[j]; in addWindowsFromTokenProto()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java655 private int findAppWindowId(List<AccessibilityWindowInfo> windows) { in findAppWindowId() argument
656 final int windowCount = windows.size(); in findAppWindowId()
658 AccessibilityWindowInfo window = windows.get(i); in findAppWindowId()
/cts/tests/tests/transition/src/android/transition/cts/
DFadeTest.java224 int windows = 0; in verifySimilar() local
235 windows++; in verifySimilar()