Home
last modified time | relevance | path

Searched refs:WindowManagerState (Results 1 – 22 of 22) 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.java90 import android.server.wm.WindowManagerState.WindowStack;
222 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds()
260 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackMovementBounds()
286 final WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackOutOfBoundsInsetsNonNegative()
295 WindowManagerState.WindowState windowState = getWindowState(PIP_ACTIVITY); in testPinnedStackOutOfBoundsInsetsNonNegative()
296 WindowManagerState.Display display = wmState.getDisplay(windowState.getDisplayId()); in testPinnedStackOutOfBoundsInsetsNonNegative()
1292 WindowManagerState wmState = mAmWmState.getWmState(); in assertPinnedStackDoesNotIntersectIME()
1294 WindowManagerState.WindowState imeWinState = wmState.getInputMethodWindowState(); in assertPinnedStackDoesNotIntersectIME()
1314 final WindowManagerState.WindowState windowState = getWindowState(activityName); in assertPinnedStackActivityIsInDisplayBounds()
1315 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay( in assertPinnedStackActivityIsInDisplayBounds()
[all …]
DManifestLayoutTests.java36 import android.server.wm.WindowManagerState.Display;
37 import android.server.wm.WindowManagerState.WindowState;
DParentChildTestBase.java26 import android.server.wm.WindowManagerState.WindowState;
DAnimationBackgroundTests.java31 import android.server.wm.WindowManagerState.Display;
DDialogFrameTests.java43 import android.server.wm.WindowManagerState.WindowState;
248 final WindowManagerState wmState = mAmWmState.getWmState(); in testDialogPlacedAboveParent()
DMultiDisplaySystemDecorationTests.java57 import android.server.wm.WindowManagerState.Display;
58 import android.server.wm.WindowManagerState.WindowState;
196 private boolean isWallpaperOnDisplay(WindowManagerState windowManagerState, int displayId) { in isWallpaperOnDisplay()
665 WindowManagerState.WindowState imeWinState, ActivityDisplay display) { in assertImeWindowAndDisplayConfiguration()
DAppConfigurationTests.java305 final WindowManagerState.Display display = in testDialogWhenLargeSplitSmall()
843 final List<WindowManagerState.WindowState> windowList =
849 WindowManagerState.WindowState windowState = windowList.get(0);
852 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;
807 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in assertTopTaskSameSurfaceSizeWithDisplay()
809 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;
/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;
189 WindowManagerState wms = new WindowManagerState(); in waitForAppFocus()