/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 116 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 …]
|
D | DesktopModeLaunchParamsModifierTests.java | 164 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 …]
|
D | TestDisplayContent.java | 45 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()
|
D | RunningTasksTest.java | 69 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()
|
D | LaunchParamsModifierTestsBase.java | 51 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()
|
D | WindowProcessControllerTests.java | 102 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()
|
D | ContentRecordingControllerTests.java | 67 mVirtualDisplayContent = new TestDisplayContent.Builder(mAtm, 500, 600).build(); in setup() 187 final DisplayContent virtualDisplay = new TestDisplayContent.Builder(mAtm, 500, in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
|
D | RootWindowContainerTests.java | 749 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()
|
D | WallpaperControllerTests.java | 480 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()
|
D | SizeCompatTests.java | 192 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 …]
|
D | PhysicalDisplaySwitchTransitionLauncherTest.java | 79 mDisplayContent = new TestDisplayContent.Builder(mAtm, 100, 150).build(); in setUp()
|
D | LaunchParamsControllerTests.java | 233 final TestDisplayContent vrDisplay = createNewDisplayContent(); in testVrPreferredDisplay() 467 private TestDisplayContent createNewDisplayContent() { in createNewDisplayContent()
|
D | DualDisplayAreaGroupPolicyTest.java | 561 static class DualDisplayContent extends TestDisplayContent { 632 static class Builder extends TestDisplayContent.Builder { 639 TestDisplayContent createInternal(Display display) { in createInternal()
|
D | TransparentPolicyTest.java | 290 final TestDisplayContent.Builder builder = new TestDisplayContent.Builder(mAtm, in runTestScenario()
|
D | TaskTests.java | 674 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()
|
D | ActivityStarterTests.java | 866 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()
|
D | DisplayContentTests.java | 1959 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()
|
D | WindowTestsBase.java | 342 } 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()
|
D | LaunchParamsPersisterTests.java | 116 mTestDisplay = new TestDisplayContent.Builder(mAtm, 1000, 1500) in setUp()
|
D | ActivityTaskManagerServiceTests.java | 208 DisplayContent newDisp1 = new TestDisplayContent.Builder(mAtm, 600, 800).build(); in testDisplayWindowListener()
|
D | LetterboxUiControllerTest.java | 1694 mDisplayContent = new TestDisplayContent in setUpActivityWithComponent()
|
D | ActivityRecordTests.java | 2455 display = new TestDisplayContent.Builder(mAtm, 2000, 1000).setDensityDpi(300) in createActivityOnDisplay() 3098 final DisplayContent squareDisplay = new TestDisplayContent.Builder(mAtm, 2000, 2000) in testCloseToSquareFixedOrientation()
|