Home
last modified time | relevance | path

Searched refs:attrId (Results 1 - 2 of 2) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
H A Dui_model.cpp59 void Widget::SetAttr(UiAttr attrId, string value) in SetAttr() argument
61 if (attrId >= UiAttr::MAX) { in SetAttr()
62 LOG_E("Error attrId %{public}d, check it", attrId); in SetAttr()
65 attributeVec_[attrId] = value; in SetAttr()
68 std::string Widget::GetAttr(UiAttr attrId) const in GetAttr()
70 if (attrId >= UiAttr::MAX) { in GetAttr()
73 if (attrId == UiAttr::BOUNDS && attributeVec_[UiAttr::BOUNDS].empty()) { in GetAttr()
79 return attributeVec_[attrId]; in GetAttr()
H A Dui_model.h269 void SetAttr(UiAttr attrId, string value);
271 std::string GetAttr(UiAttr attrId) const;

Completed in 1 milliseconds