/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ZOrderingTests.java | 245 assertWindowHigher(mImeWindow, mChildAppWindowAbove); in testAssignWindowLayers_ForImeWithNoTarget() 246 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithNoTarget() 247 assertWindowHigher(mNavBarWindow, mImeWindow); in testAssignWindowLayers_ForImeWithNoTarget() 248 assertWindowHigher(mStatusBarWindow, mImeWindow); in testAssignWindowLayers_ForImeWithNoTarget() 251 assertWindowHigher(mImeDialogWindow, mImeWindow); in testAssignWindowLayers_ForImeWithNoTarget() 263 assertWindowHigher(mImeWindow, imeAppTarget); in testAssignWindowLayers_ForImeWithAppTarget() 264 assertWindowHigher(mImeWindow, mChildAppWindowAbove); in testAssignWindowLayers_ForImeWithAppTarget() 265 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTarget() 266 assertWindowHigher(mNavBarWindow, mImeWindow); in testAssignWindowLayers_ForImeWithAppTarget() 267 assertWindowHigher(mStatusBarWindow, mImeWindow); in testAssignWindowLayers_ForImeWithAppTarget() [all …]
|
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() 541 makeWindowVisible(mImeWindow); in testGetInsetsHintForNewControl() [all …]
|
D | DisplayPolicyTests.java | 503 mImeWindow.mAboveInsetsState.set(state); in testImeMinimalSourceFrame() 508 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testImeMinimalSourceFrame() 509 mImeWindow.mAttrs.setFitInsetsSides(Side.all() & ~Side.BOTTOM); in testImeMinimalSourceFrame() 510 mImeWindow.mGivenContentInsets.set(0, displayInfo.logicalHeight, 0, 0); in testImeMinimalSourceFrame() 511 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeMinimalSourceFrame() 514 displayPolicy.layoutWindowLw(mImeWindow, null, mDisplayContent.mDisplayFrames); in testImeMinimalSourceFrame() 532 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testImeInsetsGivenContentFrame() 533 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsGivenContentFrame() 535 mImeWindow.mGivenContentInsets.set(0, 10, 0, 0); in testImeInsetsGivenContentFrame() 537 displayPolicy.layoutWindowLw(mImeWindow, null, mDisplayContent.mDisplayFrames); in testImeInsetsGivenContentFrame() [all …]
|
D | WindowContainerTraversalTests.java | 61 verify(c).accept(eq(mImeWindow)); in testDockedDividerPosition()
|
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()
|
D | DisplayContentTests.java | 197 mImeWindow, in testForAllWindows() 225 mImeWindow, in testForAllWindows_WithAppImeTarget() 243 mImeWindow, in testForAllWindows_WithChildWindowImeTarget() 263 mImeWindow, in testForAllWindows_WithStatusBarImeTarget() 282 mImeWindow, in testForAllWindows_WithNotificationShadeImeTarget() 301 mImeWindow, in testForAllWindows_WithInBetweenWindowToken() 1012 mDisplayContent.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1020 newDisplay.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1686 assertTrue(asyncRotationController.isTargetToken(mImeWindow.mToken)); in testApplyTopFixedRotationTransform() 1687 assertTrue(mImeWindow.mToken.hasFixedRotationTransform()); in testApplyTopFixedRotationTransform() [all …]
|
D | WindowStateTests.java | 1012 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_notAttached() 1025 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_startingWindow() 1038 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_systemDialog() 1050 makeWindowVisible(mImeWindow); in testNeedsRelativeLayeringToIme_notificationShadeShouldNotHideSystemDialog() 1094 mImeWindow.mAboveInsetsState.addSource(navSource); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1098 assertTrue(mImeWindow.getInsetsState().isSourceOrDefaultVisible(navId, navigationBars())); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1102 assertTrue(mImeWindow.getInsetsState().isSourceOrDefaultVisible(navId, navigationBars())); in testImeAlwaysReceivesVisibleNavigationBarInsets() 1225 .setWindowContainer(mImeWindow, null, null); in testNotificationShadeHasImeInsetsWhenMultiWindow()
|
D | InsetsPolicyTest.java | 448 mImeWindow.mHasSurface = true; in testConsumeImeInsets() 458 assertTrue(mImeWindow.isVisible()); in testConsumeImeInsets()
|
D | ActivityRecordTests.java | 3220 makeWindowVisibleAndDrawn(app, mImeWindow); in testImeInsetsFrozenFlag_resetWhenNoImeFocusableInActivity() 3250 mImeWindow, null, null); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3251 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3281 makeWindowVisibleAndDrawn(app, mImeWindow); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget() 3295 mImeWindow, null, null); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest() 3296 mImeWindow.getControllableInsetProvider().setServerVisible(true); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest() 3299 makeWindowVisibleAndDrawn(app1, mImeWindow); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest()
|
D | WindowTestsBase.java | 183 WindowState mImeWindow; field in WindowTestsBase 364 mImeWindow = createCommonWindow(null, TYPE_INPUT_METHOD, "mImeWindow"); in addCommonWindows() 365 mDisplayContent.mInputMethodWindow = mImeWindow; in addCommonWindows()
|