Searched refs:secondaryDisplay (Results 1 – 4 of 4) sorted by relevance
804 final TestDisplayContent secondaryDisplay = in testDeliverIntentToTopActivityOfNonTopDisplay() local807 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testDeliverIntentToTopActivityOfNonTopDisplay()820 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testDeliverIntentToTopActivityOfNonTopDisplay()844 final TestDisplayContent secondaryDisplay = in testBringTaskToFrontOnSecondaryDisplay() local846 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() local943 final TaskDisplayArea secondaryTaskContainer = secondaryDisplay.getDefaultTaskDisplayArea(); in testReparentTopFocusedActivityToSecondaryDisplay()955 .setLaunchDisplayId(secondaryDisplay.mDisplayId); in testReparentTopFocusedActivityToSecondaryDisplay()[all …]
945 final TestDisplayContent secondaryDisplay = in testGetLaunchRootTaskWithRealCallerId() local956 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() local977 .setDisplay(secondaryDisplay).build(); in testGetValidLaunchRootTaskOnDisplayWithCandidateRootTask()
580 final DisplayContent secondaryDisplay = createNewDisplay(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() local581 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()
204 final Display secondaryDisplay = in testIsUiContext_UiContextDerivedDisplayContext() local206 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()