/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | component_snapshot.cpp | 34 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 D | component_snapshot.h | 26 class ComponentSnapshot {
|
H A D | rosen_render_context.cpp | 2829 …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 D | mock_component_snapshot.cpp | 19 void ComponentSnapshot::GetNormalCapture(const RefPtr<FrameNode>& frameNode, NormalCallback&& callb… in GetNormalCapture()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 1167 …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 D | list_event_hub.cpp | 129 NG::ComponentSnapshot::Create(customNode, std::move(callback), true, in HandleOnItemDragStart()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_event_hub.cpp | 210 NG::ComponentSnapshot::Create(customNode, std::move(callback), true, param); in HandleOnItemDragStart()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsUIContext.js | 86 class ComponentSnapshot { class 289 this.ComponentSnapshot_ = new ComponentSnapshot(this.instanceId_);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.cpp | 3368 …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 D | gesture_event_hub.cpp | 2100 …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 D | drag_event.cpp | 837 OHOS::Ace::NG::ComponentSnapshot::Create( in OnCollectTouchTarget()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-UIContext.md | 1296 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 D | js-apis-arkui-UIContext.md | 1297 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 D | swiper_pattern.cpp | 603 …[targetNode, callback]() { ComponentSnapshot::GetNormalCapture(targetNode, std::move(callback)); }, in CreateCaptureCallback() 606 ComponentSnapshot::GetNormalCapture(targetNode, std::move(callback)); in CreateCaptureCallback()
|