Searched refs:onPrepared (Results 1 - 11 of 11) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_event_hub.h | 94 void SetOnPrepared(VideoEventCallback&& onPrepared) in SetOnPrepared() argument 96 onPrepared_ = std ::move(onPrepared); in SetOnPrepared() 102 auto onPrepared = onPrepared_; in FirePreparedEvent() local 103 onPrepared(param); in FirePreparedEvent()
|
H A D | video_model_ng.h | 42 void SetOnPrepared(VideoEventFunc&& onPrepared) override;
|
H A D | video_model.h | 48 virtual void SetOnPrepared(VideoEventFunc&& onPrepared) = 0;
|
H A D | video_model_ng.cpp | 167 void VideoModelNG::SetOnPrepared(VideoEventFunc&& onPrepared) in SetOnPrepared() argument 173 eventHub->SetOnPrepared(std::move(onPrepared)); in SetOnPrepared()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | video_model_impl.h | 41 void SetOnPrepared(VideoEventFunc&& onPrepared) override;
|
H A D | video_model_impl.cpp | 138 void VideoModelImpl::SetOnPrepared(VideoEventFunc&& onPrepared) in SetOnPrepared() argument 143 EventMarker([func = std::move(onPrepared)](const std::string& param) { func(param); })); in SetOnPrepared()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | media_player_impl.cpp | 73 auto onPrepared = [uiTaskExecutor, weak = WeakClaim(this)](uint32_t width, uint32_t height, bool isPlaying, in InitListener() local 119 player_->AddPreparedListener(onPrepared); in InitListener()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_video.cpp | 272 auto onPrepared = [execCtx = info.GetExecutionContext(), func = std::move(jsFunc), node = targetNode]( in JsOnPrepared() local 275 ACE_SCORING_EVENT("Video.onPrepared"); in JsOnPrepared() 280 VideoModel::GetInstance()->SetOnPrepared(std::move(onPrepared)); in JsOnPrepared() 408 JSClass<JSVideo>::StaticMethod("onPrepared", &JSVideo::JsOnPrepared); in JSBind()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/video/ |
H A D | video_test_ng.cpp | 582 VideoEventCallback onPrepared = [&preparedCheck]( in HWTEST_F() local 584 videoEventHub->SetOnPrepared(std::move(onPrepared)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 1023 auto onPrepared = [videoElement, uiTaskExecutor](uint32_t width, uint32_t height, bool isPlaying, uint32_t duration, in InitListener() local 1072 player_->AddPreparedListener(onPrepared); in InitListener() 1236 LOGI("video onPrepared event: %s ", param.c_str()); in OnPrepared()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 15255 onPrepared(callback) {
|
Completed in 29 milliseconds