Home
last modified time | relevance | path

Searched refs:ComponentSnapshot (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dcomponent_snapshot.cpp34 CustomizedCallback(ComponentSnapshot::JsCallback&& jsCallback, WeakPtr<FrameNode> node) in CustomizedCallback()
67 ComponentSnapshot::JsCallback callback_;
73 …explicit NormalCaptureCallback(ComponentSnapshot::NormalCallback&& callback) : callback_(std::move… in NormalCaptureCallback()
82 ComponentSnapshot::NormalCallback callback_;
201 std::shared_ptr<Rosen::RSNode> ComponentSnapshot::GetRsNode(const RefPtr<FrameNode>& node) in GetRsNode()
256 void ComponentSnapshot::Create( in Create()
306 void ComponentSnapshot::GetNormalCapture(const RefPtr<FrameNode>& frameNode, NormalCallback&& callb… in GetNormalCapture()
313 void ComponentSnapshot::PostDelayedTaskOfBuiler(const RefPtr<TaskExecutor>& executor, JsCallback&& … in PostDelayedTaskOfBuiler()
324 void ComponentSnapshot::BuilerTask(JsCallback&& callback, const RefPtr<FrameNode>& node, bool enabl… in BuilerTask()
351 std::pair<int32_t, std::shared_ptr<Media::PixelMap>> ComponentSnapshot::GetSync(const std::string& … in GetSync()
[all …]
H A Dcomponent_snapshot.h26 class ComponentSnapshot {
H A Drosen_render_context.cpp2829 …NG::ComponentSnapshot::JsCallback callback = [weak = WeakPtr(GetHost()), containerId = Container::… in CreateBackgroundPixelMap()
2854 NG::ComponentSnapshot::Create(customNode, std::move(firstCallback), false, firstParam, true); in CreateBackgroundPixelMap()
2857 NG::ComponentSnapshot::Create(customNode, std::move(callback), false, param, false); in CreateBackgroundPixelMap()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_component_snapshot.cpp19 void ComponentSnapshot::GetNormalCapture(const RefPtr<FrameNode>& frameNode, NormalCallback&& callb… in GetNormalCapture()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.cpp1167 …const std::string& componentId, NG::ComponentSnapshot::JsCallback&& callback, const NG::SnapshotOp… in GetSnapshot()
1170 NG::ComponentSnapshot::Get(componentId, std::move(callback), options); in GetSnapshot()
1178 return NG::ComponentSnapshot::GetSync(componentId, options); in GetSyncSnapshot()
1206 …std::function<void()>&& customBuilder, NG::ComponentSnapshot::JsCallback&& callback, bool enableIn… in CreateSnapshot()
1215 NG::ComponentSnapshot::Create(customNode, std::move(callback), enableInspector, param); in CreateSnapshot()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_event_hub.cpp129 NG::ComponentSnapshot::Create(customNode, std::move(callback), true, in HandleOnItemDragStart()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_event_hub.cpp210 NG::ComponentSnapshot::Create(customNode, std::move(callback), true, param); in HandleOnItemDragStart()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsUIContext.js86 class ComponentSnapshot { class
289 this.ComponentSnapshot_ = new ComponentSnapshot(this.instanceId_);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.cpp3368 …const std::string& componentId, NG::ComponentSnapshot::JsCallback&& callback, const NG::SnapshotOp… in GetSnapshot()
3371 NG::ComponentSnapshot::Get(componentId, std::move(callback), options); in GetSnapshot()
3379 return NG::ComponentSnapshot::GetSync(componentId, options); in GetSyncSnapshot()
3385 …std::function<void()>&& customBuilder, NG::ComponentSnapshot::JsCallback&& callback, bool enableIn… in CreateSnapshot()
3394 NG::ComponentSnapshot::Create(customNode, std::move(callback), enableInspector, param); in CreateSnapshot()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.cpp2100 …std::shared_ptr<Media::PixelMap> pixelMap = ComponentSnapshot::CreateSync(dragDropInfo.customNode,… in StartDragForCustomBuilder()
2130 NG::ComponentSnapshot::Create(dragDropInfo.customNode, std::move(callback), true, param); in StartDragForCustomBuilder()
H A Ddrag_event.cpp837 OHOS::Ace::NG::ComponentSnapshot::Create( in OnCollectTouchTarget()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md1296 getComponentSnapshot(): ComponentSnapshot
1298 获取ComponentSnapshot对象,可通过该对象获取组件截图的能力。
1308 | [ComponentSnapshot](js-apis-arkui-UIContext.md#componentsnapshot12) | 获取ComponentSnapshot对象。 |
7139 ## ComponentSnapshot<sup>12+</sup>
7141 …ntSnapshot()](js-apis-arkui-UIContext.md#getcomponentsnapshot12)方法获取ComponentSnapshot对象,再通过此实例调用对应…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md1297 getComponentSnapshot(): ComponentSnapshot
1299 Obtains a **ComponentSnapshot** object, which can be used to obtain a component snapshot.
1309 | [ComponentSnapshot](js-apis-arkui-UIContext.md#componentsnapshot12) | **ComponentSnapshot** objec…
7106 ## ComponentSnapshot<sup>12+</sup>
7108 …UIContext.md#getcomponentsnapshot12) in **UIContext** to obtain a **ComponentSnapshot** instance, …
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp603 …[targetNode, callback]() { ComponentSnapshot::GetNormalCapture(targetNode, std::move(callback)); }, in CreateCaptureCallback()
606 ComponentSnapshot::GetNormalCapture(targetNode, std::move(callback)); in CreateCaptureCallback()