Home
last modified time | relevance | path

Searched refs:PiPControlType (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/include/
H A Dpicture_in_picture_controller.h48 static std::map<std::string, PiPControlType> CONTROL_TYPE_MAP = {
49 {"playbackStateChanged", PiPControlType::VIDEO_PLAY_PAUSE},
50 {"nextVideo", PiPControlType::VIDEO_NEXT},
51 {"previousVideo", PiPControlType::VIDEO_PREVIOUS},
52 {"hangUp", PiPControlType::HANG_UP_BUTTON},
53 {"micStateChanged", PiPControlType::MICROPHONE_SWITCH},
54 {"videoStateChanged", PiPControlType::CAMERA_SWITCH},
55 {"voiceStateChanged", PiPControlType::MUTE_SWITCH},
56 {"fastForward", PiPControlType::FAST_FORWARD},
57 {"fastBackward", PiPControlType::FAST_BACKWARD}
[all …]
H A Dpicture_in_picture_option.h35 void SetPiPControlStatus(PiPControlType controlType, PiPControlStatus status);
36 void SetPiPControlEnabled(PiPControlType controlType, PiPControlStatus enabled);
H A Dpicture_in_picture_interface.h55 virtual void OnControlEvent(PiPControlType controlType, PiPControlStatus status) {} in OnControlEvent()
H A Dpicture_in_picture_manager.h53 static void DoControlEvent(PiPControlType controlType, PiPControlStatus status);
H A Dwindow_session_impl.h249 void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) override;
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_utils.cpp204 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()
H A Djs_pip_window_listener.h40 void OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) override;
H A Djs_pip_window_listener.cpp119 void JsPiPWindowListener::OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) in OnControlEvent()
H A Djs_pip_controller.cpp243 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in OnUpdatePiPControlStatus()
281 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; in OnSetPiPControlEnabled()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-pipWindow.md441 ## PiPControlType<sup>12+</sup>
632 updatePiPControlStatus(controlType: PiPControlType, status: PiPControlStatus): void
658 let controlType: PiPWindow.PiPControlType = PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE; // 视频播放控制面板中…
664 setPiPControlEnabled(controlType: PiPControlType, enabled: boolean): void
676 | controlType | [PiPControlType](#pipcontroltype12) | 是 | 表示画中画控制面板控件类型。 |
690 let controlType: PiPWindow.PiPControlType = PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE; // 视频播放控制面板中…
835 case PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE:
842 case PiPWindow.PiPControlType.VIDEO_NEXT:
845 case PiPWindow.PiPControlType.VIDEO_PREVIOUS:
848 case PiPWindow.PiPControlType.FAST_FORWARD:
[all …]
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dpicture_in_picture_option_test.cpp83 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
86 controlType = PiPControlType::END;
100 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
103 controlType = PiPControlType::END;
H A Dpicture_in_picture_controller_test.cpp567 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
642 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
H A Dwindow_session_impl_test4.cpp1221 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dpicture_in_picture_option.cpp39 void PipOption::SetPiPControlStatus(PiPControlType controlType, PiPControlStatus status) in SetPiPControlStatus()
51 void PipOption::SetPiPControlEnabled(PiPControlType controlType, PiPControlStatus enabled) in SetPiPControlEnabled()
H A Dpicture_in_picture_manager.cpp244 void PictureInPictureManager::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
H A Dpicture_in_picture_controller.cpp468 void PictureInPictureController::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatu… in UpdatePiPControlStatus()
517 void PictureInPictureController::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
H A Dwindow_session_impl.cpp3271 PictureInPictureManager::DoControlEvent(static_cast<PiPControlType>(controlType), in SetPiPControlEvent()
4010 void WindowSessionImpl::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) in UpdatePiPControlStatus()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-pipWindow.md441 ## PiPControlType<sup>12+</sup>
632 updatePiPControlStatus(controlType: PiPControlType, status: PiPControlStatus): void
658 let controlType: PiPWindow.PiPControlType = PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE; // Play/Paus…
664 setPiPControlEnabled(controlType: PiPControlType, enabled: boolean): void
676 | controlType | [PiPControlType](#pipcontroltype12) | Yes | Type of the component displayed on th…
690 let controlType: PiPWindow.PiPControlType = PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE; // Play/Paus…
835 case PiPWindow.PiPControlType.VIDEO_PLAY_PAUSE:
842 case PiPWindow.PiPControlType.VIDEO_NEXT:
845 case PiPWindow.PiPControlType.VIDEO_PREVIOUS:
848 case PiPWindow.PiPControlType.FAST_FORWARD:
[all …]
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dpip_report.h32 void ReportPiPControlEvent(int32_t templateType, PiPControlType controlType);
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.cpp1213 static_cast<uint32_t>(PiPControlType::VIDEO_PLAY_PAUSE))); in CreateJsSessionPiPControlType()
1215 static_cast<uint32_t>(PiPControlType::VIDEO_PREVIOUS))); in CreateJsSessionPiPControlType()
1217 static_cast<uint32_t>(PiPControlType::VIDEO_NEXT))); in CreateJsSessionPiPControlType()
1219 static_cast<uint32_t>(PiPControlType::FAST_FORWARD))); in CreateJsSessionPiPControlType()
1221 static_cast<uint32_t>(PiPControlType::FAST_BACKWARD))); in CreateJsSessionPiPControlType()
1223 static_cast<uint32_t>(PiPControlType::HANG_UP_BUTTON))); in CreateJsSessionPiPControlType()
1225 static_cast<uint32_t>(PiPControlType::MICROPHONE_SWITCH))); in CreateJsSessionPiPControlType()
1227 static_cast<uint32_t>(PiPControlType::CAMERA_SWITCH))); in CreateJsSessionPiPControlType()
1229 static_cast<uint32_t>(PiPControlType::MUTE_SWITCH))); in CreateJsSessionPiPControlType()
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dpip_report.cpp136 void PiPReporter::ReportPiPControlEvent(int32_t templateType, PiPControlType controlType) in ReportPiPControlEvent()
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h1061 enum class PiPControlType : uint32_t { enum
1075 PiPControlType controlType;
1080 PiPControlType controlType;
H A Dwindow.h1859 virtual void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) {} in UpdatePiPControlStatus()
/ohos5.0/foundation/window/window_manager/window_scene/common/src/
H A Dwindow_session_property.cpp827 pipControlStatusInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo()
842 pipControlEnableInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo()