Home
last modified time | relevance | path

Searched refs:TestDisplayContent (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java116 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testUsesPreviousDisplayAreaIfSet()
127 final TestDisplayContent freeformDisplay = createNewDisplayContent( in testUsesSourcesDisplayAreaIfSet()
129 final TestDisplayContent fullscreenDisplay = createNewDisplayContent( in testUsesSourcesDisplayAreaIfSet()
144 final TestDisplayContent freeformDisplay = createNewDisplayContent( in testUsesOptionsDisplayIdIfSet()
146 final TestDisplayContent fullscreenDisplay = createNewDisplayContent( in testUsesOptionsDisplayIdIfSet()
164 final TestDisplayContent freeformDisplay = createNewDisplayContent( in testUsesOptionsDisplayAreaTokenIfSet()
166 final TestDisplayContent fullscreenDisplay = createNewDisplayContent( in testUsesOptionsDisplayAreaTokenIfSet()
185 final TestDisplayContent freeformDisplay = createNewDisplayContent( in testUsesOptionsDisplayAreaFeatureIdIfSet()
187 final TestDisplayContent fullscreenDisplay = createNewDisplayContent( in testUsesOptionsDisplayAreaFeatureIdIfSet()
207 final TestDisplayContent freeformDisplay = createNewDisplayContent( in testUsesSourcesDisplayAreaIdPriorToTaskIfSet()
[all …]
DDesktopModeLaunchParamsModifierTests.java164 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testUsesDesiredBoundsIfEmptyLayoutAndActivityOptionsBounds()
182 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyActivityOptionsBounds()
198 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_CenterToDisplay()
213 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_LeftGravity()
228 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_TopGravity()
243 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_TopLeftGravity()
258 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_RightGravity()
273 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_BottomGravity()
288 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutBounds_RightBottomGravity()
303 final TestDisplayContent display = createNewDisplayContent(WINDOWING_MODE_FULLSCREEN); in testNonEmptyLayoutFractionBounds()
[all …]
DTestDisplayContent.java45 class TestDisplayContent extends DisplayContent { class
50 TestDisplayContent(RootWindowContainer rootWindowContainer, Display display, in TestDisplayContent() method in TestDisplayContent
188 TestDisplayContent createInternal(Display display) { in createInternal()
189 return new TestDisplayContent(mService.mRootWindowContainer, display, in createInternal()
192 TestDisplayContent build() { in build()
204 final TestDisplayContent newDisplay = createInternal(display); in build()
DRunningTasksTest.java69 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testTaskInfo_expectNoExtrasByDefault()
94 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testTaskInfo_expectExtrasWithKeepExtraFlag()
121 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testGetTasksSortByFocusAndVisibility()
188 final DisplayContent display0 = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testMultipleDisplays()
189 final DisplayContent display1 = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testMultipleDisplays()
DLaunchParamsModifierTestsBase.java51 TestDisplayContent createNewDisplayContent(int windowingMode) { in createNewDisplayContent()
55 TestDisplayContent createNewDisplayContent(int windowingMode, Rect displayBounds, in createNewDisplayContent()
57 final TestDisplayContent display = addNewDisplayContentAt(DisplayContent.POSITION_TOP); in createNewDisplayContent()
DWindowProcessControllerTests.java102 final TestDisplayContent testDisplayContent1 = createTestDisplayContentInContainer(); in testDisplayAreaConfigurationListener()
109 final TestDisplayContent testDisplayContent2 = createTestDisplayContentInContainer(); in testDisplayAreaConfigurationListener()
138 final DisplayContent display = new TestDisplayContent.Builder( in testDisplayAreaConfigurationListener_verifyConfig()
164 final TestDisplayContent testDisplayContent1 = createTestDisplayContentInContainer(); in testDestroy_unregistersDisplayAreaListener()
220 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 2000, 1000) in testConfigurationForSecondaryScreenDisplayArea()
492 private TestDisplayContent createTestDisplayContentInContainer() { in createTestDisplayContentInContainer()
493 return new TestDisplayContent.Builder(mAtm, 1000, 1500).build(); in createTestDisplayContentInContainer()
DContentRecordingControllerTests.java67 mVirtualDisplayContent = new TestDisplayContent.Builder(mAtm, 500, 600).build(); in setup()
187 final DisplayContent virtualDisplay = new TestDisplayContent.Builder(mAtm, 500, in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
DRootWindowContainerTests.java749 final TestDisplayContent secondDisplay = addNewDisplayContentAt( in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
821 final TestDisplayContent secondDisplay = addNewDisplayContentAt( in testResumeFocusedRootTasksStartsHomeActivity_ActivityOnSecondaryScreen()
894 final TestDisplayContent secondDisplay = in testStartHomeOnAllDisplays()
895 new TestDisplayContent.Builder(mAtm, 1000, 1500) in testStartHomeOnAllDisplays()
972 final TestDisplayContent secondDisplay = in testStartSecondaryHomeOnDisplayWithUserKeyLocked()
973 new TestDisplayContent.Builder(mAtm, 1000, 1500) in testStartSecondaryHomeOnDisplayWithUserKeyLocked()
997 final TestDisplayContent secondDisplay = in testStartSecondaryHomeOnDisplayWithoutSysDecorations()
998 new TestDisplayContent.Builder(mAtm, 1000, 1500) in testStartSecondaryHomeOnDisplayWithoutSysDecorations()
1199 final TestDisplayContent secondaryDisplay = new TestDisplayContent.Builder(mAtm, 300, in testGetOrCreateRootTaskOnDisplayWithCandidateRootTask()
DWallpaperControllerTests.java480 final DisplayContent dc = new TestDisplayContent.Builder(mAtm, INITIAL_WIDTH, in testUpdateWallpaperOffset_initial_shouldCenterDisabled()
496 final DisplayContent dc = new TestDisplayContent.Builder(mAtm, INITIAL_WIDTH, in testUpdateWallpaperOffset_initial_shouldCenterEnabled()
513 final DisplayContent dc = new TestDisplayContent.Builder(mAtm, INITIAL_WIDTH, in testUpdateWallpaperOffset_resize_shouldCenterEnabled()
534 final DisplayContent dc = new TestDisplayContent.Builder(mAtm, INITIAL_WIDTH, in testUpdateWallpaperOffset_resize_shouldCenterDisabled()
DSizeCompatTests.java192 final TestDisplayContent.Builder builder = new TestDisplayContent.Builder(mAtm, dw, dh); in setUpDisplaySizeWithApp()
348 final TestDisplayContent display = new TestDisplayContent.Builder(mAtm, dw, dh) in testRepositionLandscapeImmersiveAppWithDisplayCutout()
424 setUpApp(new TestDisplayContent.Builder(mAtm, 600, 800).setNotch(notchHeight).build()); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
480 new TestDisplayContent.Builder(mAtm, 1000, 2000) in testFixedScreenConfigurationWhenMovingToDisplay()
656 setUpApp(new TestDisplayContent.Builder(mAtm, 1000, 2000).build()); in testAspectRatioMatchParentBoundsAndImeAttachable()
687 final DisplayContent newDisplay = new TestDisplayContent.Builder(mAtm, 2000, 1000) in testMoveToDifferentOrientationDisplay()
728 setUpApp(new TestDisplayContent.Builder(mAtm, width, 2500) in testFixedOrientationRotateCutoutDisplay()
1340 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1400, dh) in testOverrideMinAspectRatioLowerThanManifest()
1643 setUpApp(new TestDisplayContent.Builder(mAtm, dw, dh).setNotch(notchHeight).build());
2934 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1400, 2800)
[all …]
DPhysicalDisplaySwitchTransitionLauncherTest.java79 mDisplayContent = new TestDisplayContent.Builder(mAtm, 100, 150).build(); in setUp()
DLaunchParamsControllerTests.java233 final TestDisplayContent vrDisplay = createNewDisplayContent(); in testVrPreferredDisplay()
467 private TestDisplayContent createNewDisplayContent() { in createNewDisplayContent()
DDualDisplayAreaGroupPolicyTest.java561 static class DualDisplayContent extends TestDisplayContent {
632 static class Builder extends TestDisplayContent.Builder {
639 TestDisplayContent createInternal(Display display) { in createInternal()
DTransparentPolicyTest.java290 final TestDisplayContent.Builder builder = new TestDisplayContent.Builder(mAtm, in runTestScenario()
DTaskTests.java674 final DisplayContent display = new TestDisplayContent.Builder(mAtm, in testFullscreenBoundsForcedOrientation()
745 final DisplayContent display = new TestDisplayContent.Builder(mAtm, in testReportsOrientationRequestInLetterboxForOrientation()
772 DisplayContent display = new TestDisplayContent.Builder( in testIgnoresForcedOrientationWhenParentHandles()
805 TestDisplayContent display = new TestDisplayContent.Builder( in testComputeConfigResourceOverrides()
877 TestDisplayContent display = new TestDisplayContent.Builder( in testComputeConfigResourceLayoutOverrides()
DActivityStarterTests.java866 final TestDisplayContent secondaryDisplay = in testDeliverIntentToTopActivityOfNonTopDisplay()
867 new TestDisplayContent.Builder(mAtm, 1000, 1500) in testDeliverIntentToTopActivityOfNonTopDisplay()
906 final TestDisplayContent secondaryDisplay = in testBringTaskToFrontOnSecondaryDisplay()
907 new TestDisplayContent.Builder(mAtm, 1000, 1500).build(); in testBringTaskToFrontOnSecondaryDisplay()
1000 final TestDisplayContent secondaryDisplay = addNewDisplayContentAt(POSITION_BOTTOM); in testReparentTopFocusedActivityToSecondaryDisplay()
DDisplayContentTests.java1959 return new TestDisplayContent.Builder(mAtm, secondaryDisplayInfo) in createSecondaryDisplayContent()
2500 new TestDisplayContent.Builder(mAtm, 1000, 2000).build(); in testRotateBounds_keepSamePhysicalPosition()
2544 final DisplayContent testDisplayContent = new TestDisplayContent.Builder(mAtm, displayWidth, in testCreateTestDisplayContentFromDimensions()
2588 testDisplayInfo.logicalDensityDpi = TestDisplayContent.DEFAULT_LOGICAL_DISPLAY_DENSITY; in testCreateTestDisplayContentFromDisplayInfo()
2589 final DisplayContent testDisplayContent = new TestDisplayContent.Builder(mAtm, in testCreateTestDisplayContentFromDisplayInfo()
2596 assertEquals(TestDisplayContent.DEFAULT_LOGICAL_DISPLAY_DENSITY, di.logicalDensityDpi); in testCreateTestDisplayContentFromDisplayInfo()
2622 final DisplayContent display = new TestDisplayContent.Builder( in testNotResumeHomeRootTaskOnRemovingDisplay()
DWindowTestsBase.java342 } else if (!sOverridesCheckedTestDisplay && mDisplayContent instanceof TestDisplayContent) { in checkDeviceSpecificOverridesNotApplied()
949 new TestDisplayContent.Builder(mAtm, info) in createNewDisplay()
1191 TestDisplayContent addNewDisplayContentAt(int position) { in addNewDisplayContentAt()
1192 return new TestDisplayContent.Builder(mAtm, 1000, 1500).setPosition(position).build(); in addNewDisplayContentAt()
DLaunchParamsPersisterTests.java116 mTestDisplay = new TestDisplayContent.Builder(mAtm, 1000, 1500) in setUp()
DActivityTaskManagerServiceTests.java208 DisplayContent newDisp1 = new TestDisplayContent.Builder(mAtm, 600, 800).build(); in testDisplayWindowListener()
DLetterboxUiControllerTest.java1694 mDisplayContent = new TestDisplayContent in setUpActivityWithComponent()
DActivityRecordTests.java2455 display = new TestDisplayContent.Builder(mAtm, 2000, 1000).setDensityDpi(300) in createActivityOnDisplay()
3098 final DisplayContent squareDisplay = new TestDisplayContent.Builder(mAtm, 2000, 2000) in testCloseToSquareFixedOrientation()