Home
last modified time | relevance | path

Searched refs:StopPipType (Results 1 - 4 of 4) sorted by relevance

/foundation/window/window_manager/wm/src/
H A Dpicture_in_picture_manager.cpp209 StopPipType currentStopType = StopPipType::NULL_STOP; in DoClose()
211 currentStopType = StopPipType::USER_STOP; in DoClose()
213 currentStopType = StopPipType::OTHER_PACKAGE_STOP; in DoClose()
H A Dpicture_in_picture_controller.cpp253 SingletonContainer::Get<PiPReporter>().ReportPiPStopWindow(static_cast<int32_t>(StopPipType::USER_STOP), in StopPictureInPictureFromClient()
260 SingletonContainer::Get<PiPReporter>().ReportPiPStopWindow(static_cast<int32_t>(StopPipType::USER_STOP), in StopPictureInPictureFromClient()
267 SingletonContainer::Get<PiPReporter>().ReportPiPStopWindow(static_cast<int32_t>(StopPipType::USER_STOP), in StopPictureInPictureFromClient()
275 WMError PictureInPictureController::StopPictureInPicture(bool destroyWindow, StopPipType stopPipType, bool withAnim) in StopPictureInPicture()
308 WMError PictureInPictureController::StopPictureInPictureInner(StopPipType stopType, bool withAnim) in StopPictureInPictureInner()
559 StopPictureInPicture(true, StopPipType::NULL_STOP, true); in RestorePictureInPictureWindow()
/foundation/window/window_manager/wm/include/
H A Dpicture_in_picture_controller.h44 enum class StopPipType : uint32_t { class
69 WMError StopPictureInPicture(bool destroyWindow, StopPipType stopPipType, bool withAnim = true);
114 WMError StopPictureInPictureInner(StopPipType stopType, bool withAnim);
/foundation/window/window_manager/wm/test/unittest/
H A Dpicture_in_picture_controller_test.cpp176 ASSERT_EQ(WMError::WM_ERROR_PIP_STATE_ABNORMALLY, pipControl->StopPictureInPicture(true, StopPipType::NULL_STOP)); in HWTEST_F()
179 ASSERT_EQ(WMError::WM_ERROR_PIP_REPEAT_OPERATION, pipControl->StopPictureInPicture(true, StopPipType::NULL_STOP)); in HWTEST_F()
182 ASSERT_EQ(WMError::WM_ERROR_PIP_REPEAT_OPERATION, pipControl->StopPictureInPicture(true, StopPipType::NULL_STOP)); in HWTEST_F()
184 ASSERT_EQ(WMError::WM_ERROR_PIP_STATE_ABNORMALLY, pipControl->StopPictureInPicture(false, StopPipType::NULL_STOP)); in HWTEST_F()
187 ASSERT_EQ(WMError::WM_ERROR_PIP_STATE_ABNORMALLY, pipControl->StopPictureInPicture(true, StopPipType::NULL_STOP)); in HWTEST_F()
192 ASSERT_EQ(WMError::WM_OK, pipControl->StopPictureInPicture(false, StopPipType::NULL_STOP)); in HWTEST_F()
198 ASSERT_EQ(WMError::WM_OK, pipControl->StopPictureInPicture(true, StopPipType::NULL_STOP)); in HWTEST_F()
1110 pipControl->StopPictureInPictureInner(StopPipType::NULL_STOP, true); in HWTEST_F()
1114 pipControl->StopPictureInPictureInner(StopPipType::NULL_STOP, true)); in HWTEST_F()
1117 pipControl->StopPictureInPictureInner(StopPipType in HWTEST_F()
[all...]

Completed in 5 milliseconds