Searched refs:virtualDisplaySession (Results 1 – 8 of 8) sorted by relevance
96 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogSecondaryDisplayChange() local98 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogSecondaryDisplayChange()107 virtualDisplaySession.resizeDisplay(); in testShowKeyguardDialogSecondaryDisplayChange()118 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogDefaultDisplayChange() local124 final DisplayContent publicDisplay = virtualDisplaySession in testShowKeyguardDialogDefaultDisplayChange()154 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testNoKeyguardDialogOnPrivateDisplay() local157 virtualDisplaySession.setPublicDisplay(false).createDisplay(); in testNoKeyguardDialogOnPrivateDisplay()159 virtualDisplaySession.setPublicDisplay(true).createDisplay(); in testNoKeyguardDialogOnPrivateDisplay()169 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock() local173 final DisplayContent secondDisplay = virtualDisplaySession in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock()[all …]
89 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved() argument91 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved() argument132 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()153 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayResize() local155 final DisplayContent newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()169 virtualDisplaySession.resizeDisplay(); in testDisplayResize()468 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in tryCreatingAndRemovingDisplayWithActivity() argument470 final DisplayContent newDisplay = virtualDisplaySession in tryCreatingAndRemovingDisplayWithActivity()534 private void validateStackFocusSwitchOnStackEmptied(VirtualDisplaySession virtualDisplaySession, in validateStackFocusSwitchOnStackEmptied() argument[all …]
159 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove() local165 final DisplayContent newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
89 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testWallpaperGetDisplayContext() local93 final DisplayContent newDisplay = virtualDisplaySession in testWallpaperGetDisplayContext()
147 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays() argument149 virtualDisplaySession.createDisplays(3); in testCreateMultipleVirtualDisplays()202 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration() argument203 final DisplayContent displayContent = virtualDisplaySession in getDisplayResourcesConfiguration()
73 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testPresentationNotDismissAfterResizeDisplay() local74 WindowManagerState.DisplayContent display = virtualDisplaySession in testPresentationNotDismissAfterResizeDisplay()86 virtualDisplaySession.resizeDisplay(); in testPresentationNotDismissAfterResizeDisplay()
701 VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in assertDisplayContextDoesntChangeOrientationWhenRotating() local702 WindowManagerState.DisplayContent displayContent = virtualDisplaySession in assertDisplayContextDoesntChangeOrientationWhenRotating()
803 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays() argument806 = virtualDisplaySession.setSimulateDisplay(true).createDisplay(); in testTopPositionSwitchAcrossDisplays()