/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootDisplayArea.java | 84 boolean placeImeContainer(DisplayArea.Tokens imeContainer) { in placeImeContainer() argument 85 final RootDisplayArea previousRoot = imeContainer.getRootDisplayArea(); in placeImeContainer() 99 imeContainer.reparent(imeDisplayAreas.get(0), POSITION_TOP); in placeImeContainer() 100 updateImeContainerForLayers(imeContainer); in placeImeContainer() 160 private void updateImeContainerForLayers(@Nullable DisplayArea.Tokens imeContainer) { in updateImeContainerForLayers() argument 162 mAreaForLayer[policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD)] = imeContainer; in updateImeContainerForLayers() 163 mAreaForLayer[policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD_DIALOG)] = imeContainer; in updateImeContainerForLayers()
|
D | DisplayAreaPolicy.java | 108 DisplayArea.Tokens imeContainer) { in instantiate() argument 118 rootHierarchy.setImeContainer(imeContainer).setTaskDisplayAreas(tdaList); in instantiate() 186 RootDisplayArea root, DisplayArea.Tokens imeContainer); in instantiate() argument
|
D | DisplayAreaPolicyBuilder.java | 491 HierarchyBuilder setImeContainer(DisplayArea.Tokens imeContainer) { in setImeContainer() argument 492 mImeContainer = imeContainer; in setImeContainer()
|
D | RecentsAnimationController.java | 620 final WindowContainer imeContainer = mDisplayContent.getImeContainer(); in attachNavigationBarToApp() local 621 if (imeContainer.isVisible()) { in attachNavigationBarToApp() 622 t.setRelativeLayer(navSurfaceControl, imeContainer.getSurfaceControl(), 1); in attachNavigationBarToApp()
|
D | Transition.java | 2235 final WindowContainer imeContainer = dc.getImeContainer(); in handleLegacyRecentsStartBehavior() local 2236 if (imeContainer.isVisible()) { in handleLegacyRecentsStartBehavior() 2237 t.setRelativeLayer(navSurfaceControl, imeContainer.getSurfaceControl(), 1); in handleLegacyRecentsStartBehavior()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InputMethodDialogWindowContextTest.java | 156 final DisplayArea.Tokens imeContainer = mSecondaryDisplay.getImeContainer(); in testGetSettingsContextOnDualDisplayContent() local 157 spyOn(imeContainer); in testGetSettingsContextOnDualDisplayContent() 158 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(mSecondaryDisplay); in testGetSettingsContextOnDualDisplayContent() 165 clearInvocations(tokenClient, imeContainer); in testGetSettingsContextOnDualDisplayContent() 166 firstDaGroup.placeImeContainer(imeContainer); in testGetSettingsContextOnDualDisplayContent() 168 verify(imeContainer, timeout(WAIT_TIMEOUT_MS)).onConfigurationChanged( in testGetSettingsContextOnDualDisplayContent() 173 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(firstDaGroup); in testGetSettingsContextOnDualDisplayContent() 179 clearInvocations(tokenClient, imeContainer); in testGetSettingsContextOnDualDisplayContent() 183 secondDaGroup.placeImeContainer(imeContainer); in testGetSettingsContextOnDualDisplayContent() 185 verify(imeContainer, timeout(WAIT_TIMEOUT_MS)).onConfigurationChanged( in testGetSettingsContextOnDualDisplayContent() [all …]
|
D | DualDisplayAreaGroupPolicyTest.java | 364 final DisplayArea.Tokens imeContainer = mDisplay.getImeContainer(); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() local 368 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(mDisplay); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 369 assertThat(mDisplay.findAreaForTokenInLayer(imeToken)).isEqualTo(imeContainer); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 387 verify(mFirstRoot).placeImeContainer(imeContainer); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 388 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(mFirstRoot); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 389 assertThat(imeContainer.getParent().asDisplayArea().mFeatureId) in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 392 assertThat(mFirstRoot.findAreaForTokenInLayer(imeToken)).isEqualTo(imeContainer); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 402 verify(mSecondRoot).placeImeContainer(imeContainer); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 403 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(mSecondRoot); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 404 assertThat(imeContainer.getParent().asDisplayArea().mFeatureId) in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() [all …]
|
D | WindowProcessControllerTests.java | 143 final DisplayArea imeContainer = display.getImeContainer(); in testDisplayAreaConfigurationListener_verifyConfig() local 146 mWpc.registerDisplayAreaConfigurationListener(imeContainer); in testDisplayAreaConfigurationListener_verifyConfig() 152 imeContainer.setBounds(resizeImeBounds); in testDisplayAreaConfigurationListener_verifyConfig() 222 final DisplayArea imeContainer = display.getImeContainer(); in testConfigurationForSecondaryScreenDisplayArea() local 223 mWpc.registerDisplayAreaConfigurationListener(imeContainer); in testConfigurationForSecondaryScreenDisplayArea() 225 assertEquals(imeContainer, mWpc.getDisplayArea()); in testConfigurationForSecondaryScreenDisplayArea() 227 expectedConfig.updateFrom(imeContainer.getConfiguration()); in testConfigurationForSecondaryScreenDisplayArea()
|
D | WindowContextListenerControllerTests.java | 264 final DisplayArea.Tokens imeContainer = dualDisplayContent.getImeContainer(); in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer() local 266 dualDisplayContent.mFirstRoot.placeImeContainer(imeContainer); in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer() 268 assertThat(imeContainer.getRootDisplayArea()).isEqualTo(dualDisplayContent.mFirstRoot); in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer() 286 assertThat(mController.getContainer(mClientToken)).isEqualTo(imeContainer); in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer()
|
D | DisplayAreaProviderTest.java | 84 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate() argument
|
D | DisplayContentTests.java | 365 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testUpdateImeParent_forceUpdateRelativeLayer() local 374 spyOn(imeContainer); in testUpdateImeParent_forceUpdateRelativeLayer() 381 verify(imeContainer).assignRelativeLayer(any(), eq(imeSurfaceParent), anyInt(), eq(true)); in testUpdateImeParent_forceUpdateRelativeLayer() 402 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testUpdateImeParent_skipForOrganizedImeContainer() local 415 imeContainer.setOrganizer(mockImeOrganizer); in testUpdateImeParent_skipForOrganizedImeContainer() 423 imeContainer.setOrganizer(null); in testUpdateImeParent_skipForOrganizedImeContainer() 428 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testImeContainerIsReparentedUnderParentWhenOrganized() local 442 imeContainer.setOrganizer(mockImeOrganizer); in testImeContainerIsReparentedUnderParentWhenOrganized() 446 SurfaceControl imeParentSurfaceControl = imeContainer.getParentSurfaceControl(); in testImeContainerIsReparentedUnderParentWhenOrganized() 447 verify(transaction).reparent(imeContainer.getSurfaceControl(), imeParentSurfaceControl); in testImeContainerIsReparentedUnderParentWhenOrganized() [all …]
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayAreaPolicyProvider.java | 77 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate() argument 81 imeContainer); in instantiate() 131 .setImeContainer(imeContainer) in instantiate()
|