Searched refs:StopPictureInPicture (Results 1 - 6 of 6) sorted by relevance
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_controller.h | 35 static napi_value StopPictureInPicture(napi_env env, napi_callback_info info);
|
H A D | js_pip_controller.cpp | 43 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 D | picture_in_picture_controller.h | 69 WMError StopPictureInPicture(bool destroyWindow, StopPipType stopPipType, bool withAnim = true);
|
/foundation/window/window_manager/wm/src/ |
H A D | picture_in_picture_manager.cpp | 215 activeController_->StopPictureInPicture(destroyWindow, currentStopType, !byPriority); in DoClose()
|
H A D | picture_in_picture_controller.cpp | 275 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 D | picture_in_picture_controller_test.cpp | 162 * @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