/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | element.h | 37 // 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 D | element.cpp | 25 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 D | render_element.h | 26 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 D | tabs_helper.h | 67 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 D | tab_content_proxy_element.h | 43 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 D | preferences_xml_utils_test.cpp | 63 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 D | default_app_rdb.h | 30 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 D | default_app_db_interface.h | 32 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 D | default_app_mgr.h | 30 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 D | default_app_data.h | 27 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 D | preferences_xml_utils.cpp | 34 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 D | preferences_impl.cpp | 210 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 D | inspector.cpp | 41 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 D | stepper_item_composed_element.h | 37 RefPtr<Element> GetElementChildBySlot(const RefPtr<Element>& element, int32_t& slot) const override; 38 RefPtr<Element> GetRenderElement() const override
|
H A D | list_item_group_composed_element.h | 40 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 D | list_element.h | 43 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 D | list_item_group_element.h | 43 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 D | list_item_element.h | 35 RefPtr<Element> itemChild_; 36 RefPtr<Element> swiperStartElement_; 37 RefPtr<Element> swiperEndElement_;
|
/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/ |
H A D | foreach_element.h | 62 * 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 D | foreach_element.cpp | 27 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 D | preferences_xml_utils.h | 23 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 D | default_app_rdb.cpp | 48 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 D | text_field_controller.h | 27 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 D | rich_text_element.cpp | 29 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 D | water_flow_element.h | 46 RefPtr<Element> OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component>& component) override; 49 RefPtr<Element> footerElement_;
|