Home
last modified time | relevance | path

Searched refs:ABOVE_TASKS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaTest.java36 import static com.android.server.wm.DisplayArea.Type.ABOVE_TASKS;
103 assertEquals(ABOVE_TASKS, typeOf(new DisplayArea<>(mWm, ABOVE_TASKS, "test"))); in testType_typeOf()
107 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_APPLICATION_OVERLAY))); in testType_typeOf()
108 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_PRESENTATION))); in testType_typeOf()
119 checkSiblings(BELOW_TASKS, ABOVE_TASKS); in testType_checkSiblings()
120 checkSiblings(ANY, ABOVE_TASKS); in testType_checkSiblings()
121 checkSiblings(ABOVE_TASKS, ABOVE_TASKS); in testType_checkSiblings()
124 assertThrows(IllegalStateException.class, () -> checkSiblings(ABOVE_TASKS, BELOW_TASKS)); in testType_checkSiblings()
125 assertThrows(IllegalStateException.class, () -> checkSiblings(ABOVE_TASKS, ANY)); in testType_checkSiblings()
132 checkChild(ANY, ABOVE_TASKS); in testType_checkChild()
[all …]
DDisplayAreaPolicyTests.java25 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()
240 final DisplayArea.Tokens ime = new DisplayArea.Tokens(mWm, ABOVE_TASKS, "Ime"); in createPolicyWith2TaskDisplayAreas()
DDisplayAreaPolicyBuilderTest.java40 import static com.android.server.wm.DisplayArea.Type.ABOVE_TASKS;
108 mImeContainer = new DisplayArea.Tokens(mWms, ABOVE_TASKS, "ImeContainer"); in setup()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java752 ABOVE_TASKS, enumConstant
761 checkState(!(bottom == ABOVE_TASKS && top != ABOVE_TASKS), in checkSiblings()
767 case ABOVE_TASKS: in checkChild()
768 checkState(child == ABOVE_TASKS, "ABOVE_TASKS can only contain ABOVE_TASKS"); in checkChild()
789 return c.getWindowLayerFromType() < APPLICATION_LAYER ? BELOW_TASKS : ABOVE_TASKS; in typeOf()
DDisplayAreaPolicyBuilder.java945 type = DisplayArea.Type.ABOVE_TASKS; in createArea()
DDisplayContent.java5126 super(wms, Type.ABOVE_TASKS, "ImeContainer", FEATURE_IME); in ImeContainer()