Home
last modified time | relevance | path

Searched refs:imeContainer (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRootDisplayArea.java84 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()
DDisplayAreaPolicy.java108 DisplayArea.Tokens imeContainer) { in instantiate() argument
118 rootHierarchy.setImeContainer(imeContainer).setTaskDisplayAreas(tdaList); in instantiate()
186 RootDisplayArea root, DisplayArea.Tokens imeContainer); in instantiate() argument
DDisplayAreaPolicyBuilder.java491 HierarchyBuilder setImeContainer(DisplayArea.Tokens imeContainer) { in setImeContainer() argument
492 mImeContainer = imeContainer; in setImeContainer()
DRecentsAnimationController.java620 final WindowContainer imeContainer = mDisplayContent.getImeContainer(); in attachNavigationBarToApp() local
621 if (imeContainer.isVisible()) { in attachNavigationBarToApp()
622 t.setRelativeLayer(navSurfaceControl, imeContainer.getSurfaceControl(), 1); in attachNavigationBarToApp()
DTransition.java2235 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/
DInputMethodDialogWindowContextTest.java156 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 …]
DDualDisplayAreaGroupPolicyTest.java364 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 …]
DWindowProcessControllerTests.java143 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()
DWindowContextListenerControllerTests.java264 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()
DDisplayAreaProviderTest.java84 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate() argument
DDisplayContentTests.java365 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/
DCarDisplayAreaPolicyProvider.java77 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate() argument
81 imeContainer); in instantiate()
131 .setImeContainer(imeContainer) in instantiate()