Home
last modified time | relevance | path

Searched refs:WindowManagerState (Results 1 – 24 of 24) sorted by relevance

/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()
148 final WindowManagerState wmState = mAmWmState.getWmState(); in assertAlertWindows()
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()
[all …]
DTransitionSelectionTests.java19 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_CLOSE;
20 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN;
21 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE;
22 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN;
23 import static android.server.wm.WindowManagerState.TRANSIT_TRANSLUCENT_ACTIVITY_CLOSE;
24 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_CLOSE;
25 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_CLOSE;
26 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_OPEN;
27 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_OPEN;
DKeyguardTransitionTests.java20 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN;
21 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY;
22 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY_ON_WALLPAPER;
23 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_OCCLUDE;
24 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_UNOCCLUDE;
DMultiDisplayKeyguardTests.java121 private boolean isKeyguardOnDisplay(WindowManagerState windowManagerState, int displayId) { in isKeyguardOnDisplay()
122 final List<WindowManagerState.WindowState> states = in isKeyguardOnDisplay()
124 for (WindowManagerState.WindowState ws : states) { in isKeyguardOnDisplay()
DPinnedStackTests.java94 import android.server.wm.WindowManagerState.WindowStack;
227 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds()
265 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackMovementBounds()
291 final WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackOutOfBoundsInsetsNonNegative()
300 WindowManagerState.WindowState windowState = getWindowState(PIP_ACTIVITY); in testPinnedStackOutOfBoundsInsetsNonNegative()
301 WindowManagerState.Display display = wmState.getDisplay(windowState.getDisplayId()); in testPinnedStackOutOfBoundsInsetsNonNegative()
1322 WindowManagerState wmState = mAmWmState.getWmState(); in assertPinnedStackDoesNotIntersectIME()
1324 WindowManagerState.WindowState imeWinState = wmState.getInputMethodWindowState(); in assertPinnedStackDoesNotIntersectIME()
1344 final WindowManagerState.WindowState windowState = getWindowState(activityName); in assertPinnedStackActivityIsInDisplayBounds()
1345 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay( in assertPinnedStackActivityIsInDisplayBounds()
[all …]
DToastTest.java38 import android.server.wm.WindowManagerState.WindowState;
113 WindowManagerState wmState = getAmWmState().getWmState(); in testToastIsNotClickable()
DManifestLayoutTests.java36 import android.server.wm.WindowManagerState.Display;
37 import android.server.wm.WindowManagerState.WindowState;
DParentChildTestBase.java26 import android.server.wm.WindowManagerState.WindowState;
DMultiDisplaySystemDecorationTests.java58 import android.server.wm.WindowManagerState.Display;
59 import android.server.wm.WindowManagerState.WindowState;
198 private boolean isWallpaperOnDisplay(WindowManagerState windowManagerState, int displayId) { in isWallpaperOnDisplay()
721 WindowManagerState.WindowState imeWinState, ActivityDisplay display) { in assertImeWindowAndDisplayConfiguration()
DDialogFrameTests.java43 import android.server.wm.WindowManagerState.WindowState;
248 final WindowManagerState wmState = mAmWmState.getWmState(); in testDialogPlacedAboveParent()
DAnimationBackgroundTests.java31 import android.server.wm.WindowManagerState.Display;
DAppConfigurationTests.java305 final WindowManagerState.Display display = in testDialogWhenLargeSplitSmall()
849 final List<WindowManagerState.WindowState> windowList =
855 WindowManagerState.WindowState windowState = windowList.get(0);
858 WindowManagerState.Display display = mAmWmState.getWmState()
DMultiDisplayPolicyTests.java26 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE;
27 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN;
810 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in assertTopTaskSameSurfaceSizeWithDisplay()
812 final WindowManagerState.WindowTask task = in assertTopTaskSameSurfaceSizeWithDisplay()
DActivityViewTest.java142 WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in checkDisplaySize()
DKeyguardTests.java61 import android.server.wm.WindowManagerState.WindowState;
DSplitScreenTests.java30 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_OPEN;
DMultiDisplayTestBase.java248 private void waitForDisplayGone(Predicate<WindowManagerState.Display> displayPredicate) { in waitForDisplayGone()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java52 import android.server.wm.WindowManagerState.Display;
53 import android.server.wm.WindowManagerState.WindowStack;
54 import android.server.wm.WindowManagerState.WindowState;
55 import android.server.wm.WindowManagerState.WindowTask;
82 private final WindowManagerState mWmState = new WindowManagerState();
344 state -> WindowManagerState.APP_STATE_IDLE.equals( in waitForAppTransitionIdleOnDisplay()
363 public void waitForWithWmState(Predicate<WindowManagerState> waitCondition, String message) { in waitForWithWmState()
368 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor()
543 public WindowManagerState getWmState() { in getWmState()
958 final WindowManagerState.WindowState imeWinState = waitForValidProduct( in waitAndAssertImeWindowShownOnDisplay()
[all …]
DWindowManagerState.java76 public class WindowManagerState { class
342 return getMatchingWindows(WindowManagerState::isValidNavBarType) in getAllNavigationBarStates()
DActivityManagerState.java830 static abstract class ActivityContainer extends WindowManagerState.ConfigurationContainer {
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java45 import android.server.am.WindowManagerState.WindowStack;
46 import android.server.am.WindowManagerState.WindowState;
47 import android.server.am.WindowManagerState.WindowTask;
76 private WindowManagerState mWmState = new WindowManagerState();
162 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor()
310 public WindowManagerState getWmState() { in getWmState()
DActivityManagerState.java355 static abstract class ActivityContainer extends WindowManagerState.ConfigurationContainer {
DWindowManagerState.java61 public class WindowManagerState { class
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java54 import android.server.wm.WindowManagerState;
217 WindowManagerState wms = new WindowManagerState(); in waitForAppFocus()