Home
last modified time | relevance | path

Searched refs:getWmState (Results 1 – 25 of 25) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardTransitionTests.java65 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testUnlock()
77 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testUnlockWallpaper()
88 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testOcclude()
101 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testUnocclude()
113 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testNewActivityDuringOccluded()
125 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testOccludeManifestAttr()
138 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testOccludeAttrRemove()
163 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testNewActivityDuringOccludedWithAttr()
DMultiDisplayKeyguardTests.java87 isKeyguardOnDisplay(mAmWmState.getWmState(), publicDisplay.mId)); in testShowKeyguardDialogOnSecondaryDisplay()
93 isKeyguardOnDisplay(mAmWmState.getWmState(), publicDisplay.mId)); in testShowKeyguardDialogOnSecondaryDisplay()
115 isKeyguardOnDisplay(mAmWmState.getWmState(), publicDisplay.mId)); in testNoKeyguardDialogOnPrivateDisplay()
117 isKeyguardOnDisplay(mAmWmState.getWmState(), privateDisplay.mId)); in testNoKeyguardDialogOnPrivateDisplay()
DAppConfigurationTests.java306 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
363 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testNonfullscreenAppOrientationRequests()
485 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testNonFullscreenActivityPermitted()
500 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testTaskCloseRestoreFixedOrientation()
516 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testTaskCloseRestoreFixedOrientation()
532 final int initialServerOrientation = mAmWmState.getWmState().getLastOrientation(); in testTaskCloseRestoreFreeOrientation()
547 initialServerOrientation, mAmWmState.getWmState().getLastOrientation()); in testTaskCloseRestoreFreeOrientation()
564 initialServerOrientation, mAmWmState.getWmState().getLastOrientation()); in testTaskCloseRestoreFreeOrientation()
671 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testTaskMoveToBackOrientation()
687 0 /* landscape */, mAmWmState.getWmState().getLastOrientation()); in testTaskMoveToBackOrientation()
[all …]
DMultiDisplayPolicyTests.java116 mAmWmState.getWmState().containsWindow(getWindowName(TEST_ACTIVITY))); in testContentDestroyOnDisplayRemoved()
118 mAmWmState.getWmState().containsWindow(getWindowName(RESIZEABLE_ACTIVITY))); in testContentDestroyOnDisplayRemoved()
230 final int initialRotation = mAmWmState.getWmState().getRotation(); in testRotationNotAffectingSecondaryScreen()
774 mAmWmState.getWmState().containsWindow(TOAST_NAME)); in testSecondaryDisplayShowToast()
776 mAmWmState.getWmState().isWindowVisible(TOAST_NAME)); in testSecondaryDisplayShowToast()
810 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in assertTopTaskSameSurfaceSizeWithDisplay()
811 final int stackId = mAmWmState.getWmState().getFrontStackId(displayId); in assertTopTaskSameSurfaceSizeWithDisplay()
813 mAmWmState.getWmState().getStack(stackId).mTasks.get(0); in assertTopTaskSameSurfaceSizeWithDisplay()
842 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY).getLastTransition()); in testAppTransitionForActivityOnDifferentDisplay()
853 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY).getLastTransition()); in testAppTransitionForActivityOnDifferentDisplay()
[all …]
DAnimationBackgroundTests.java60 assertTrue("window animation background needs to be showing", mAmWmState.getWmState() in testAnimationBackground_duringAnimation()
76 assertFalse("window animation background needs to be gone", mAmWmState.getWmState() in testAnimationBackground_gone()
84 final Display display = mAmWmState.getWmState().getDisplay(displayId); in assumeActivityNotInFreeformDisplay()
DDialogFrameTests.java83 mAmWmState.getWmState().getMatchingVisibleWindowState(windowName); in getSingleWindow()
220 assertEquals(dialog.getName(), mAmWmState.getWmState().getFocusedWindow()) in testDialogReceivesFocus()
227 assertEquals(parent.getName(), mAmWmState.getWmState().getFocusedWindow()) in testNoFocusDialog()
248 final WindowManagerState wmState = mAmWmState.getWmState(); in testDialogPlacedAboveParent()
DSplashscreenTests.java44 mAmWmState.getWmState().getStableBounds(); in testSplashscreenContent()
48 assertColors(image, mAmWmState.getWmState().getStableBounds(), in testSplashscreenContent()
DMultiDisplaySystemDecorationTests.java155 isWallpaperOnDisplay(mAmWmState.getWmState(), decoredSystemDisplay.mId)); in testWallpaperShowOnSecondaryDisplays()
158 isWallpaperOnDisplay(mAmWmState.getWmState(), untrustedDisplay.mId)); in testWallpaperShowOnSecondaryDisplays()
227 final List<WindowState> expected = mAmWmState.getWmState().getAllNavigationBarStates(); in testNavBarNotShowingOnDisplayWithoutDecor()
246 final List<WindowState> expected = mAmWmState.getWmState().getAllNavigationBarStates(); in testNavBarNotShowingOnPrivateDisplay()
272 final List<WindowState> result = mAmWmState.getWmState().getAllNavigationBarStates(); in waitAndAssertNavBarStatesAreTheSame()
504 final Display defDisplay = mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY); in testImeWindowCanSwitchWhenTopFocusedDisplayChange()
619 final Display defDisplay = mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY); in testImeWindowCanShownWhenActivityMovedToDisplay()
DSplitScreenTests.java490 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testMinimizeAndUnminimizeThenGoingHome()
496 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testMinimizeAndUnminimizeThenGoingHome()
600 final Rect fullScreenBounds = mAmWmState.getWmState().getStandardStackByWindowingMode( in testActivityLifeCycleOnResizeDockedStack()
608 final Rect initialDockBounds = mAmWmState.getWmState().getStandardStackByWindowingMode( in testActivityLifeCycleOnResizeDockedStack()
694 assertTrue(mAmWmState.getWmState().isDockedStackMinimized()); in assertDockMinimized()
708 assertFalse(mAmWmState.getWmState().isDockedStackMinimized()); in assertDockNotMinimized()
DFreeformWindowingModeTests.java103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
123 mAmWmState.getWmState().getDisplay(displayId).getDpi(); in testActivityLifeCycleOnResizeFreeformTask()
DManifestLayoutTests.java175 mAmWmState.getWmState().getMatchingVisibleWindowState(windowName); in getDisplayAndWindowState()
183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DPinnedStackTests.java227 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds()
241 wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds()
265 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackMovementBounds()
279 wmState = mAmWmState.getWmState(); in testPinnedStackMovementBounds()
291 final WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackOutOfBoundsInsetsNonNegative()
978 assertEquals(ORIENTATION_LANDSCAPE, mAmWmState.getWmState().getLastOrientation()); in testSetRequestedOrientationWhilePinned()
1275 final Rect displayRect = mAmWmState.getWmState().getDisplay(stack.mDisplayId) in offsetPipWithinMovementBounds()
1322 WindowManagerState wmState = mAmWmState.getWmState(); in assertPinnedStackDoesNotIntersectIME()
1345 final WindowManagerState.Display display = mAmWmState.getWmState().getDisplay( in assertPinnedStackActivityIsInDisplayBounds()
1471 mAmWmState.getWmState().getMatchingVisibleWindowState(windowName); in getWindowState()
DReplaceWindowTests.java100 mAmWmState.getWmState().getMatchingWindowTokens(windowName); in getWindowToken()
DActivityViewTest.java140 mAmWmState.getWmState().computeState(); in checkDisplaySize()
142 WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in checkDisplaySize()
DToastTest.java113 WindowManagerState wmState = getAmWmState().getWmState(); in testToastIsNotClickable()
DTransitionSelectionTests.java317 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testTransitionSelection()
DAlertWindowsTests.java148 final WindowManagerState wmState = mAmWmState.getWmState(); in assertAlertWindows()
DKeyguardTests.java144 assertTrue(mAmWmState.getWmState().allWindowsVisible( in testShowWhenLockedActivity_withDialog()
564 mAmWmState.getWmState().findFirstWindowWithType(TYPE_WALLPAPER); in assertWallpaperShowing()
DMultiDisplayTestBase.java244 final Rect bounds = mAmWmState.getWmState().getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenter()
251 if (!mAmWmState.getWmState().getDisplays().stream().anyMatch(displayPredicate::test)) { in waitForDisplayGone()
DConfigChangeTests.java169 final int currentRotation = mAmWmState.getWmState().getRotation(); in getLifecycleCountsForRotation()
DWindowInsetsPolicyTest.java125 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY) in testForcedConsumedTopInsets()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java354 final WindowState ws = getWmState().getAndAssertSingleNavBarWindowOnDisplay(displayId); in waitAndAssertNavBarShownOnDisplay()
543 public WindowManagerState getWmState() { in getWmState() method in ActivityAndWindowManagersState
690 final Display display = getWmState().getDisplay(DEFAULT_DISPLAY); in assertDeviceDefaultDisplaySize()
954 assertTrue(windowName + "is visible", getWmState().isWindowVisible(windowName)); in assertWindowDisplayed()
968 final WindowManagerState wmState = getWmState(); in getImeWindowState()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleFreeformTests.java169 mAmWmState.getWmState().containsWindow( in testLaunchOccludingInFreeform()
230 mAmWmState.getWmState().containsWindow( in testLaunchTranslucentInFreeform()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java485 mAmWmState.getWmState().computeState(); in waitForActivityFocused()
489 mAmWmState.getWmState().computeState(); in waitForActivityFocused()
494 mAmWmState.getWmState().computeState(); in waitForActivityFocused()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java310 public WindowManagerState getWmState() { in getWmState() method in ActivityAndWindowManagersState