Home
last modified time | relevance | path

Searched refs:componentId (Results 1 - 25 of 71) sorted by relevance

123

/foundation/arkui/ace_engine/advanced_ui_component/formmenu/interfaces/
H A Dformmenu.js25 async function querySnapshotAsync(want, componentId, uiContext) {
26 let compInfo = uiContext.getComponentUtils().getRectangleById(componentId);
33 hilog.info(0x3900, tag, 'componentId:' + componentId);
34 let packPixmap = await uiContext.getComponentSnapshot().get(componentId);
55 * @param { string } componentId - The id of the component used to get form snapshot.
60 export function AddFormMenuItem(want, componentId, options, parent = null) {
81 await querySnapshotAsync(want, componentId, uiContext);
H A Dformmenu_preview.js25 async function querySnapshotAsync(want, componentId) {
40 function querySnapshot(want, componentId) {
41 querySnapshotAsync(want, componentId);
49 * @param { string } componentId - The id of the component used to get form snapshot.
54 export function AddFormMenuItem(want, componentId, options, parent = null) {
57 if (querySnapshot(want, componentId)) {
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/
H A Djs_engine.h211 virtual void FireExternalEvent(const std::string& componentId, uint32_t nodeId, bool isDestroy = false) = 0;
264 void LayoutInspectorCallback(const std::string& componentId) in LayoutInspectorCallback() argument
266 auto iter = layoutEvents_.find(componentId); in LayoutInspectorCallback()
274 void DrawInspectorCallback(const std::string& componentId) in DrawInspectorCallback() argument
276 auto iter = drawEvents_.find(componentId); in DrawInspectorCallback()
389 const RefPtr<InspectorEvent>& layoutEvent, const std::string& componentId) in RegisterLayoutInspectorCallback()
391 layoutEvents_[componentId].emplace(layoutEvent); in RegisterLayoutInspectorCallback()
395 const RefPtr<InspectorEvent>& layoutEvent, const std::string& componentId) in UnregisterLayoutInspectorCallback()
397 auto iter = layoutEvents_.find(componentId); in UnregisterLayoutInspectorCallback()
401 layoutEvents_.erase(componentId); in UnregisterLayoutInspectorCallback()
388 RegisterLayoutInspectorCallback( const RefPtr<InspectorEvent>& layoutEvent, const std::string& componentId) RegisterLayoutInspectorCallback() argument
394 UnregisterLayoutInspectorCallback( const RefPtr<InspectorEvent>& layoutEvent, const std::string& componentId) UnregisterLayoutInspectorCallback() argument
406 RegisterDrawInspectorCallback( const RefPtr<InspectorEvent>& drawEvent, const std::string& componentId) RegisterDrawInspectorCallback() argument
412 UnregisterDrawInspectorCallback( const RefPtr<InspectorEvent>& drawEvent, const std::string& componentId) UnregisterDrawInspectorCallback() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_event_hub.h68 void FireSurfaceInitEvent(const std::string& componentId, const uint32_t nodeId) const in FireSurfaceInitEvent() argument
71 surfaceInitEvent_(componentId, nodeId, false); in FireSurfaceInitEvent()
80 void FireDetachEvent(const std::string& componentId) in FireDetachEvent() argument
83 detachEvent_(componentId); in FireDetachEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dcomponent_snapshot.cpp221 void ComponentSnapshot::Get(const std::string& componentId, JsCallback&& callback, const SnapshotOptions& options) in Get() argument
223 auto node = Inspector::GetFrameNodeByKey(componentId); in Get()
228 componentId.c_str()); in Get()
241 componentId.c_str(), node->GetId()); in Get()
252 componentId.c_str(), node->GetId()); in Get()
260 componentId.c_str(), options.ToString().c_str(), node->GetId(), node->GetTag().c_str(), imageCount, checkImage, in Get()
371 std::pair<int32_t, std::shared_ptr<Media::PixelMap>> ComponentSnapshot::GetSync(const std::string& componentId, in GetSync() argument
375 ACE_SCOPED_TRACE("ComponentSnapshot::GetSyncStart_%s", componentId.c_str()); in GetSync()
377 auto node = Inspector::GetFrameNodeByKey(componentId); in GetSync()
381 componentId in GetSync()
[all...]
H A Dcomponent_snapshot.h31 static void Get(const std::string& componentId, JsCallback&& callback, const SnapshotOptions& options);
38 static std::pair<int32_t, std::shared_ptr<Media::PixelMap>> GetSync(const std::string& componentId,
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension_base.cpp518 auto componentId = sessionInfo->uiExtensionComponentId; in OnInsightIntentExecuteDone() local
519 auto res = uiWindowMap_.find(componentId); in OnInsightIntentExecuteDone()
544 foregroundWindows_.emplace(componentId); in OnInsightIntentExecuteDone()
638 auto componentId = sessionInfo->uiExtensionComponentId; in HandleSessionCreate() local
639 if (uiWindowMap_.find(componentId) == uiWindowMap_.end()) { in HandleSessionCreate()
665 if (!CallJsOnSessionCreate(want, sessionInfo, uiWindow, componentId)) { in HandleSessionCreate()
668 uiWindowMap_[componentId] = uiWindow; in HandleSessionCreate()
686 auto componentId = sessionInfo->uiExtensionComponentId; in ForegroundWindow() local
687 auto &uiWindow = uiWindowMap_[componentId]; in ForegroundWindow()
691 foregroundWindows_.emplace(componentId); in ForegroundWindow()
704 auto componentId = sessionInfo->uiExtensionComponentId; BackgroundWindow() local
725 auto componentId = sessionInfo->uiExtensionComponentId; DestroyWindow() local
[all...]
H A Djs_ui_extension.cpp564 auto componentId = sessionInfo->uiExtensionComponentId; in OnInsightIntentExecuteDone() local
565 auto res = uiWindowMap_.find(componentId); in OnInsightIntentExecuteDone()
590 foregroundWindows_.emplace(componentId); in OnInsightIntentExecuteDone()
738 auto componentId = sessionInfo->uiExtensionComponentId; in ForegroundWindow() local
739 auto& uiWindow = uiWindowMap_[componentId]; in ForegroundWindow()
743 foregroundWindows_.emplace(componentId); in ForegroundWindow()
756 auto componentId = sessionInfo->uiExtensionComponentId; in BackgroundWindow() local
757 if (uiWindowMap_.find(componentId) == uiWindowMap_.end()) { in BackgroundWindow()
761 auto& uiWindow = uiWindowMap_[componentId]; in BackgroundWindow()
766 foregroundWindows_.erase(componentId); in BackgroundWindow()
779 auto componentId = sessionInfo->uiExtensionComponentId; DestroyWindow() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Ddeclarative_frontend_ng.cpp121 const std::string& componentId) { in InitializeDelegate()
126 jsEngine->LayoutInspectorCallback(componentId); in InitializeDelegate()
130 const std::string& componentId) { in InitializeDelegate()
135 jsEngine->DrawInspectorCallback(componentId); in InitializeDelegate()
207 const std::string& componentId, const uint32_t nodeId, in InitializeDelegate()
213 jsEngine->FireExternalEvent(componentId, nodeId, isDestroy); in InitializeDelegate()
507 void DeclarativeFrontendNG::OnLayoutCompleted(const std::string& componentId) in OnLayoutCompleted() argument
510 delegate_->OnLayoutCompleted(componentId); in OnLayoutCompleted()
514 void DeclarativeFrontendNG::OnDrawCompleted(const std::string& componentId) in OnDrawCompleted() argument
517 delegate_->OnDrawCompleted(componentId); in OnDrawCompleted()
[all...]
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_frontend.h87 void OnLayoutCompleted(const std::string& componentId) override
89 componentId_ = componentId;
91 void OnDrawCompleted(const std::string& componentId) override
93 componentId_ = componentId;
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_default.cpp51 defaultNodeId_ = notifyInfo.componentId; in Notify()
53 notifyInfo.y, notifyInfo.componentId); in Notify()
/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/
H A Djs_component_snapshot.cpp291 std::string componentId; in JSSnapshotGet() local
293 GetNapiString(env, helper.GetArgv(0), componentId, valueType); in JSSnapshotGet()
299 componentId.c_str()); in JSSnapshotGet()
308 delegate->GetSnapshot(componentId, helper.CreateCallback(&result), options); in JSSnapshotGet()
365 std::string componentId; in JSSnapshotGetSync() local
367 GetNapiString(env, helper.GetArgv(0), componentId, valueType); in JSSnapshotGetSync()
373 componentId.c_str()); in JSSnapshotGetSync()
382 auto pair = delegate->GetSyncSnapshot(componentId, options); in JSSnapshotGetSync()
/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_event_info.cpp24 void AccessibilityMemo::SetSource(const int64_t componentId) in SetSource() argument
26 HILOG_DEBUG("componentId[%{public}" PRId64 "]", componentId); in SetSource()
27 componentId_ = componentId; in SetSource()
28 elementId_ = componentId; in SetSource()
H A Daccessibility_element_info.cpp22 void AccessibilityElementInfo::SetComponentId(const int64_t componentId) in SetComponentId() argument
24 elementId_ = componentId; in SetComponentId()
509 void AccessibilityElementInfo::SetLabeled(const int64_t componentId) in SetLabeled() argument
511 labeled_ = componentId; in SetLabeled()
519 void AccessibilityElementInfo::SetAccessibilityId(const int64_t componentId) in SetAccessibilityId() argument
521 elementId_ = componentId; in SetAccessibilityId()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/
H A Decs_clone_util.h37 auto componentId = dstManager->GetComponentId(dstEntity); in CloneComponent() local
38 if (componentId == IComponentManager::INVALID_COMPONENT_ID) { in CloneComponent()
40 componentId = dstManager->GetComponentId(dstEntity); in CloneComponent()
42 BASE_ASSERT(componentId != IComponentManager::INVALID_COMPONENT_ID); in CloneComponent()
/foundation/arkui/ace_engine/interfaces/napi/kits/inspector/
H A Djs_inspector.h36 explicit ComponentObserver(const std::string& componentId) : componentId_(componentId) {} in ComponentObserver() argument
/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/
H A Djs_photo_editor_extension_impl.cpp135 auto componentId = sessionInfo->uiExtensionComponentId; in OnForeground() local
136 if (uiExtensionComponentIdSet_.find(componentId) == uiExtensionComponentIdSet_.end()) { in OnForeground()
138 uiExtensionComponentIdSet_.emplace(componentId); in OnForeground()
/foundation/barrierfree/accessibility/interfaces/innerkits/test/fuzztest/accessibilitysystemabilityclient_fuzzer/
H A Daccessibilitysystemabilityclient_fuzzer.cpp77 int64_t componentId = 0; in CreateEventInfoFirstPart() local
78 position += GetObject<int64_t>(componentId, &data[position], size - position); in CreateEventInfoFirstPart()
79 eventInfo.SetSource(componentId); in CreateEventInfoFirstPart()
235 int64_t componentId = 0; in SendEventFuzzTest() local
236 position += GetObject<int64_t>(componentId, &data[position], size - position); in SendEventFuzzTest()
237 instance->SendEvent(eventType, componentId); in SendEventFuzzTest()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_frontend.h129 void OnLayoutCompleted(const std::string& componentId) override;
130 void OnDrawCompleted(const std::string& componentId) override;
219 void HandleSyncEvent(const EventMarker& eventMarker, const std::string& componentId, const int32_t nodeId,
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/
H A Dmock_accessibility_event_info_parcel.cpp59 int64_t componentId = 0; in ReadFromParcelSecondPart() local
60 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int64, parcel, componentId); in ReadFromParcelSecondPart()
61 SetSource(componentId); in ReadFromParcelSecondPart()
/foundation/barrierfree/accessibility/common/interface/src/parcel/
H A Daccessibility_event_info_parcel.cpp59 int64_t componentId = 0; in ReadFromParcelSecondPart() local
60 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int64, parcel, componentId); in ReadFromParcelSecondPart()
61 SetSource(componentId); in ReadFromParcelSecondPart()
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/
H A Dcomponent_query.cpp113 const auto componentId = in Execute() local
115 row.components[i] = componentId; in Execute()
120 valid = (componentId != IComponentManager::INVALID_COMPONENT_ID); in Execute()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_util.h40 auto componentId = dstManager->GetComponentId(dstEntity); in CloneComponent() local
41 if (componentId == CORE_NS::IComponentManager::INVALID_COMPONENT_ID) { in CloneComponent()
43 componentId = dstManager->GetComponentId(dstEntity); in CloneComponent()
45 BASE_ASSERT(componentId != CORE_NS::IComponentManager::INVALID_COMPONENT_ID); in CloneComponent()
/foundation/arkui/ace_engine/interfaces/inner_api/ace/stylus/
H A Dstylus_detector_interface.h26 int componentId; member
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dcard_frontend.h114 void OnLayoutCompleted(const std::string& componentId) override {}
115 void OnDrawCompleted(const std::string& componentId) override {}
264 void HandleSyncEvent(const EventMarker& eventMarker, const std::string& componentId, const int32_t nodeId,

Completed in 18 milliseconds

123