Home
last modified time | relevance | path

Searched refs:secondaryDisplay (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java804 final TestDisplayContent secondaryDisplay = in testDeliverIntentToTopActivityOfNonTopDisplay() local
807 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testDeliverIntentToTopActivityOfNonTopDisplay()
820 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testDeliverIntentToTopActivityOfNonTopDisplay()
844 final TestDisplayContent secondaryDisplay = in testBringTaskToFrontOnSecondaryDisplay() local
846 mRootWindowContainer.positionChildAt(POSITION_TOP, secondaryDisplay, in testBringTaskToFrontOnSecondaryDisplay()
848 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testBringTaskToFrontOnSecondaryDisplay()
865 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testBringTaskToFrontOnSecondaryDisplay()
942 final TestDisplayContent secondaryDisplay = addNewDisplayContentAt(POSITION_BOTTOM); in testReparentTopFocusedActivityToSecondaryDisplay() local
943 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testReparentTopFocusedActivityToSecondaryDisplay()
955 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testReparentTopFocusedActivityToSecondaryDisplay()
[all …]
H A DRootWindowContainerTests.java945 final TestDisplayContent secondaryDisplay = in testGetLaunchRootTaskWithRealCallerId() local
956 options.setLaunchDisplayId(secondaryDisplay.mDisplayId); in testGetLaunchRootTaskWithRealCallerId()
958 doReturn(true).when(mSupervisor).canPlaceEntityOnDisplay(secondaryDisplay.mDisplayId, in testGetLaunchRootTaskWithRealCallerId()
968 secondaryDisplay.mDisplayId, result.getDisplayId()); in testGetLaunchRootTaskWithRealCallerId()
974 final TestDisplayContent secondaryDisplay = new TestDisplayContent.Builder(mAtm, 300, in testGetValidLaunchRootTaskOnDisplayWithCandidateRootTask() local
977 .setDisplay(secondaryDisplay).build(); in testGetValidLaunchRootTaskOnDisplayWithCandidateRootTask()
H A DDisplayContentTests.java580 final DisplayContent secondaryDisplay = createNewDisplay(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() local
581 final WindowState[] windows = createNotDrawnWindowsOn(secondaryDisplay, in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
585 doReturn(false).when(secondaryDisplay).supportsSystemDecorations(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
586 assertFalse(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
589 reset(secondaryDisplay); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
590 doReturn(true).when(secondaryDisplay).supportsSystemDecorations(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
591 assertTrue(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
595 assertFalse(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DContextTest.java204 final Display secondaryDisplay = in testIsUiContext_UiContextDerivedDisplayContext() local
206 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()