Home
last modified time | relevance | path

Searched refs:parentNode (Results 1 – 25 of 83) sorted by relevance

1234

/foundation/ace/ace_engine/frameworks/bridge/common/dom/
Ddom_svg_base.cpp26 void DOMSvgBase::InheritAttrs(const RefPtr<DOMNode>& parentNode) in InheritAttrs() argument
28 if (!AceType::InstanceOf<DOMSvg>(parentNode) && !AceType::InstanceOf<DOMSvgG>(parentNode)) { in InheritAttrs()
37 declaration->Inherit(parentNode->GetDeclaration()); in InheritAttrs()
Ddom_proxy.cpp22 auto parentNode = parentNode_.Upgrade(); in Mount() local
23 if (!parentNode) { in Mount()
29 parentNode->AddNode(AceType::Claim(this), slot); in Mount()
30 OnMounted(parentNode); in Mount()
Ddom_tab_content.cpp52 void DOMTabContent::PrepareChangeListener(const RefPtr<DOMTabs>& parentNode) in PrepareChangeListener() argument
55 WeakPtr<DOMTabs> weakParent = parentNode; in PrepareChangeListener()
83 void DOMTabContent::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
85 if (!parentNode) { in OnMounted()
88 if (parentNode->GetTag() == DOM_NODE_TAG_TABS) { in OnMounted()
89 const auto& parentNodeTmp = AceType::DynamicCast<DOMTabs>(parentNode); in OnMounted()
Ddom_svg_text.cpp34 void DOMSvgText::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
42 auto svgNode = AceType::DynamicCast<DOMSvgBase>(parentNode); in OnMounted()
48 auto svgTextNode = AceType::DynamicCast<DOMSvgText>(parentNode); in OnMounted()
Ddom_svg_path.cpp34 void DOMSvgPath::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_polyline.cpp34 void DOMSvgPolyline::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_line.cpp34 void DOMSvgLine::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_fe_gaussianblur.cpp34 void DOMSvgFeGaussianBlur::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_ellipse.cpp34 void DOMSvgEllipse::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_rect.cpp34 void DOMSvgRect::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_circle.cpp35 void DOMSvgCircle::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
37 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_use.cpp35 void DOMSvgUse::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
37 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_defs.cpp34 void DOMSvgDefs::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_polygon.cpp34 void DOMSvgPolygon::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_fe_offset.cpp34 void DOMSvgFeOffset::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_fe_composite.cpp34 void DOMSvgFeComposite::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
Ddom_svg_fe_colormatrix.cpp34 void DOMSvgFeColorMatrix::OnMounted(const RefPtr<DOMNode>& parentNode) in OnMounted() argument
36 DOMSvgBase::InheritAttrs(parentNode); in OnMounted()
/foundation/ace/ace_engine/frameworks/core/pipeline/base/
Drender_element.cpp84 auto parentNode = parent.Upgrade(); in SetAccessibilityNode() local
85 while (parentNode) { in SetAccessibilityNode()
86 if (!parentNode->IsAutoAccessibility()) { in SetAccessibilityNode()
90 if (ignoreAccessibility || parentNode->IsIgnoreInspector()) { in SetAccessibilityNode()
93 auto composedElement = AceType::DynamicCast<V2::InspectorComposedElement>(parentNode); in SetAccessibilityNode()
100 parentNode = parentNode->GetElementParent().Upgrade(); in SetAccessibilityNode()
104 auto composedElement = AceType::DynamicCast<ComposedElement>(parentNode); in SetAccessibilityNode()
110 parentNode = parentNode->GetElementParent().Upgrade(); in SetAccessibilityNode()
Dposition_layout_utils.h25 …static Offset GetAbsoluteOffset(const RefPtr<RenderNode>& parentNode, const RefPtr<RenderNode>& se… in GetAbsoluteOffset() argument
27 if (!parentNode || !selfNode) { in GetAbsoluteOffset()
34 …deltaX = parentNode->GetLayoutSize().Width() - selfNode->NormalizePercentToPx(selfNode->GetRight()… in GetAbsoluteOffset()
44 …deltaY = parentNode->GetLayoutSize().Height() - selfNode->NormalizePercentToPx(selfNode->GetBottom… in GetAbsoluteOffset()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
Drb_tree.c260 struct RbNode *parentNode = FILLP_NULL_PTR; in FillpRbEraseLowlvlNode() local
283 parentNode = node->rbParent; in FillpRbEraseLowlvlNode()
286 if (parentNode == oldNode) { in FillpRbEraseLowlvlNode()
287 parentNode = node; in FillpRbEraseLowlvlNode()
290 childNode->rbParent = parentNode; in FillpRbEraseLowlvlNode()
293 parentNode->rbLeft = childNode; in FillpRbEraseLowlvlNode()
305 FillpRbEraseColor(childNode, parentNode, root); in FillpRbEraseLowlvlNode()
312 struct RbNode *parentNode = FILLP_NULL_PTR; in FillpRbErase() local
324 parentNode = node->rbParent; in FillpRbErase()
328 childNode->rbParent = parentNode; in FillpRbErase()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/list/
Drender_list_item.cpp261 RefPtr<RenderNode> parentNode = GetParent().Upgrade(); in GetPositionInList() local
262 while (parentNode) { in GetPositionInList()
263 RefPtr<RenderList> listNode = AceType::DynamicCast<RenderList>(parentNode); in GetPositionInList()
267 parentNode = parentNode->GetParent().Upgrade(); in GetPositionInList()
425 RefPtr<RenderNode> parentNode = GetParent().Upgrade(); in ResetFocusEffect() local
426 while (parentNode) { in ResetFocusEffect()
427 RefPtr<RenderList> listNode = AceType::DynamicCast<RenderList>(parentNode); in ResetFocusEffect()
432 parentNode = parentNode->GetParent().Upgrade(); in ResetFocusEffect()
574 RefPtr<RenderNode> parentNode = GetParent().Upgrade(); in ResetFocusEffect() local
575 while (parentNode) { in ResetFocusEffect()
[all …]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
Dconfig_reader.cpp59 void ConfigReader::ParseSubItem(const xmlNode& parentNode, Item& item) in ParseSubItem() argument
61 auto currNodePtr = parentNode.xmlChildrenNode; in ParseSubItem()
81 void ConfigReader::ParseItem(const xmlNode& parentNode, PluginConfig& pluginConfig) in ParseItem() argument
83 auto currNodePtr = parentNode.xmlChildrenNode; in ParseItem()
96 void ConfigReader::ParseConfig(const xmlNode& parentNode, PluginConfigMap& pluginConfigMap) in ParseConfig() argument
98 auto currNodePtr = parentNode.xmlChildrenNode; in ParseConfig()
/foundation/ace/ace_engine/frameworks/core/components/select_popup/
Dselect_popup_component.cpp104 auto parentNode = node_->GetParentNode(); in InnerHideDialog() local
105 if (parentNode) { in InnerHideDialog()
106 parentNode->SetLeft(0); in InnerHideDialog()
107 parentNode->SetTop(0); in InnerHideDialog()
108 parentNode->SetWidth(0); in InnerHideDialog()
109 parentNode->SetHeight(0); in InnerHideDialog()
198 auto parentNode = node_->GetParentNode(); in CloseContextMenu() local
199 if (parentNode) { in CloseContextMenu()
200 parentNode->SetLeft(0); in CloseContextMenu()
201 parentNode->SetTop(0); in CloseContextMenu()
[all …]
/foundation/ace/ace_engine/frameworks/bridge/common/accessibility/
Daccessibility_node_manager.cpp402 RefPtr<AccessibilityNode> parentNode; in CreateDeclarativeAccessibilityNode() local
404 parentNode = GetAccessibilityNodeById(parentNodeId); in CreateDeclarativeAccessibilityNode()
408 parentNode = GetAccessibilityNodeById(rootStackId); in CreateDeclarativeAccessibilityNode()
409 if (!parentNode) { in CreateDeclarativeAccessibilityNode()
410 parentNode = AceType::MakeRefPtr<AccessibilityNode>(rootStackId, ROOT_STACK_TAG); in CreateDeclarativeAccessibilityNode()
412 auto result = accessibilityNodes_.try_emplace(rootStackId, parentNode); in CreateDeclarativeAccessibilityNode()
436 if (parentNode) { in CreateDeclarativeAccessibilityNode()
437 accessibilityNode->SetParentNode(parentNode); in CreateDeclarativeAccessibilityNode()
448 RefPtr<AccessibilityNode> parentNode; in CreateCommonAccessibilityNode() local
450 parentNode = GetAccessibilityNodeById(parentNodeId); in CreateCommonAccessibilityNode()
[all …]
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/
Djs_command.cpp169 RefPtr<DOMNode> parentNode; in CreateDomNode() local
171 parentNode = domDocument->GetDOMNodeById(parentNodeId); in CreateDomNode()
172 if (!parentNode) { in CreateDomNode()
180 if (parentNode && parentNode->HasSvgTag() && tagName_ == DOM_NODE_TAG_TEXT) { in CreateDomNode()
195 node->SetParentNode(parentNode); in CreateDomNode()
341 RefPtr<DOMNode> parentNode; in CreateDomProxy() local
343 parentNode = domDocument->GetDOMNodeById(parentNodeId); in CreateDomProxy()
344 if (!parentNode) { in CreateDomProxy()
354 proxy->SetParentNode(parentNode); in CreateDomProxy()
539 RefPtr<DOMNode> parentNode; in Execute() local
[all …]

1234