/ohos5.0/foundation/window/window_manager/wm/include/ |
H A D | picture_in_picture_controller.h | 48 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 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 | 53 static void DoControlEvent(PiPControlType controlType, PiPControlStatus status);
|
H A D | window_session_impl.h | 249 void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) override;
|
/ohos5.0/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()
|
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 | 243 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 D | js-apis-pipWindow.md | 441 ## 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 D | picture_in_picture_option_test.cpp | 83 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; 86 controlType = PiPControlType::END; 100 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; 103 controlType = PiPControlType::END;
|
H A D | picture_in_picture_controller_test.cpp | 567 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE; 642 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
|
H A D | window_session_impl_test4.cpp | 1221 auto controlType = PiPControlType::VIDEO_PLAY_PAUSE;
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | picture_in_picture_option.cpp | 39 void PipOption::SetPiPControlStatus(PiPControlType controlType, PiPControlStatus status) in SetPiPControlStatus() 51 void PipOption::SetPiPControlEnabled(PiPControlType controlType, PiPControlStatus enabled) in SetPiPControlEnabled()
|
H A D | picture_in_picture_manager.cpp | 244 void PictureInPictureManager::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
|
H A D | picture_in_picture_controller.cpp | 468 void PictureInPictureController::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatu… in UpdatePiPControlStatus() 517 void PictureInPictureController::DoControlEvent(PiPControlType controlType, PiPControlStatus status) in DoControlEvent()
|
H A D | window_session_impl.cpp | 3271 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 D | js-apis-pipWindow.md | 441 ## 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 D | pip_report.h | 32 void ReportPiPControlEvent(int32_t templateType, PiPControlType controlType);
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 1213 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 D | pip_report.cpp | 136 void PiPReporter::ReportPiPControlEvent(int32_t templateType, PiPControlType controlType) in ReportPiPControlEvent()
|
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | wm_common.h | 1061 enum class PiPControlType : uint32_t { enum 1075 PiPControlType controlType; 1080 PiPControlType controlType;
|
H A D | window.h | 1859 virtual void UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status) {} in UpdatePiPControlStatus()
|
/ohos5.0/foundation/window/window_manager/window_scene/common/src/ |
H A D | window_session_property.cpp | 827 pipControlStatusInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo() 842 pipControlEnableInfo.controlType = static_cast<PiPControlType>(controlType); in UnmarshallingPiPTemplateInfo()
|