/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ZOrderingTests.java | 246 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithNoTarget() 263 assertWindowHigher(mImeWindow, imeAppTarget); in testAssignWindowLayers_ForImeWithAppTarget() 265 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTarget() 284 makeWindowVisible(mImeWindow); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 292 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 316 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove() 337 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeNonAppImeTarget() 357 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForStatusBarImeTarget() 540 makeWindowVisible(mImeWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 543 assertWindowHigher(mImeWindow, mAppWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() [all …]
|
H A D | InsetsStateControllerTest.java | 150 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_independentSources() 166 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_belowIme() 171 .setFrame(mImeWindow.getFrame()); in testStripForDispatch_belowIme() 181 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_aboveIme() 199 mImeWindow.setHasSurface(true); in testStripForDispatch_imeOrderChanged() 201 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_imeOrderChanged() 232 .setFrame(mImeWindow.getFrame()); in testStripForDispatch_imeOrderChanged() 245 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_childWindow_altFocusable() 266 .setWindowContainer(mImeWindow, null, null); in testStripForDispatch_childWindow_splitScreen() 530 makeWindowVisible(mImeWindow); in testGetInsetsHintForNewControl() [all …]
|
H A D | DisplayPolicyTests.java | 442 mImeWindow.mAboveInsetsState.set(state); in testImeMinimalSourceFrame() 447 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testImeMinimalSourceFrame() 448 mImeWindow.mAttrs.setFitInsetsSides(Side.all() & ~Side.BOTTOM); in testImeMinimalSourceFrame() 449 mImeWindow.mGivenContentInsets.set(0, displayInfo.logicalHeight, 0, 0); in testImeMinimalSourceFrame() 450 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeMinimalSourceFrame() 453 displayPolicy.layoutWindowLw(mImeWindow, null, mDisplayContent.mDisplayFrames); in testImeMinimalSourceFrame() 471 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testImeInsetsGivenContentFrame() 472 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsGivenContentFrame() 474 mImeWindow.mGivenContentInsets.set(0, 10, 0, 0); in testImeInsetsGivenContentFrame() 476 displayPolicy.layoutWindowLw(mImeWindow, null, mDisplayContent.mDisplayFrames); in testImeInsetsGivenContentFrame() [all …]
|
H A D | WindowContainerTraversalTests.java | 61 verify(c).accept(eq(mImeWindow)); in testDockedDividerPosition()
|
H A D | RemoteAnimationControllerTest.java | 761 mImeWindow.mWinAnimator.mSurfaceController = mock(WindowSurfaceController.class); in testLaunchRemoteAnimationWithoutImeBehind() 762 mImeWindow.mWinAnimator.hide(mDisplayContent.getPendingTransaction(), "test"); in testLaunchRemoteAnimationWithoutImeBehind() 764 doReturn(true).when(mImeWindow.mWinAnimator.mSurfaceController).hasSurface(); in testLaunchRemoteAnimationWithoutImeBehind() 765 doReturn(true).when(mImeWindow.mWinAnimator.mSurfaceController) in testLaunchRemoteAnimationWithoutImeBehind() 767 makeWindowVisibleAndDrawn(mImeWindow); in testLaunchRemoteAnimationWithoutImeBehind() 768 assertTrue(mImeWindow.isOnScreen()); in testLaunchRemoteAnimationWithoutImeBehind() 769 assertFalse(mImeWindow.isParentWindowHidden()); in testLaunchRemoteAnimationWithoutImeBehind()
|
H A D | DisplayContentTests.java | 198 mImeWindow, in testForAllWindows() 226 mImeWindow, in testForAllWindows_WithAppImeTarget() 244 mImeWindow, in testForAllWindows_WithChildWindowImeTarget() 264 mImeWindow, in testForAllWindows_WithStatusBarImeTarget() 283 mImeWindow, in testForAllWindows_WithNotificationShadeImeTarget() 302 mImeWindow, in testForAllWindows_WithInBetweenWindowToken() 1017 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1025 newDisplay.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1037 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testInputMethodSet_listenOnDisplayAreaConfigurationChanged() 2673 makeWindowVisibleAndDrawn(imeChildWindow, mImeWindow); in testImeChildWindowFocusWhenImeLayeringTargetChanges() [all …]
|
H A D | WindowStateTests.java | 967 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_notAttached() 980 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_startingWindow() 993 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_systemDialog() 1005 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_notificationShadeShouldNotHideSystemDialog() 1049 mImeWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1053 assertTrue(mImeWindow.getInsetsState().isSourceOrDefaultVisible(navId, navigationBars())); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1057 assertTrue(mImeWindow.getInsetsState().isSourceOrDefaultVisible(navId, navigationBars())); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1180 .setWindowContainer(mImeWindow, null, null); in testNotificationShadeHasImeInsetsWhenMultiWindow()
|
H A D | ActivityRecordTests.java | 3264 makeWindowVisibleAndDrawn(app, mImeWindow); in testImeInsetsFrozenFlag_resetWhenNoImeFocusableInActivity() 3294 mImeWindow, null, null); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3295 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3325 makeWindowVisibleAndDrawn(app, mImeWindow); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3339 mImeWindow, null, null); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest() 3340 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest() 3343 makeWindowVisibleAndDrawn(app1, mImeWindow); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest()
|
H A D | WindowTestsBase.java | 172 WindowState mImeWindow; field in WindowTestsBase 341 mImeWindow = createCommonWindow(null, TYPE_INPUT_METHOD, "mImeWindow"); in addCommonWindows() 342 mDisplayContent.mInputMethodWindow = mImeWindow; in addCommonWindows()
|