Home
last modified time | relevance | path

Searched refs:WindowState (Results 1 – 14 of 14) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java111 private List<WindowState> mWindowStates = new ArrayList();
190 List<WindowState> allWindows = new ArrayList<>(); in parseSysDumpProto()
191 Map<String, WindowState> windowMap = new HashMap<>(); in parseSysDumpProto()
224 for (WindowState w : allWindows) { in parseSysDumpProto()
331 List<WindowState> getMatchingWindowType(int type) { in getMatchingWindowType()
337 .map(WindowState::getToken) in getMatchingWindowTokens()
341 List<WindowState> getAllNavigationBarStates() { in getAllNavigationBarStates()
346 WindowState getAndAssertSingleNavBarWindowOnDisplay(int displayId) { in getAndAssertSingleNavBarWindowOnDisplay()
347 List<WindowState> navWindow = getMatchingWindows(ws -> in getAndAssertSingleNavBarWindowOnDisplay()
359 private static boolean isValidNavBarType(WindowState navState) { in isValidNavBarType()
[all …]
DActivityAndWindowManagersState.java54 import android.server.wm.WindowManagerState.WindowState;
168 List<WindowState> exitingWindows = null; in waitForAllExitingWindows()
179 .map(WindowState::getName) in waitForAllExitingWindows()
354 final WindowState ws = getWmState().getAndAssertSingleNavBarWindowOnDisplay(displayId); in waitAndAssertNavBarShownOnDisplay()
447 final List<WindowState> matchingWindowStates = in shouldWaitForActivities()
460 for (WindowState ws : matchingWindowStates) { in shouldWaitForActivities()
506 List<WindowState> matchingWindowStates = in shouldWaitForDebuggerWindow()
508 for (WindowState ws : matchingWindowStates) { in shouldWaitForDebuggerWindow()
958 final WindowManagerState.WindowState imeWinState = waitForValidProduct( in waitAndAssertImeWindowShownOnDisplay()
967 WindowManagerState.WindowState getImeWindowState() { in getImeWindowState()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsTests.java136 private boolean allWindowsHidden(List<WindowManagerState.WindowState> windows) { in allWindowsHidden()
137 for (WindowManagerState.WindowState ws : windows) { in allWindowsHidden()
150 final List<WindowManagerState.WindowState> alertWindows = in assertAlertWindows()
172 for (WindowManagerState.WindowState win : alertWindows) { in assertAlertWindows()
178 final WindowManagerState.WindowState mainAppWindow = in assertAlertWindows()
183 final WindowManagerState.WindowState lowestAlertWindow = alertWindows.get(0); in assertAlertWindows()
184 final WindowManagerState.WindowState highestAlertWindow = in assertAlertWindows()
193 final WindowManagerState.WindowState appOverlayWindow = in assertAlertWindows()
202 final List<WindowManagerState.WindowState> systemWindows = in assertAlertWindows()
205 final WindowManagerState.WindowState lowestSystemWindow = alertWindows.get(0); in assertAlertWindows()
DParentChildTestBase.java26 import android.server.wm.WindowManagerState.WindowState;
33 void doTest(WindowState parent, WindowState child); in doTest()
DDialogFrameTests.java43 import android.server.wm.WindowManagerState.WindowState;
81 private WindowState getSingleWindow(final String windowName) { in getSingleWindow()
82 final List<WindowState> windowList = in getSingleWindow()
91 WindowState dialog = getSingleWindow(DIALOG_WINDOW_NAME); in doSingleTest()
92 WindowState parent = getSingleWindow(getWindowName(activityName())); in doSingleTest()
DManifestLayoutTests.java37 import android.server.wm.WindowManagerState.WindowState;
66 private WindowState mWindowState;
174 final List<WindowState> windowList = in getDisplayAndWindowState()
DMultiDisplayKeyguardTests.java122 final List<WindowManagerState.WindowState> states = in isKeyguardOnDisplay()
124 for (WindowManagerState.WindowState ws : states) { in isKeyguardOnDisplay()
DMultiDisplaySystemDecorationTests.java59 import android.server.wm.WindowManagerState.WindowState;
227 final List<WindowState> expected = mAmWmState.getWmState().getAllNavigationBarStates(); in testNavBarNotShowingOnDisplayWithoutDecor()
246 final List<WindowState> expected = mAmWmState.getWmState().getAllNavigationBarStates(); in testNavBarNotShowingOnPrivateDisplay()
255 private void waitAndAssertNavBarStatesAreTheSame(List<WindowState> expected) throws Exception { in waitAndAssertNavBarStatesAreTheSame()
272 final List<WindowState> result = mAmWmState.getWmState().getAllNavigationBarStates(); in waitAndAssertNavBarStatesAreTheSame()
721 WindowManagerState.WindowState imeWinState, ActivityDisplay display) { in assertImeWindowAndDisplayConfiguration()
DToastTest.java38 import android.server.wm.WindowManagerState.WindowState;
115 WindowState toastWindow = wmState.findFirstWindowWithType(LayoutParams.TYPE_TOAST); in testToastIsNotClickable()
DPinnedStackTests.java300 WindowManagerState.WindowState windowState = getWindowState(PIP_ACTIVITY); in testPinnedStackOutOfBoundsInsetsNonNegative()
1324 WindowManagerState.WindowState imeWinState = wmState.getInputMethodWindowState(); in assertPinnedStackDoesNotIntersectIME()
1344 final WindowManagerState.WindowState windowState = getWindowState(activityName); in assertPinnedStackActivityIsInDisplayBounds()
1467 private WindowManagerState.WindowState getWindowState(ComponentName activityName) { in getWindowState()
1470 final List<WindowManagerState.WindowState> tempWindowList = in getWindowState()
DKeyguardTests.java61 import android.server.wm.WindowManagerState.WindowState;
563 WindowState wallpaper = in assertWallpaperShowing()
DAppConfigurationTests.java849 final List<WindowManagerState.WindowState> windowList =
855 WindowManagerState.WindowState windowState = windowList.get(0);
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java68 private List<WindowState> mWindowStates = new ArrayList();
145 List<WindowState> allWindows = new ArrayList<>(); in parseSysDumpProto()
146 Map<String, WindowState> windowMap = new HashMap<>(); in parseSysDumpProto()
179 for (WindowState w : allWindows) { in parseSysDumpProto()
190 … public void getMatchingVisibleWindowState(final String windowName, List<WindowState> windowList) { in getMatchingVisibleWindowState()
192 for (WindowState ws : mWindowStates) { in getMatchingVisibleWindowState()
199 public WindowState getWindowByPackageName(String packageName, int windowType) { in getWindowByPackageName()
200 for (WindowState ws : mWindowStates) { in getWindowByPackageName()
215 List<WindowState> outWindowList) { in getWindowsByPackageName()
217 for (WindowState ws : mWindowStates) { in getWindowsByPackageName()
[all …]
DActivityAndWindowManagersState.java46 import android.server.am.WindowManagerState.WindowState;
234 List<WindowState> matchingWindowStates = new ArrayList<>(); in shouldWaitForActivities()
254 for (WindowState ws : matchingWindowStates) { in shouldWaitForActivities()