Home
last modified time | relevance | path

Searched refs:Element (Results 1 - 25 of 485) sorted by relevance

12345678910>>...20

/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Delement.h37 // Element is the key class in the UI framework, which presents a basic logic
40 class ACE_EXPORT Element : public virtual AceType { class
41 DECLARE_ACE_TYPE(Element, AceType);
44 Element() = default;
45 ~Element();
47 void AddChild(const RefPtr<Element>& child, int32_t slot = DEFAULT_ELEMENT_SLOT);
48 void RemoveChild(const RefPtr<Element>& child);
49 RefPtr<Element> GetChildBySlot(int32_t slot);
50 void DeactivateChild(RefPtr<Element> child);
54 RefPtr<Element> InflateComponen
[all...]
H A Delement.cpp25 Element::~Element() in ~Element()
32 void Element::AddChild(const RefPtr<Element>& child, int32_t slot) in AddChild()
52 void Element::RemoveChild(const RefPtr<Element>& child) in RemoveChild()
60 RefPtr<Element> Element::GetChildBySlot(int32_t slot) in GetChildBySlot()
70 void Element::ChangeChildSlot(const RefPtr<Element>
[all...]
H A Drender_element.h26 class ACE_FORCE_EXPORT RenderElement : public Element {
27 DECLARE_ACE_TYPE(RenderElement, Element);
33 void Prepare(const WeakPtr<Element>& parent) override;
37 RefPtr<Element> UpdateChild(const RefPtr<Element>& child, const RefPtr<Component>& newComponent) final;
63 void Apply(const RefPtr<Element>& child) override;
75 void SetAccessibilityNode(const WeakPtr<Element>& parent);
/foundation/arkui/ace_engine/frameworks/core/components_v2/tabs/
H A Dtabs_helper.h67 static RefPtr<Element> FindFirstChildOfType(const RefPtr<Element>& parent) in FindFirstChildOfType()
82 static std::tuple<RefPtr<Element>, RefPtr<Element>> FindFirstParentOfType(const RefPtr<Element>& child) in FindFirstParentOfType()
84 RefPtr<Element> parentElement = nullptr; in FindFirstParentOfType()
116 static RefPtr<TabsElement> FindTabsElement(const RefPtr<Element>& child) in FindTabsElement()
121 static RefPtr<TabBarElement> FindTabBarElement(const RefPtr<Element>& child) in FindTabBarElement()
132 static RefPtr<TabContentElement> FindTabContentElement(const RefPtr<Element>& child) in FindTabContentElement()
166 static void AddTabBarElement(const RefPtr<Element>
[all...]
H A Dtab_content_proxy_element.h43 RefPtr<Element> GetElementByIndex(size_t index) in GetElementByIndex()
49 RefPtr<Element> OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component>& component) override;
53 RefPtr<FocusNode> GetChildFocusNode(const RefPtr<Element>& node);
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp63 std::vector<Element> settings = {}; in HWTEST_F()
104 std::vector<Element> settings; in HWTEST_F()
105 Element elem; in HWTEST_F()
112 std::vector<Element> settingsRes = {}; in HWTEST_F()
130 std::vector<Element> settings = {}; in HWTEST_F()
142 Element elem; in HWTEST_F()
160 std::vector<Element> settings; in HWTEST_F()
161 Element elem; in HWTEST_F()
187 std::vector<Element> settings; in HWTEST_F()
189 Element ele in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/default_app/
H A Ddefault_app_rdb.h30 bool GetDefaultApplicationInfos(int32_t userId, std::map<std::string, Element>& infos) override;
31 bool GetDefaultApplicationInfo(int32_t userId, const std::string& type, Element& element) override;
32 bool SetDefaultApplicationInfos(int32_t userId, const std::map<std::string, Element>& infos) override;
33 bool SetDefaultApplicationInfo(int32_t userId, const std::string& type, const Element& element) override;
44 bool GetDataFromDb(int32_t userId, std::map<std::string, Element>& infos);
45 bool SaveDataToDb(int32_t userId, const std::map<std::string, Element>& infos);
H A Ddefault_app_db_interface.h32 virtual bool GetDefaultApplicationInfos(int32_t userId, std::map<std::string, Element>& infos) = 0;
33 virtual bool GetDefaultApplicationInfo(int32_t userId, const std::string& type, Element& element) = 0;
34 virtual bool SetDefaultApplicationInfos(int32_t userId, const std::map<std::string, Element>& infos) = 0;
35 virtual bool SetDefaultApplicationInfo(int32_t userId, const std::string& type, const Element& element) = 0;
H A Ddefault_app_mgr.h30 static bool VerifyElementFormat(const Element& element);
36 ErrCode SetDefaultApplication(int32_t userId, const std::string& type, const Element& element) const;
58 bool GetBundleInfo(int32_t userId, const std::string& type, const Element& element, BundleInfo& bundleInfo) const;
62 bool IsElementEmpty(const Element& element) const;
63 bool IsElementValid(int32_t userId, const std::string& type, const Element& element) const;
71 bool GetBrokerBundleInfo(const Element& element, BundleInfo& bundleInfo) const;
78 int32_t userId, const std::string& normalizedType, const Element& element) const;
H A Ddefault_app_data.h27 std::map<std::string, Element> infos;
35 void to_json(nlohmann::json &jsonObject, const Element& element);
36 void from_json(const nlohmann::json& jsonObject, Element& element);
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp34 static bool ParseNodeElement(const xmlNode *node, Element &element);
35 static bool ParsePrimitiveNodeElement(const xmlNode *node, Element &element);
36 static bool ParseStringNodeElement(const xmlNode *node, Element &element);
37 static bool ParseArrayNodeElement(const xmlNode *node, Element &element);
38 static xmlNode *CreateElementNode(Element &element);
39 static xmlNode *CreatePrimitiveNode(Element &element);
40 static xmlNode *CreateStringNode(Element &element);
41 static xmlNode *CreateArrayNode(Element &element);
164 const std::string &dataGroupId, std::vector<Element> &settings) in ReadSettingXml()
186 Element elemen in ReadSettingXml()
[all...]
H A Dpreferences_impl.cpp210 static void Convert2PrefValue(const Element &element, T &value) in Convert2PrefValue()
226 static void Convert2PrefValue(const Element &element, std::vector<T> &values) in Convert2PrefValue()
235 static void Convert2PrefValue(const Element &element, BigInt &value) in Convert2PrefValue()
250 bool GetPrefValue(const Element &element, T &value) in GetPrefValue()
256 static void Convert2PrefValue(const Element &element, std::vector<uint8_t> &value) in Convert2PrefValue()
263 static void Convert2PrefValue(const Element &element, Object &value) in Convert2PrefValue()
269 bool GetPrefValue(const Element &element, T &value) in GetPrefValue()
281 bool Convert2PrefValue(const Element &element, std::variant<Types...> &value) in Convert2PrefValue()
286 void ReadXmlElement(const Element &element, std::map<std::string, PreferencesValue> &prefMap) in ReadXmlElement()
296 std::vector<Element> setting in ReadSettingXml()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector.cpp41 std::queue<RefPtr<Element>> elements; in GetInspectorByKey()
61 void GetInspectorChildren(const RefPtr<Element>& element, std::list<RefPtr<Element>>& childrenList) in GetInspectorChildren()
77 const RefPtr<Element>& element, std::map<RefPtr<Element>, std::list<RefPtr<Element>>>& inspectorTreeMap) in DumpInspectorTree()
79 std::list<RefPtr<Element>> childrenList; in DumpInspectorTree()
90 void ToJsonValue(const RefPtr<Element>& element, in ToJsonValue()
91 const std::map<RefPtr<Element>, std::list<RefPtr<Element>>> in ToJsonValue()
[all...]
H A Dstepper_item_composed_element.h37 RefPtr<Element> GetElementChildBySlot(const RefPtr<Element>& element, int32_t& slot) const override;
38 RefPtr<Element> GetRenderElement() const override
H A Dlist_item_group_composed_element.h40 RefPtr<Element> GetElementChildBySlot(const RefPtr<Element>& element, int32_t& slot) const override;
41 RefPtr<Element> GetRenderElement() const override
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_element.h43 RefPtr<Element> GetListItemBySlot(size_t index);
54 RefPtr<Element> OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component>& component) override;
59 void Apply(const RefPtr<Element>& element) override;
61 bool IsAncestor(const RefPtr<Element>& parent, const RefPtr<Element>& node);
H A Dlist_item_group_element.h43 RefPtr<Element> GetListItemBySlot(size_t index);
48 RefPtr<Element> OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component>& component) override;
54 RefPtr<Element> headerElement_;
55 RefPtr<Element> footerElement_;
H A Dlist_item_element.h35 RefPtr<Element> itemChild_;
36 RefPtr<Element> swiperStartElement_;
37 RefPtr<Element> swiperEndElement_;
/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/
H A Dforeach_element.h62 * find no longer used IDs, the corresponding earlier created child Element for each such ID
75 * Update Element with given ForEachComponent
80 * helper function that updates the slot of given Element
81 * if the Element is a ComposedElement it
85 void UpdateSlot(const RefPtr<Element>& element, int32_t slot, int32_t renderSlot);
88 static bool CompareSlots(const RefPtr<Element>& first, const RefPtr<Element>& second);
89 // adds elements from given list into a Map with key Element.GetSlot
90 static void MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts,
91 const std::list<std::string>& ids, std::map<std::string, Ace::RefPtr<Element>>
[all...]
H A Dforeach_element.cpp27 bool ForEachElement::CompareSlots(const RefPtr<Element>& first, const RefPtr<Element>& second) in CompareSlots()
33 // adds elements from given list into a Map with key Element.GetSlot
34 void ForEachElement::MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts, const std::list<std::string>& ids, in MakeElementByIdMap()
35 std::map<std::string, Ace::RefPtr<Element>>& result) in MakeElementByIdMap()
42 std::map<int, Ace::RefPtr<Element>> elmtsBySlotMap; in MakeElementByIdMap()
75 // Element children before update in RemoveUnusedChildElementsFromRegistery()
77 std::list<RefPtr<Element>> oldChildElements(oldChildElementsRef); // make a copy of the list in RemoveUnusedChildElementsFromRegistery()
131 // create map id gen result -> Element in LocalizedUpdate()
133 std::map<std::string, Ace::RefPtr<Element>> oldElmtsByIdMa in LocalizedUpdate()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_xml_utils.h23 class Element { class
29 std::vector<Element> children_;
35 const std::string &dataGroupId, std::vector<Element> &settings);
37 const std::string &dataGroupId, const std::vector<Element> &settings);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_rdb.cpp48 bool DefaultAppRdb::GetDefaultApplicationInfos(int32_t userId, std::map<std::string, Element>& infos) in GetDefaultApplicationInfos()
61 bool DefaultAppRdb::GetDefaultApplicationInfo(int32_t userId, const std::string& type, Element& element) in GetDefaultApplicationInfo()
65 std::map<std::string, Element> infos; in GetDefaultApplicationInfo()
82 bool DefaultAppRdb::SetDefaultApplicationInfos(int32_t userId, const std::map<std::string, Element>& infos) in SetDefaultApplicationInfos()
95 bool DefaultAppRdb::SetDefaultApplicationInfo(int32_t userId, const std::string& type, const Element& element) in SetDefaultApplicationInfo()
98 std::map<std::string, Element> infos; in SetDefaultApplicationInfo()
134 std::map<std::string, Element> infos; in DeleteDefaultApplicationInfo()
169 std::map<std::string, Element> infos; in ConvertMimeTypeToUtd()
173 std::map<std::string, Element> newInfos; in ConvertMimeTypeToUtd()
220 std::map<std::string, Element> preInfo in LoadDefaultApplicationConfig()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Dtext_field_controller.h27 class Element;
33 void SetHandler(WeakPtr<Element> element) in SetHandler()
47 WeakPtr<Element> element_;
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/
H A Drich_text_element.cpp29 void RichTextElement::Prepare(const WeakPtr<Element>& parent) in Prepare()
54 Element::SetNewComponent(newComponent); in SetNewComponent()
65 Element::SetNewComponent(webComponent); in SetNewComponent()
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_element.h46 RefPtr<Element> OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component>& component) override;
49 RefPtr<Element> footerElement_;

Completed in 11 milliseconds

12345678910>>...20