Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java734 final TestActivityDisplay secondaryDisplay = spy(createNewActivityDisplay()); in testDeliverIntentToTopActivityOfNonTopDisplay() local
735 mRootActivityContainer.addChild(secondaryDisplay, POSITION_BOTTOM); in testDeliverIntentToTopActivityOfNonTopDisplay()
736 final ActivityStack stack = secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testDeliverIntentToTopActivityOfNonTopDisplay()
748 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testDeliverIntentToTopActivityOfNonTopDisplay()
758 verify(secondaryDisplay, times(1)).createStack(anyInt(), anyInt(), anyBoolean()); in testDeliverIntentToTopActivityOfNonTopDisplay()
772 final TestActivityDisplay secondaryDisplay = spy(createNewActivityDisplay()); in testBringTaskToFrontOnSecondaryDisplay() local
773 mRootActivityContainer.addChild(secondaryDisplay, POSITION_TOP); in testBringTaskToFrontOnSecondaryDisplay()
775 secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testBringTaskToFrontOnSecondaryDisplay()
779 final ActivityStack topStack = secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testBringTaskToFrontOnSecondaryDisplay()
786 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testBringTaskToFrontOnSecondaryDisplay()
[all …]
DRootActivityContainerTests.java832 final TestActivityDisplay secondaryDisplay = createNewActivityDisplay(info); in testGetLaunchStackWithRealCallerId() local
833 mRootActivityContainer.addChild(secondaryDisplay, POSITION_TOP); in testGetLaunchStackWithRealCallerId()
842 options.setLaunchDisplayId(secondaryDisplay.mDisplayId); in testGetLaunchStackWithRealCallerId()
844 doReturn(true).when(mSupervisor).canPlaceEntityOnDisplay(secondaryDisplay.mDisplayId, in testGetLaunchStackWithRealCallerId()
853 secondaryDisplay.mDisplayId, result.mDisplayId); in testGetLaunchStackWithRealCallerId()