Home
last modified time | relevance | path

Searched refs:StopPictureInPicture (Results 1 - 6 of 6) sorted by relevance

/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_controller.h35 static napi_value StopPictureInPicture(napi_env env, napi_callback_info info);
H A Djs_pip_controller.cpp43 BindNativeFunction(env, object, "stopPiP", moduleName, JsPipController::StopPictureInPicture); in BindFunctions()
127 napi_value JsPipController::StopPictureInPicture(napi_env env, napi_callback_info info) in StopPictureInPicture() function in OHOS::Rosen::JsPipController
/foundation/window/window_manager/wm/include/
H A Dpicture_in_picture_controller.h69 WMError StopPictureInPicture(bool destroyWindow, StopPipType stopPipType, bool withAnim = true);
/foundation/window/window_manager/wm/src/
H A Dpicture_in_picture_manager.cpp215 activeController_->StopPictureInPicture(destroyWindow, currentStopType, !byPriority); in DoClose()
H A Dpicture_in_picture_controller.cpp275 WMError PictureInPictureController::StopPictureInPicture(bool destroyWindow, StopPipType stopPipType, bool withAnim) in StopPictureInPicture() function in OHOS::Rosen::PictureInPictureController
559 StopPictureInPicture(true, StopPipType::NULL_STOP, true); in RestorePictureInPictureWindow()
/foundation/window/window_manager/wm/test/unittest/
H A Dpicture_in_picture_controller_test.cpp162 * @tc.desc: StopPictureInPicture
176 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()

Completed in 7 milliseconds