/ohos5.0/foundation/arkui/ace_engine/frameworks/base/subwindow/ |
H A D | subwindow_manager.cpp | 252 …GetSubwindow(containerId >= MIN_SUBCONTAINER_ID ? GetParentContainerId(containerId) : containerId); in ShowPreviewNG() 773 (!isTopMost && containerId >= MIN_PA_SERVICE_ID) || containerId < 0) { in ShowToast() 857 if (containerId != -1 && containerId < MIN_SUBCONTAINER_ID) { in ClearToastInSubwindow() 859 …auto parentContainerId = containerId >= MIN_SUBCONTAINER_ID ? GetParentContainerId(containerId) : … in ClearToastInSubwindow() 881 if (containerId >= MIN_PA_SERVICE_ID || containerId < 0) { in ShowDialog() 913 if (containerId >= MIN_PA_SERVICE_ID || containerId < 0) { in ShowDialog() 945 if (containerId >= MIN_PA_SERVICE_ID || containerId < 0) { in ShowActionMenu() 990 if (containerId >= MIN_PA_SERVICE_ID || containerId < 0) { in OpenCustomDialog() 1061 …auto parentContainerId = containerId >= MIN_SUBCONTAINER_ID ? GetParentContainerId(containerId) : … in HideToastSubWindowNG() 1136 GetParentContainerId(containerId) : containerId; in HideSystemTopMostWindow() [all …]
|
H A D | subwindow_manager.h | 41 void AddContainerId(uint32_t windowId, int32_t containerId); 45 void AddParentContainerId(int32_t containerId, int32_t parentContainerId); 46 void RemoveParentContainerId(int32_t containerId); 47 int32_t GetParentContainerId(int32_t containerId); 153 RefPtr<Subwindow> GetOrCreateSystemSubWindow(int32_t containerId); 154 … RefPtr<Subwindow> GetOrCreateToastWindow(int32_t containerId, const NG::ToastShowMode& showMode); 155 … RefPtr<Subwindow> GetOrCreateToastWindowNG(int32_t containerId, const ToastWindowType& windowType,
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | layout_inspector.cpp | 106 if (containerId >= MIN_SUBCONTAINER_ID && containerId < MIN_PLUGIN_SUBCONTAINER_ID) { in GetWindow() 230 [](int32_t containerId) { return CreateLayoutInfo(containerId); }, in SetCallback() argument 239 [](int32_t containerId) { return CreateLayoutInfo(containerId); }, in SetCallback() argument 256 containerId = container->GetInstanceId(); in CreateLayoutInfo() 257 ContainerScope socpe(containerId); in CreateLayoutInfo() 260 auto getInspectorTask = [container, containerId]() { in CreateLayoutInfo() 262 GetInspectorTreeJsonStr(treeJson, containerId); in CreateLayoutInfo() 264 GetSnapshotJson(containerId, message); in CreateLayoutInfo() 287 if (containerId >= MIN_SUBCONTAINER_ID && containerId < MIN_PLUGIN_SUBCONTAINER_ID) { in GetInspectorTreeJsonStr() 379 auto containerId = container->GetInstanceId(); in HandleStartRecord() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_node/src/ |
H A D | node_finalization_register_proxy.ts | 56 globalThis.__AddToNodeControllerMap__ = function __AddToNodeControllerMap__(containerId: number, no… 57 NodeControllerRegisterProxy.__NodeControllerMap__.set(containerId, nodeController); 60 globalThis.__RemoveFromNodeControllerMap__ = function __RemoveFromNodeControllerMap__(containerId: … 61 …odeController: NodeController = NodeControllerRegisterProxy.__NodeControllerMap__.get(containerId); 63 NodeControllerRegisterProxy.__NodeControllerMap__.delete(containerId);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_model_test_ng.cpp | 432 auto containerId = pipelineContext->GetInstanceId(); variable 468 auto containerId = pipelineContext->GetInstanceId(); variable 504 auto containerId = pipelineContext->GetInstanceId(); variable 545 auto containerId = pipelineContext->GetInstanceId(); variable 585 auto containerId = pipelineContext->GetInstanceId(); variable 623 auto containerId = pipelineContext->GetInstanceId(); variable 670 auto containerId = pipelineContext->GetInstanceId(); variable 715 auto containerId = pipelineContext->GetInstanceId(); variable 812 auto containerId = pipelineContext->GetInstanceId(); variable 854 auto containerId = pipelineContext->GetInstanceId(); variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | layout_inspector.h | 36 static void SetlayoutInspectorStatus(int32_t containerId); 37 static void GetInspectorTreeJsonStr(std::string& treeJsonStr, int32_t containerId); 38 static void CreateLayoutInfo(int32_t containerId); 41 static void GetSnapshotJson(int32_t containerId, std::unique_ptr<JsonValue>& message);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_utils.cpp | 38 …std::function<void()>&& task, const std::string& name, const int32_t containerId, PriorityType pri… in PostToUI() argument 40 ContainerScope scope(containerId); in PostToUI() 47 …std::function<void()>&& task, const std::string& name, const int32_t containerId, PriorityType pri… in PostToBg() argument 49 ContainerScope scope(containerId); in PostToBg()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/drag_drop_behavior_reporter/ |
H A D | drag_drop_behavior_reporter.cpp | 69 void DragDropBehaviorReporter::UpdateContainerId(int32_t containerId) in UpdateContainerId() argument 71 containerId_ = containerId; in UpdateContainerId() 84 void DragDropBehaviorReporter::Submit(DragReporterPharse pharse, int32_t containerId) in Submit() argument 94 containerId_ = containerId_ == INSTANCE_ID_UNDEFINED ? containerId : containerId_; in Submit()
|
H A D | drag_drop_behavior_reporter.h | 68 void UpdateContainerId(int32_t containerId); 87 DragDropBehaviorReporterTrigger(DragReporterPharse pharse, int32_t containerId) in DragDropBehaviorReporterTrigger() argument 88 : pharse_(pharse), containerId_(containerId) {} in DragDropBehaviorReporterTrigger()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_func_wrapper.h | 32 static void SetDraggingPointerAndPressedState(int32_t currentPointerId, int32_t containerId); 34 const std::string& extraParams, int32_t currentPointerId, int32_t containerId); 48 [[maybe_unused]] static double GetScaleWidth(int32_t containerId); 49 static void SetExtraInfo(int32_t containerId, std::string extraInfo);
|
H A D | drag_drop_func_wrapper.cpp | 284 …agDropFuncWrapper::SetDraggingPointerAndPressedState(int32_t currentPointerId, int32_t containerId) in SetDraggingPointerAndPressedState() argument 286 auto pipelineContext = PipelineContext::GetContextByContainerId(containerId); in SetDraggingPointerAndPressedState() 297 auto pipelineContext = PipelineContext::GetContextByContainerId(containerId); in DecideWhetherToStopDragging() 483 [[maybe_unused]] double DragDropFuncWrapper::GetScaleWidth(int32_t containerId) in GetScaleWidth() argument 485 auto pipeline = Container::GetContainer(containerId)->GetPipelineContext(); in GetScaleWidth() 490 void DragDropFuncWrapper::SetExtraInfo(int32_t containerId, std::string extraInfo) in SetExtraInfo() argument 492 auto pipelineContext = PipelineContext::GetContextByContainerId(containerId); in SetExtraInfo() 537 auto containerId = pipeline->GetInstanceId(); in IsExpandDisplay() local 538 containerId = containerId >= MIN_SUBCONTAINER_ID ? in IsExpandDisplay() 539 SubwindowManager::GetInstance()->GetParentContainerId(containerId) : containerId; in IsExpandDisplay() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_controller.cpp | 106 std::string GetPageUrlByContainerId(const int32_t containerId) in GetPageUrlByContainerId() argument 108 auto container = Container::GetContainer(containerId); in GetPageUrlByContainerId() 153 auto containerId = EventRecorder::Get().GetContainerId(); in ApplyNewestConfig() local 156 auto context = NG::PipelineContext::GetContextByContainerId(containerId); in ApplyNewestConfig() 166 auto containerId = EventRecorder::Get().GetContainerId(); in ApplyExposureCfgInner() local 167 auto pageUrl = GetPageUrlByContainerId(containerId); in ApplyExposureCfgInner() 178 auto context = NG::PipelineContext::GetContextByContainerId(containerId); in ApplyExposureCfgInner() 188 item.processor->SetContainerId(containerId); in ApplyExposureCfgInner()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_pattern.cpp | 40 auto containerId = Container::CurrentId(); in GetMainPipelineContext() local 42 if (containerId >= MIN_SUBCONTAINER_ID) { in GetMainPipelineContext() 43 auto parentContainerId = SubwindowManager::GetInstance()->GetParentContainerId(containerId); in GetMainPipelineContext() 368 auto containerId = Container::CurrentId(); in OnAttachToFrameNode() local 369 auto parentContainerId = SubwindowManager::GetInstance()->GetParentContainerId(containerId); in OnAttachToFrameNode() 396 auto containerId = Container::CurrentId(); in OnDetachFromFrameNode() local 575 auto containerId = Container::CurrentId(); in GetSystemTopMostSubwindowSize() local 576 if (containerId < 0) { in GetSystemTopMostSubwindowSize() 579 containerId = container->GetInstanceId(); in GetSystemTopMostSubwindowSize() 582 auto parentContainerId = containerId >= MIN_SUBCONTAINER_ID ? in GetSystemTopMostSubwindowSize() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_frame_node_bridge.cpp | 546 ContainerScope scope(containerId); in SetOnClick() 632 ContainerScope scope(containerId); in SetOnTouch() 668 ContainerScope scope(containerId); in SetOnAppear() 702 ContainerScope scope(containerId); in SetOnDisappear() 736 ContainerScope scope(containerId); in SetOnKeyEvent() 786 ContainerScope scope(containerId); in SetOnFocus() 817 containerId]() { in SetOnBlur() 820 ContainerScope scope(containerId); in SetOnBlur() 854 ContainerScope scope(containerId); in SetOnHover() 942 ContainerScope scope(containerId); in SetOnMouse() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_event_impl.cpp | 57 auto containerId = Recorder::EventRecorder::Get().GetContainerId(); in OHOS_ACE_GetSimplifiedInspectorTree() local 58 auto container = Container::GetContainer(containerId); in OHOS_ACE_GetSimplifiedInspectorTree() 63 tree = NG::Inspector::GetSimplifiedInspector(containerId); in OHOS_ACE_GetSimplifiedInspectorTree()
|
H A D | form_utils_impl.cpp | 34 …const int64_t formId, const std::string& action, const int32_t containerId, const std::string& def… in RouterEvent() argument 36 ContainerScope scope(containerId); in RouterEvent() 103 …const int64_t formId, const std::string& action, const int32_t containerId, const std::string& def… in BackgroundEvent() argument 105 ContainerScope scope(containerId); in BackgroundEvent()
|
H A D | form_utils_impl.h | 32 …int64_t formId, const std::string& action, int32_t containerId, const std::string& defaultBundleNa… 38 …int64_t formId, const std::string& action, int32_t containerId, const std::string& defaultBundleNa…
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_callback.cpp | 62 cbInfo_.containerId = cbInfo.containerId; in JSPluginCallback() 80 cbInfo_.containerId = -1; in DestroyAllResource() 106 return cbInfo_.containerId; in GetContainerId() 137 auto container = AceEngine::Get().GetContainer(cbInfo_.containerId); in SendRequestEventResult() 244 auto container = AceEngine::Get().GetContainer(cbInfo_.containerId); in OnPushEvent() 309 auto container = AceEngine::Get().GetContainer(cbInfo_.containerId); in OnRequestEvent() 389 auto container = AceEngine::Get().GetContainer(cbInfo_.containerId); in OnRequestCallBack()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | popup_base_pattern.h | 30 void SetContainerId(int32_t containerId) in SetContainerId() argument 32 containerId_ = containerId; in SetContainerId()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | js-framework-syntax-css.md | 66 …containerId .content text | 非严格父子关系的后代选择器,选择具有id="containerId"作为祖先元素,class="content"作为次级… 72 <div id="containerId" class="container">
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_image_utils.cpp | 29 …std::function<void()>&& task, const std::string& name, const int32_t containerId, PriorityType pri… in PostToUI() argument 37 …std::function<void()>&& task, const std::string& name, const int32_t containerId, PriorityType pri… in PostToBg() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/form/resource/ |
H A D | form_utils.h | 29 …ual int32_t RouterEvent(const int64_t formId, const std::string& action, const int32_t containerId, 35 …int32_t BackgroundEvent(const int64_t formId, const std::string& action, const int32_t containerId,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/form/ |
H A D | mock_form_utils.h | 29 int32_t RouterEvent(const int64_t formId, const std::string& action, const int32_t containerId, in RouterEvent() argument 41 …int32_t BackgroundEvent(const int64_t formId, const std::string& action, const int32_t containerId, in BackgroundEvent() argument
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/ |
H A D | mock_form_utils.h | 29 int32_t RouterEvent(const int64_t formId, const std::string& action, const int32_t containerId, in RouterEvent() argument 41 …int32_t BackgroundEvent(const int64_t formId, const std::string& action, const int32_t containerId, in BackgroundEvent() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 895 auto containerId = Container::CurrentId(); in OnMediaQueryUpdate() local 896 if (containerId < 0) { in OnMediaQueryUpdate() 899 containerId = container->GetInstanceId(); in OnMediaQueryUpdate() 902 bool isInSubwindow = containerId >= 1000000; in OnMediaQueryUpdate() 1052 ContainerScope scope(containerId); in ShowToast() 1224 ContainerScope scope(containerId); in AddFrameNodeToOverlay() 1234 ContainerScope scope(containerId); in RemoveFrameNodeOnOverlay() 1244 ContainerScope scope(containerId); in ShowNodeOnOverlay() 1254 ContainerScope scope(containerId); in HideNodeOnOverlay() 1264 ContainerScope scope(containerId); in ShowAllNodesOnOverlay() [all …]
|