/foundation/window/window_manager/wm/include/ |
H A D | picture_in_picture_controller.h | 51 static std::map<std::string, PiPControlType> CONTROL_TYPE_MAP = { 52 {"playbackStateChanged", PiPControlType::VIDEO_PLAY_PAUSE}, 53 {"nextVideo", PiPControlType::VIDEO_NEXT}, 54 {"previousVideo", PiPControlType::VIDEO_PREVIOUS}, 55 {"hangUp", PiPControlType::HANG_UP_BUTTON}, 56 {"micStateChanged", PiPControlType::MICROPHONE_SWITCH}, 57 {"videoStateChanged", PiPControlType::CAMERA_SWITCH}, 58 {"voiceStateChanged", PiPControlType::MUTE_SWITCH}, 59 {"fastForward", PiPControlType::FAST_FORWARD}, 60 {"fastBackward", PiPControlType [all...] |
H A D | picture_in_picture_option.h | 35 void SetPiPControlStatus(PiPControlType controlType, PiPControlStatus status); 36 void SetPiPControlEnabled(PiPControlType controlType, PiPControlStatus enabled);
|
H A D | picture_in_picture_interface.h | 55 virtual void OnControlEvent(PiPControlType controlType, PiPControlStatus status) {} in OnControlEvent()
|
H A D | picture_in_picture_manager.h | 54 static void DoControlEvent(PiPControlType controlType, PiPControlStatus status);
|
H A D | window_session_impl.h | 250 void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) override;
|
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_utils.cpp | 204 static_cast<uint32_t>(PiPControlType::VIDEO_PLAY_PAUSE)); in ExportControlType() 206 static_cast<uint32_t>(PiPControlType::VIDEO_PREVIOUS)); in ExportControlType() 208 static_cast<uint32_t>(PiPControlType::VIDEO_NEXT)); in ExportControlType() 210 static_cast<uint32_t>(PiPControlType::FAST_FORWARD)); in ExportControlType() 212 static_cast<uint32_t>(PiPControlType::FAST_BACKWARD)); in ExportControlType() 214 static_cast<uint32_t>(PiPControlType::HANG_UP_BUTTON)); in ExportControlType() 216 static_cast<uint32_t>(PiPControlType::MICROPHONE_SWITCH)); in ExportControlType() 218 static_cast<uint32_t>(PiPControlType::CAMERA_SWITCH)); in ExportControlType() 220 static_cast<uint32_t>(PiPControlType::MUTE_SWITCH)); in ExportControlType() 233 DECLARE_NAPI_PROPERTY("PiPControlType", ExportControlTyp in InitEnums() [all...] |
H A D | js_pip_window_listener.h | 40 void OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) override;
|
H A D | js_pip_window_listener.cpp | 119 void JsPiPWindowListener::OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) in OnControlEvent()
|
H A D | js_pip_controller.cpp | 248 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in OnUpdatePiPControlStatus() 286 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in OnSetPiPControlEnabled()
|
/foundation/window/window_manager/wm/test/unittest/ |
H A D | picture_in_picture_option_test.cpp | 83 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in HWTEST_F() 86 controlType = PiPControlType::END; in HWTEST_F() 100 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in HWTEST_F() 103 controlType = PiPControlType::END; in HWTEST_F()
|
H A D | picture_in_picture_controller_test.cpp | 566 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in HWTEST_F() 641 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in HWTEST_F()
|
H A D | window_session_impl_test4.cpp | 1277 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | picture_in_picture_option.cpp | 40 void PipOption::SetPiPControlStatus(PiPControlType controlType, PiPControlStatus status) in SetPiPControlStatus() 52 void PipOption::SetPiPControlEnabled(PiPControlType controlType, PiPControlStatus enabled) in SetPiPControlEnabled()
|
H A D | picture_in_picture_manager.cpp | 247 void PictureInPictureManager::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
|
H A D | picture_in_picture_controller.cpp | 494 void PictureInPictureController::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) in UpdatePiPControlStatus() 543 void PictureInPictureController::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
|
H A D | window_session_impl.cpp | 3147 PictureInPictureManager::DoControlEvent(static_cast<PiPControlType>(controlType), in SetPiPControlEvent() 3862 void WindowSessionImpl::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) in UpdatePiPControlStatus()
|
/foundation/window/window_manager/utils/include/ |
H A D | pip_report.h | 33 void ReportPiPControlEvent(int32_t templateType, PiPControlType controlType);
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 1189 static_cast<uint32_t>(PiPControlType::VIDEO_PLAY_PAUSE))); in CreateJsSessionPiPControlType() 1191 static_cast<uint32_t>(PiPControlType::VIDEO_PREVIOUS))); in CreateJsSessionPiPControlType() 1193 static_cast<uint32_t>(PiPControlType::VIDEO_NEXT))); in CreateJsSessionPiPControlType() 1195 static_cast<uint32_t>(PiPControlType::FAST_FORWARD))); in CreateJsSessionPiPControlType() 1197 static_cast<uint32_t>(PiPControlType::FAST_BACKWARD))); in CreateJsSessionPiPControlType() 1199 static_cast<uint32_t>(PiPControlType::HANG_UP_BUTTON))); in CreateJsSessionPiPControlType() 1201 static_cast<uint32_t>(PiPControlType::MICROPHONE_SWITCH))); in CreateJsSessionPiPControlType() 1203 static_cast<uint32_t>(PiPControlType::CAMERA_SWITCH))); in CreateJsSessionPiPControlType() 1205 static_cast<uint32_t>(PiPControlType::MUTE_SWITCH))); in CreateJsSessionPiPControlType()
|
/foundation/window/window_manager/utils/src/ |
H A D | pip_report.cpp | 136 void PiPReporter::ReportPiPControlEvent(int32_t templateType, PiPControlType controlType) in ReportPiPControlEvent()
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | wm_common.h | 1018 enum class PiPControlType : uint32_t { class in OHOS::Rosen::WindowType::WindowModeType::SystemBarSettingFlag 1032 PiPControlType controlType; 1037 PiPControlType controlType;
|
H A D | window.h | 1797 virtual void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) {} in UpdatePiPControlStatus()
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | window_session_property.cpp | 807 pipControlStatusInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo() 822 pipControlEnableInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo()
|