Searched refs:getWmState (Results 1 – 25 of 25) sorted by relevance
65 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()
87 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()
306 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 …]
116 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 …]
60 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()
83 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()
44 mAmWmState.getWmState().getStableBounds(); in testSplashscreenContent()48 assertColors(image, mAmWmState.getWmState().getStableBounds(), in testSplashscreenContent()
155 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()
490 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()
103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()123 mAmWmState.getWmState().getDisplay(displayId).getDpi(); in testActivityLifeCycleOnResizeFreeformTask()
175 mAmWmState.getWmState().getMatchingVisibleWindowState(windowName); in getDisplayAndWindowState()183 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
227 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()
100 mAmWmState.getWmState().getMatchingWindowTokens(windowName); in getWindowToken()
140 mAmWmState.getWmState().computeState(); in checkDisplaySize()142 WindowManagerState.Display display = mAmWmState.getWmState().getDisplay(displayId); in checkDisplaySize()
113 WindowManagerState wmState = getAmWmState().getWmState(); in testToastIsNotClickable()
317 mAmWmState.getWmState().getDefaultDisplayLastTransition()); in testTransitionSelection()
148 final WindowManagerState wmState = mAmWmState.getWmState(); in assertAlertWindows()
144 assertTrue(mAmWmState.getWmState().allWindowsVisible( in testShowWhenLockedActivity_withDialog()564 mAmWmState.getWmState().findFirstWindowWithType(TYPE_WALLPAPER); in assertWallpaperShowing()
244 final Rect bounds = mAmWmState.getWmState().getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenter()251 if (!mAmWmState.getWmState().getDisplays().stream().anyMatch(displayPredicate::test)) { in waitForDisplayGone()
169 final int currentRotation = mAmWmState.getWmState().getRotation(); in getLifecycleCountsForRotation()
125 mAmWmState.getWmState().getDisplay(DEFAULT_DISPLAY) in testForcedConsumedTopInsets()
354 final WindowState ws = getWmState().getAndAssertSingleNavBarWindowOnDisplay(displayId); in waitAndAssertNavBarShownOnDisplay()543 public WindowManagerState getWmState() { in getWmState() method in ActivityAndWindowManagersState690 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()
169 mAmWmState.getWmState().containsWindow( in testLaunchOccludingInFreeform()230 mAmWmState.getWmState().containsWindow( in testLaunchTranslucentInFreeform()
485 mAmWmState.getWmState().computeState(); in waitForActivityFocused()489 mAmWmState.getWmState().computeState(); in waitForActivityFocused()494 mAmWmState.getWmState().computeState(); in waitForActivityFocused()
310 public WindowManagerState getWmState() { in getWmState() method in ActivityAndWindowManagersState