Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Darkui_native_interface_accessibility.md520 在指定的list中增加Element成员,并返回Element结构。
569 设置Element的parentId。
619 设置Element的contents。
644 设置Element的hintText。
821 设置Element的checked。
946 设置Element的selected。
1121 设置Element的isHint。
1374 设置Element的offset。
1452 设置Element的zIndex。
1478 设置Element的opacity。
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
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()
121 void Element::DeactivateChild(RefPtr<Element> child) in DeactivateChild()
139 void Element::DetachChild(const RefPtr<Element>& child) in DetachChild()
188 inline RefPtr<Element> Element::DoUpdateChildWithNewComponent( in DoUpdateChildWithNewComponent()
199 RefPtr<Element> Element::UpdateChildWithSlot( in UpdateChildWithSlot()
350 const std::list<RefPtr<Element>>& Element::GetChildren() const in GetChildren()
355 RefPtr<Element> Element::GetFirstChild() const in GetFirstChild()
[all …]
H A Delement.h41 DECLARE_ACE_TYPE(Element, AceType);
44 Element() = default;
45 ~Element();
50 void DeactivateChild(RefPtr<Element> child);
58 …virtual RefPtr<Element> UpdateChild(const RefPtr<Element>& child, const RefPtr<Component>& newComp…
59 RefPtr<Element> UpdateChildWithSlot(
62 void DetachChild(const RefPtr<Element>&);
128 RefPtr<Element> GetFirstChild() const;
129 RefPtr<Element> GetLastChild() const;
308 std::list<RefPtr<Element>> children_;
[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) f…
63 void Apply(const RefPtr<Element>& child) override;
75 void SetAccessibilityNode(const WeakPtr<Element>& parent);
H A Dcomposed_element.h30 class ACE_EXPORT ComposedElement : public Element {
31 DECLARE_ACE_TYPE(ComposedElement, Element);
45 …RefPtr<Element> UpdateChild(const RefPtr<Element>& child, const RefPtr<Component>& newComponent) f…
131 void Apply(const RefPtr<Element>& child) override;
/ohos5.0/base/security/device_auth/common_lib/interfaces/
H A Dhc_vector.h29 #define DECLARE_HC_VECTOR(ClassName, Element) \ argument
31 Element* (*pushBack)(struct V##ClassName*, const Element*); \
32 Element* (*pushBackT)(struct V##ClassName*, Element); \
33 HcBool (*popFront)(struct V##ClassName*, Element*); \
51 Element* VPushBack##ClassName(ClassName* obj, const Element *e) { \
56 if (ParcelWrite(&obj->parcel, e, sizeof(Element))) { \
63 Element* VPushBackT##ClassName(ClassName* obj, Element e) { \
68 if (ParcelWrite(&obj->parcel, &e, sizeof(Element))) { \
75 HcBool VPopFront##ClassName(ClassName* obj, Element* e) { \
90 return ParcelEraseBlock(&obj->parcel, index * sizeof(Element), sizeof(Element), e); \
[all …]
/ohos5.0/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>& c… 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()
166 static void AddTabBarElement(const RefPtr<Element>& host, in AddTabBarElement()
208 …static void UpdateTabBarElement(const RefPtr<Element>& host, const RefPtr<Element>& contentItemEle… in UpdateTabBarElement()
290 static void SetIndex(const RefPtr<Element>& element, int32_t idx) in SetIndex()
365 static void IncTabContentRenderCount(const RefPtr<Element>& element) in IncTabContentRenderCount()
370 static void DecTabContentRenderCount(const RefPtr<Element>& element) in DecTabContentRenderCount()
[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…
53 RefPtr<FocusNode> GetChildFocusNode(const RefPtr<Element>& node);
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp105 Element elem;
142 Element elem;
161 Element elem;
189 Element elem;
194 Element elemChild;
228 Element elem;
268 Element elem;
308 Element elem;
340 Element elem;
372 Element elem;
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp36 static xmlNode *CreateElementNode(Element &element);
38 static xmlNode *CreateStringNode(Element &element);
39 static xmlNode *CreateArrayNode(Element &element);
163 Element element; in ReadSettingXml()
277 Element child; in ParseArrayNodeElement()
362 for (Element element : settings) { in WriteSettingXml()
383 xmlNode *CreateElementNode(Element &element) in CreateElementNode()
406 xmlNode *CreatePrimitiveNode(Element &element) in CreatePrimitiveNode()
423 xmlNode *CreateStringNode(Element &element) in CreateStringNode()
444 xmlNode *CreateArrayNode(Element &element) in CreateArrayNode()
[all …]
H A Dpreferences_impl.cpp250 bool GetPrefValue(const Element &element, T &value) in GetPrefValue()
269 bool GetPrefValue(const Element &element, T &value) in GetPrefValue()
296 std::vector<Element> settings; in ReadSettingXml()
311 void Convert2Element(Element &elem, const T &value) in Convert2Element()
330 Element element; in Convert2Element()
342 void Convert2Element(Element &elem, const Object &value) in Convert2Element()
348 void Convert2Element(Element &elem, const BigInt &value) in Convert2Element()
352 Element element; in Convert2Element()
357 Element symbolElement; in Convert2Element()
389 std::vector<Element> settings; in WriteSettingXml()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector.cpp43 std::queue<RefPtr<Element>> elements; in GetInspectorByKey()
63 void GetInspectorChildren(const RefPtr<Element>& element, std::list<RefPtr<Element>>& childrenList) in GetInspectorChildren()
79 …const RefPtr<Element>& element, std::map<RefPtr<Element>, std::list<RefPtr<Element>>>& inspectorTr… in DumpInspectorTree() argument
81 std::list<RefPtr<Element>> childrenList; in DumpInspectorTree()
92 void ToJsonValue(const RefPtr<Element>& element, in ToJsonValue()
93 …const std::map<RefPtr<Element>, std::list<RefPtr<Element>>>& inspectorTree, std::unique_ptr<JsonVa… in ToJsonValue() argument
126 …int32_t depth, const RefPtr<Element>& element, std::map<int32_t, std::list<RefPtr<Element>>>& dept… in DumpElementTree()
174 auto root = AceType::DynamicCast<Element>(context->GetRootElement()); in GetInspectorTree()
179 auto pageElement = AceType::DynamicCast<Element>(context->GetLastPage()); in GetInspectorTree()
183 std::map<RefPtr<Element>, std::list<RefPtr<Element>>> inspectorTree; in GetInspectorTree()
/ohos5.0/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>& info… in GetDefaultApplicationInfos()
65 std::map<std::string, Element> infos; in GetDefaultApplicationInfo()
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> preInfos; in LoadDefaultApplicationConfig()
231 std::map<std::string, Element> infos; in LoadDefaultApplicationConfig()
235 const Element& element = item.second; in LoadDefaultApplicationConfig()
265 bool DefaultAppRdb::GetDataFromDb(int32_t userId, std::map<std::string, Element>& infos) in GetDataFromDb()
[all …]
/ohos5.0/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) overr…
33 …bool SetDefaultApplicationInfo(int32_t userId, const std::string& type, const Element& element) ov…
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_mgr.h30 static bool VerifyElementFormat(const Element& element);
36 …ErrCode SetDefaultApplication(int32_t userId, const std::string& type, const Element& element) con…
58 …bool GetBundleInfo(int32_t userId, const std::string& type, const Element& element, BundleInfo& bu…
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_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) …
34 …virtual bool SetDefaultApplicationInfos(int32_t userId, const std::map<std::string, Element>& info…
35 …virtual bool SetDefaultApplicationInfo(int32_t userId, const std::string& type, const Element& ele…
/ohos5.0/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…
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…
54 RefPtr<Element> headerElement_;
55 RefPtr<Element> footerElement_;
H A Dlist_element.cpp53 void ListElement::Apply(const RefPtr<Element>& child) in Apply()
127 RefPtr<Element> ListElement::GetListItemBySlot(size_t index) in GetListItemBySlot()
161 bool ListElement::IsAncestor(const RefPtr<Element>& parent, const RefPtr<Element>& node) in IsAncestor()
177 auto nodeElement = AceType::DynamicCast<Element>(node); in GetRealElementIndex()
250 RefPtr<Element> ListElement::OnUpdateElement(const RefPtr<Element>& element, const RefPtr<Component… in OnUpdateElement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/
H A Dforeach_element.h85 void UpdateSlot(const RefPtr<Element>& element, int32_t slot, int32_t renderSlot);
88 static bool CompareSlots(const RefPtr<Element>& first, const RefPtr<Element>& second);
90 static void MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts,
91 const std::list<std::string>& ids, std::map<std::string, Ace::RefPtr<Element>>& result);
H A Dforeach_element.cpp31 bool ForEachElement::CompareSlots(const RefPtr<Element>& first, const RefPtr<Element>& second) in CompareSlots()
38 void ForEachElement::MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts, const std::list<st… in MakeElementByIdMap()
39 std::map<std::string, Ace::RefPtr<Element>>& result) in MakeElementByIdMap()
46 std::map<int, Ace::RefPtr<Element>> elmtsBySlotMap; in MakeElementByIdMap()
81 std::list<RefPtr<Element>> oldChildElements(oldChildElementsRef); // make a copy of the list in RemoveUnusedChildElementsFromRegistery()
137 std::map<std::string, Ace::RefPtr<Element>> oldElmtsByIdMap; in LocalizedUpdate()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_xml_utils.h23 class Element {
29 std::vector<Element> children_;
35 const std::string &dataGroupId, std::vector<Element> &settings);
37 const std::string &dataGroupId, const std::vector<Element> &settings);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_element.h55 … void BuildCardCalendar(const RefPtr<CalendarComponent>& calendar, const RefPtr<Element>& element);
59 void SetArrowImage(const RefPtr<Element>& element, bool isLeft);
60 …void RegisterChangeEndListener(const RefPtr<CalendarComponent>& calendar, const RefPtr<Element>& e…
61 RefPtr<TextElement> GetTextElement(const RefPtr<Element>& flex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_controller.h68 void SetContentElement(const RefPtr<Element>& contentElement);
69 void SetBarElement(const RefPtr<Element>& barElement);
92 WeakPtr<Element> contentElement_;
93 WeakPtr<Element> barElement_;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_rdb_data_manager_test/
H A Dbms_rdb_data_manager_test.cpp422 Element element1;
427 Element element2;
444 std::map<std::string, Element> infos;
464 Element element;
482 Element element1;
487 Element element2;
510 Element element1;
515 Element element2;
535 Element element1;
540 Element element2;
[all …]

12345678910>>...23