/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | image_event.h | 94 class ACE_EXPORT LoadImageFailEvent : public BaseEventInfo { 95 DECLARE_RELATIONSHIP_OF_CLASSES(LoadImageFailEvent, BaseEventInfo); 98 LoadImageFailEvent(double componentWidth, double componentHeight, std::string errorMessage) in LoadImageFailEvent() function 101 ~LoadImageFailEvent() override = default;
|
H A D | render_image.cpp | 588 …std::make_shared<LoadImageFailEvent>(GetLayoutSize().Width(), GetLayoutSize().Height(), errorMsg)); in FireLoadEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_event_hub.h | 26 using ErrorEvent = std::function<void(const LoadImageFailEvent& info)>; 41 void FireErrorEvent(const LoadImageFailEvent& info) const in FireErrorEvent()
|
H A D | image_model_ng.h | 49 void SetOnError(std::function<void(const LoadImageFailEvent& info)>&& callback) override; 116 …static void SetOnError(FrameNode* frameNode, std::function<void(const LoadImageFailEvent& info)>&&…
|
H A D | image_model.h | 74 virtual void SetOnError(std::function<void(const LoadImageFailEvent &info)> &&callback) = 0;
|
H A D | image_model_ng.cpp | 437 void ImageModelNG::SetOnError(std::function<void(const LoadImageFailEvent& info)>&& callback) in SetOnError() 838 void ImageModelNG::SetOnError(FrameNode* frameNode, std::function<void(const LoadImageFailEvent& in… in SetOnError()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image/ |
H A D | image_base.cpp | 65 auto onError = [](const LoadImageFailEvent& info) {}; in CreateImageNode() 90 auto onError = [](const LoadImageFailEvent& info) {}; in CreateImageNodeWithDefaultProp()
|
H A D | image_testone_ng.cpp | 1115 auto onError = [](const LoadImageFailEvent& info) {}; in __anonc497b93d0202() 1654 LoadImageFailEvent failEvent(IMAGE_COMPONENTWIDTH_DEFAULT, IMAGE_COMPONENTHEIGHT_DEFAULT, ""); in ImageModelNGTest001_MixedProperties01() 1655 auto onError = [&failEvent](const LoadImageFailEvent& info) { failEvent = info; }; in ImageModelNGTest001_MixedProperties01() 1657 LoadImageFailEvent loadImageFailEvent(WIDTH, HEIGHT, "image load error!"); in ImageModelNGTest001_MixedProperties01() 1866 auto onError = [&testData](const LoadImageFailEvent& info) { testData = 1; }; in ImageModelNGFailedTest001_Properties02() 1868 eventHub->FireErrorEvent(LoadImageFailEvent(WIDTH, HEIGHT, "image load error!")); in ImageModelNGFailedTest001_Properties02()
|
H A D | image_test_ng.cpp | 856 LoadImageFailEvent curEvent(IMAGE_COMPONENTWIDTH_DEFAULT, IMAGE_COMPONENTHEIGHT_DEFAULT, ""); 857 auto onError = [&curEvent](const LoadImageFailEvent& info) { curEvent = info; }; in __anon9574d87b0302() 864 LoadImageFailEvent loadImageFailEvent(WIDTH, HEIGHT, "image load error!");
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_image_span.cpp | 113 auto jsLoadFailFunc = AceType::MakeRefPtr<JsEventFunction<LoadImageFailEvent, 1>>( in OnError() 116 const LoadImageFailEvent& info) { in OnError()
|
H A D | js_image.h | 27 JSRef<JSVal> LoadImageFailEventToJSValue(const LoadImageFailEvent& eventInfo);
|
H A D | js_image.cpp | 117 JSRef<JSVal> LoadImageFailEventToJSValue(const LoadImageFailEvent& eventInfo) in LoadImageFailEventToJSValue() 232 auto jsLoadFailFunc = AceType::MakeRefPtr<JsEventFunction<LoadImageFailEvent, 1>>( in OnError() 235 const LoadImageFailEvent& info) { in OnError()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | image_span_view.h | 46 …static void SetOnError(FrameNode* frameNode, std::function<void(const LoadImageFailEvent& info)>&&…
|
H A D | image_span_view.cpp | 160 void ImageSpanView::SetOnError(FrameNode* frameNode, std::function<void(const LoadImageFailEvent& i… in SetOnError()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | image_model_impl.cpp | 104 void ImageModelImpl::SetOnError(std::function<void(const LoadImageFailEvent& info)>&& callback) in SetOnError() 107 auto eventInfo = TypeInfoHelper::DynamicCast<LoadImageFailEvent>(info); in SetOnError()
|
H A D | image_model_impl.h | 42 void SetOnError(std::function<void(const LoadImageFailEvent& info)>&& callback) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_image_ffi.cpp | 173 …auto onError = [ffiOnError = CJLambda::Create(callback)](const LoadImageFailEvent& newInfo) -> voi… in FfiOHOSAceFrameworkImageOnError()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_image_span_bridge.cpp | 264 std::function<void(LoadImageFailEvent&)> callback = [vm, frameNode, in SetOnError() 265 func = panda::CopyableGlobal(vm, func)](LoadImageFailEvent& event) { in SetOnError()
|
H A D | arkts_native_image_bridge.cpp | 1013 std::function<void(LoadImageFailEvent&)> callback = [vm, frameNode, in SetOnError() 1014 func = panda::CopyableGlobal(vm, func)](LoadImageFailEvent& event) { in SetOnError()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_image_span_modifier.cpp | 176 auto onError = reinterpret_cast<std::function<void(const LoadImageFailEvent&)>*>(callback); in SetImageSpanOnError()
|
H A D | node_image_modifier.cpp | 833 auto onError = reinterpret_cast<std::function<void(const LoadImageFailEvent&)>*>(callback); in SetOnError() 955 auto onEvent = [node, extraParam](const LoadImageFailEvent& info) { in SetImageOnError()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_test_ng.cpp | 1091 auto onError = [&isTrigger](const LoadImageFailEvent& info) { isTrigger = true; }; in __anondf4521ec0302() 1098 LoadImageFailEvent loadImageFailEvent(WIDTH, HEIGHT, "image load error!");
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_input_response_area.cpp | 173 (const LoadImageFailEvent& info) { in CreateNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_pattern.cpp | 522 eventHub->SetOnError([weakThis = WeakClaim(this)](const LoadImageFailEvent& info) { in CreateSnapshotWindow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/ |
H A D | side_bar_container_pattern.cpp | 1404 weakTheme = WeakClaim(RawPtr(sideBarTheme))] (const LoadImageFailEvent& info) { in InitImageErrorCallback()
|