/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaTest.java | 36 import static com.android.server.wm.DisplayArea.Type.ABOVE_TASKS; 37 import static com.android.server.wm.DisplayArea.Type.ANY; 38 import static com.android.server.wm.DisplayArea.Type.BELOW_TASKS; 39 import static com.android.server.wm.DisplayArea.Type.checkChild; 40 import static com.android.server.wm.DisplayArea.Type.checkSiblings; 41 import static com.android.server.wm.DisplayArea.Type.typeOf; 95 DisplayArea<WindowContainer> parent = new DisplayArea<>(mWm, BELOW_TASKS, "Parent"); in testDisplayArea_positionChanged_throwsIfIncompatibleChild() 96 DisplayArea<WindowContainer> child = new DisplayArea<>(mWm, ANY, "Child"); in testDisplayArea_positionChanged_throwsIfIncompatibleChild() 103 assertEquals(ABOVE_TASKS, typeOf(new DisplayArea<>(mWm, ABOVE_TASKS, "test"))); in testType_typeOf() 104 assertEquals(ANY, typeOf(new DisplayArea<>(mWm, ANY, "test"))); in testType_typeOf() [all …]
|
D | DisplayAreaPolicyBuilderTest.java | 40 import static com.android.server.wm.DisplayArea.Type.ABOVE_TASKS; 95 private DisplayArea.Tokens mImeContainer; 108 mImeContainer = new DisplayArea.Tokens(mWms, ABOVE_TASKS, "ImeContainer"); in setup() 171 List<DisplayArea<?>> actualOrder = collectLeafAreas(mRoot); in testBuilder() 172 Map<DisplayArea<?>, Set<Integer>> zSets = calculateZSets(policy, mImeContainer, in testBuilder() 176 Map<DisplayArea<?>, Integer> expectedByMinLayer = mapValues(zSets, in testBuilder() 178 Map<DisplayArea<?>, Integer> expectedByMaxLayer = mapValues(zSets, in testBuilder() 263 .setNewDisplayAreaSupplier(DisplayArea.Dimmable::new) in testBuilder_createCustomizedDisplayAreaForFeature() 275 List<DisplayArea<? extends WindowContainer>> dimmableDAs = in testBuilder_createCustomizedDisplayAreaForFeature() 277 List<DisplayArea<? extends WindowContainer>> otherDAs = in testBuilder_createCustomizedDisplayAreaForFeature() [all …]
|
D | DisplayAreaPolicyTests.java | 25 import static com.android.server.wm.DisplayArea.Type.ABOVE_TASKS; 140 final DisplayArea.Tokens ime = new DisplayArea.Tokens(wms, ABOVE_TASKS, "Ime"); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition() 199 final DisplayArea.Tokens ime = new DisplayArea.Tokens(wms, ABOVE_TASKS, "Ime"); in testTaskDisplayAreasCanHostHomeTask() 218 Optional<DisplayArea> optionalDisplayArea = policy.mRoot.mChildren in assertTaskDisplayAreaPresentAndCanHaveHome() 240 final DisplayArea.Tokens ime = new DisplayArea.Tokens(mWm, ABOVE_TASKS, "Ime"); in createPolicyWith2TaskDisplayAreas()
|
D | DualDisplayAreaGroupPolicyTest.java | 345 final DisplayArea.Tokens imeContainer = mDisplay.getImeContainer(); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 395 final DisplayArea.Tokens imeContainer = mDisplay.getImeContainer(); in testPlaceImeContainer_hidesImeWhenParentChanges() 430 final DisplayArea.Tokens imeContainer = mDisplay.getImeContainer(); in testPlaceImeContainer_skipReparentForOrganizedImeContainer() 527 DisplayArea da = getDisplayArea(rootFeatureId); in getGroupRoot() 533 DisplayArea da = getDisplayArea(tdaFeatureId); in getTaskDisplayArea() 538 DisplayArea getDisplayArea(int featureId) { in getDisplayArea() 539 final DisplayArea displayArea = in getDisplayArea() 603 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate() 615 .setNewDisplayAreaSupplier(DisplayArea.Dimmable::new) in instantiate()
|
D | DisplayAreaOrganizerTest.java | 65 private DisplayArea mTestDisplayArea; 73 mTestDisplayArea = new DisplayArea(mWm, DisplayArea.Type.ANY, in setUp()
|
D | DisplayAreaProviderTest.java | 84 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate()
|
D | WindowProcessControllerTests.java | 101 final DisplayArea imeContainer1 = testDisplayContent1.getImeContainer(); in testDisplayAreaConfigurationListener() 108 final DisplayArea imeContainer2 = testDisplayContent2.getImeContainer(); in testDisplayAreaConfigurationListener() 141 final DisplayArea imeContainer = display.getImeContainer(); in testDisplayAreaConfigurationListener_verifyConfig() 205 final DisplayArea imeContainer = display.getImeContainer(); in testConfigurationForSecondaryScreenDisplayArea()
|
D | WindowContextListenerControllerTests.java | 199 final DisplayArea<?> da = windowContextCreatedToken.getDisplayArea(); in testWindowContextCreatedWindowTokenRemoved_SwitchToListenToDA() 223 final DisplayArea.Tokens imeContainer = dualDisplayContent.getImeContainer(); in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer()
|
D | InputMethodDialogWindowContextTest.java | 142 final DisplayArea.Tokens imeContainer = mSecondaryDisplay.getImeContainer(); in testGetSettingsContextOnDualDisplayContent()
|
D | WindowContainerTests.java | 48 import static com.android.server.wm.DisplayArea.Type.ANY; 983 final DisplayArea displayArea = new DisplayArea(mWm, ANY, "DisplayArea"); in testGetDisplayArea()
|
D | DisplayContentTests.java | 361 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testUpdateImeParent_forceUpdateRelativeLayer() 398 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testUpdateImeParent_skipForOrganizedImeContainer() 424 final DisplayArea.Tokens imeContainer = mDisplayContent.getImeContainer(); in testImeContainerIsReparentedUnderParentWhenOrganized() 1975 final List<DisplayArea<?>> windowedMagnificationAreas = in testValidWindowingLayer()
|
D | WindowOrganizerTests.java | 503 final DisplayArea displayArea = mDisplayContent.getDefaultTaskDisplayArea(); in testDisplayAreaTransaction() 521 final DisplayArea displayArea = mDisplayContent.getDefaultTaskDisplayArea(); in testSetWindowingMode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootDisplayArea.java | 40 class RootDisplayArea extends DisplayArea.Dimmable { 49 Map<Feature, List<DisplayArea<WindowContainer>>> mFeatureToDisplayAreas; 52 private DisplayArea.Tokens[] mAreaForLayer; 80 void placeImeContainer(DisplayArea.Tokens imeContainer) { in placeImeContainer() 87 List<DisplayArea<WindowContainer>> imeDisplayAreas = in placeImeContainer() 114 DisplayArea.Tokens findAreaForTokenInLayer(WindowToken token) { in findAreaForTokenInLayer() 121 DisplayArea.Tokens findAreaForWindowTypeInLayer(int windowType, boolean ownerCanManageAppTokens, in findAreaForWindowTypeInLayer() 133 void onHierarchyBuilt(ArrayList<Feature> features, DisplayArea.Tokens[] areaForLayer, in onHierarchyBuilt() 134 Map<Feature, List<DisplayArea<WindowContainer>>> featureToDisplayAreas) { in onHierarchyBuilt() 144 private void updateImeContainerForLayers(@Nullable DisplayArea.Tokens imeContainer) { in updateImeContainerForLayers()
|
D | DisplayAreaPolicyBuilder.java | 449 private DisplayArea.Tokens mImeContainer; 472 HierarchyBuilder setImeContainer(DisplayArea.Tokens imeContainer) { in setImeContainer() 489 final DisplayArea.Tokens[] displayAreaForLayer = in build() 490 new DisplayArea.Tokens[maxWindowLayerCount]; in build() 491 final Map<Feature, List<DisplayArea<WindowContainer>>> featureAreas = in build() 639 DisplayArea create(WindowManagerService wms, DisplayArea.Type type, String name, in create() 682 private NewDisplayAreaSupplier mNewDisplayAreaSupplier = DisplayArea::new; 818 DisplayArea.Tokens area = findAreaForToken(token); in addWindow() 823 DisplayArea.Tokens findAreaForToken(WindowToken token) { in findAreaForToken() 829 public DisplayArea.Tokens findAreaForWindowType(int type, Bundle options, in findAreaForWindowType() [all …]
|
D | DisplayArea.java | 71 public class DisplayArea<T extends WindowContainer> extends WindowContainer<T> { class 90 DisplayArea(WindowManagerService wms, Type type, String name) { in DisplayArea() method in DisplayArea 94 DisplayArea(WindowManagerService wms, Type type, String name, int featureId) { in DisplayArea() method in DisplayArea 281 private int findPositionForChildDisplayArea(int requestPosition, DisplayArea child) { in findPositionForChildDisplayArea() 308 private int findMaxPositionForChildDisplayArea(DisplayArea child) { in findMaxPositionForChildDisplayArea() 318 private int findMinPositionForChildDisplayArea(DisplayArea child) { in findMinPositionForChildDisplayArea() 379 final DisplayArea<?> childArea = getChildAt(i).asDisplayArea(); in dumpChildDisplayArea() 403 final DisplayArea asDisplayArea() { in asDisplayArea() 408 DisplayArea.Tokens asTokens() { in asTokens() 413 void forAllDisplayAreas(Consumer<DisplayArea> callback) { in forAllDisplayAreas() [all …]
|
D | DisplayAreaPolicy.java | 78 public abstract DisplayArea.Tokens findAreaForWindowType(int type, Bundle options, in findAreaForWindowType() 84 public abstract List<DisplayArea<? extends WindowContainer>> getDisplayAreas(int featureId); in getDisplayAreas() 99 DisplayArea.Tokens imeContainer) { in instantiate() 129 .setNewDisplayAreaSupplier(DisplayArea.Dimmable::new) in configureTrustedHierarchyBuilder() 177 RootDisplayArea root, DisplayArea.Tokens imeContainer); in instantiate()
|
D | DisplayAreaOrganizerController.java | 22 import static com.android.server.wm.DisplayArea.Type.ANY; 283 void onDisplayAreaAppeared(IDisplayAreaOrganizer organizer, DisplayArea da) { in onDisplayAreaAppeared() 294 void onDisplayAreaVanished(IDisplayAreaOrganizer organizer, DisplayArea da) { in onDisplayAreaVanished() 307 void onDisplayAreaInfoChanged(IDisplayAreaOrganizer organizer, DisplayArea da) { in onDisplayAreaInfoChanged() 317 DisplayArea displayArea, String callsite) { in organizeDisplayArea() 332 final DisplayArea topTaskContainer = root.getItemFromDisplayAreas(da -> { in createTaskDisplayArea()
|
D | InputMonitor.java | 605 final DisplayArea targetDA = in accept() 620 final DisplayArea targetDA = rootTask.getDisplayArea(); in accept()
|
D | WindowContextListenerController.java | 333 final DisplayArea<?> da = dc.findAreaForToken(windowToken); in onRemoved()
|
D | WindowProcessController.java | 212 private DisplayArea mDisplayArea; 485 DisplayArea getDisplayArea() { in getDisplayArea() 1296 void registerDisplayAreaConfigurationListener(@Nullable DisplayArea displayArea) { in registerDisplayAreaConfigurationListener()
|
D | WindowContainer.java | 1056 DisplayArea getDisplayArea() { in getDisplayArea() 2280 void forAllDisplayAreas(Consumer<DisplayArea> callback) { in forAllDisplayAreas() 2395 <R> R getItemFromDisplayAreas(Function<DisplayArea, R> callback) { in getItemFromDisplayAreas() argument 3701 DisplayArea asDisplayArea() { in asDisplayArea()
|
D | TransitionController.java | 507 void collectForDisplayAreaChange(@NonNull DisplayArea<?> wc) { in collectForDisplayAreaChange()
|
D | DisplayContent.java | 1257 final List<DisplayArea<? extends WindowContainer>> areas = in configureSurfaces() 1259 final DisplayArea<?> area = areas.size() == 1 ? areas.get(0) : null; in configureSurfaces() 1347 final DisplayArea.Tokens da = findAreaForToken(token).asTokens(); in addWindowToken() 5122 private static class ImeContainer extends DisplayArea.Tokens { 5584 DisplayArea.Tokens getImeContainer() { in getImeContainer() 6793 DisplayArea findAreaForWindowType(int windowType, Bundle options, in findAreaForWindowType() 6821 DisplayArea findAreaForToken(WindowToken windowToken) { in findAreaForToken()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayAreaPolicyProvider.java | 77 RootDisplayArea root, DisplayArea.Tokens imeContainer) { in instantiate()
|
/frameworks/base/core/proto/android/server/ |
D | windowmanagerservice.proto | 235 /* represents DisplayArea object */ 248 /* represents a generic child of a DisplayArea */ 254 /* represents a DisplayArea child */ 525 /* represents a DisplayArea child */
|