Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt265 val secondaryDisplay = createVirtualDisplay() ?: return in testEventReceiversOnMultipleDisplays() constant
266 val secondaryDisplayId = secondaryDisplay.display.displayId in testEventReceiversOnMultipleDisplays()
283 secondaryDisplay.release() in testEventReceiversOnMultipleDisplays()
291 val secondaryDisplay = createVirtualDisplay() ?: return in testBackEventHasRightDisplayId() constant
292 val secondaryDisplayId = secondaryDisplay.display.displayId in testBackEventHasRightDisplayId()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java242 final Display secondaryDisplay = in testIsUiContext_UiContextDerivedDisplayContext() local
244 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java866 final TestDisplayContent secondaryDisplay = in testDeliverIntentToTopActivityOfNonTopDisplay() local
869 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testDeliverIntentToTopActivityOfNonTopDisplay()
882 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testDeliverIntentToTopActivityOfNonTopDisplay()
906 final TestDisplayContent secondaryDisplay = in testBringTaskToFrontOnSecondaryDisplay() local
908 mRootWindowContainer.positionChildAt(POSITION_TOP, secondaryDisplay, in testBringTaskToFrontOnSecondaryDisplay()
910 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testBringTaskToFrontOnSecondaryDisplay()
927 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testBringTaskToFrontOnSecondaryDisplay()
1000 final TestDisplayContent secondaryDisplay = addNewDisplayContentAt(POSITION_BOTTOM); in testReparentTopFocusedActivityToSecondaryDisplay() local
1001 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testReparentTopFocusedActivityToSecondaryDisplay()
1013 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testReparentTopFocusedActivityToSecondaryDisplay()
[all …]
DDisplayContentTests.java594 final DisplayContent secondaryDisplay = createNewDisplay(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() local
595 final WindowState[] windows = createNotDrawnWindowsOn(secondaryDisplay, in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
599 doReturn(false).when(secondaryDisplay).supportsSystemDecorations(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
600 assertFalse(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
603 reset(secondaryDisplay); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
604 doReturn(true).when(secondaryDisplay).supportsSystemDecorations(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
605 assertTrue(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
609 assertFalse(secondaryDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
DRootWindowContainerTests.java1199 final TestDisplayContent secondaryDisplay = new TestDisplayContent.Builder(mAtm, 300, in testGetOrCreateRootTaskOnDisplayWithCandidateRootTask() local
1202 .setDisplay(secondaryDisplay).build(); in testGetOrCreateRootTaskOnDisplayWithCandidateRootTask()
DTaskLaunchParamsModifierTests.java508 final TestDisplayContent secondaryDisplay = createNewDisplayContent( in testUsesOptionsDisplayAreaFeatureIdDisplayIdNotSet() local
510 final TaskDisplayArea tdaOnSecondaryDisplay = createTaskDisplayArea(secondaryDisplay, in testUsesOptionsDisplayAreaFeatureIdDisplayIdNotSet()