Searched refs:mDwpcHelper (Results 1 – 8 of 8) sorted by relevance
70 assertTrue(mSecondaryDisplay.mDwpcHelper.hasController()); in setUp()129 assertFalse(mSecondaryDisplay.mDwpcHelper.hasController()); in testIsWindowingModeSupported_noController_returnTrueForAnyWindowingMode()131 assertTrue(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_noController_returnTrueForAnyWindowingMode()133 mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_FULLSCREEN)); in testIsWindowingModeSupported_noController_returnTrueForAnyWindowingMode()138 assertFalse(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_withoutSettingSupportedMode_returnFalse()144 mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_FULLSCREEN)); in testIsWindowingModeSupported_withoutSupportedMode_defaultSupportFullScreen()154 assertTrue(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_setPinnedMode_returnTrue()202 assertFalse(mSecondaryDisplay.mDwpcHelper.hasController()); in testCanActivityBeLaunched_requiredDisplayCategory()
470 spyOn(mDisplayContent.mDwpcHelper); in testRelayoutFlagChanges()471 when(mDisplayContent.mDwpcHelper.hasController()).thenReturn(true); in testRelayoutFlagChanges()501 verify(mDisplayContent.mDwpcHelper).keepActivityOnWindowFlagsChanged( in testRelayoutFlagChanges()
2347 spyOn(mDisplayContent.mDwpcHelper); in testCheckEnterPictureInPictureState_displayNotSupportedPip()2348 doReturn(false).when(mDisplayContent.mDwpcHelper).isEnteringPipAllowed(anyInt()); in testCheckEnterPictureInPictureState_displayNotSupportedPip()
813 DisplayWindowPolicyControllerHelper mDwpcHelper; field in DisplayContent2183 if (mDwpcHelper == null) { in canShowTasksInHostDeviceRecents()2186 return mDwpcHelper.canShowTasksInHostDeviceRecents(); in canShowTasksInHostDeviceRecents()2193 if (!isHomeSupported() || mDwpcHelper == null) { in getCustomHomeComponent()2196 return mDwpcHelper.getCustomHomeComponent(); in getCustomHomeComponent()2996 mDwpcHelper = new DisplayWindowPolicyControllerHelper(this); in initializeDisplayBaseInfo()3761 mDwpcHelper.dump(prefix, pw); in dump()4017 mDwpcHelper.onRunningActivityChanged(); in onRunningActivityChanged()
432 return displayContent.mDwpcHelper.canContainActivities(activities, in canPlaceEntityOnDisplay()
2083 if (!displayContent.mDwpcHelper in isAllowedToStart()
2441 if (displayContent.mDwpcHelper.hasController() in relayoutWindowInner()2448 if (!displayContent.mDwpcHelper.keepActivityOnWindowFlagsChanged( in relayoutWindowInner()
3430 if (mDisplayContent != null && !mDisplayContent.mDwpcHelper.isEnteringPipAllowed( in checkEnterPictureInPictureState()