Home
last modified time | relevance | path

Searched refs:txtColor (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/update/updater/services/ui/view/component/
H A Dlabel_btn_adapter.cpp79 auto txtColor = StrToColor(spec.txtColor); in LabelBtnAdapter() local
80 this->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, txtColor.full); in LabelBtnAdapter()
81 this->SetLabelStyle(OHOS::STYLE_TEXT_OPA, txtColor.alpha); in LabelBtnAdapter()
87 InitFocus(txtColor, bgColor, StrToColor(spec.focusedTxtColor), in LabelBtnAdapter()
100 !CheckColor(info.txtColor) || !CheckColor(info.focusedTxtColor)) { in IsValid()
103 " txtColor:" << info.txtColor << in IsValid()
131 void LabelBtnAdapter::InitFocus(const OHOS::ColorType &txtColor, const OHOS::ColorType &bgColor, in InitFocus() argument
134 …focusListener_ = std::make_unique<LabelBtnOnFocusListener>(focusedTxtColor, txtColor, focusedBgCol… in InitFocus()
H A Dlabel_btn_adapter.h27 std::string txtColor; member
48 void InitFocus(const OHOS::ColorType &txtColor, const OHOS::ColorType &bgColor,
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_layout_unittest.cpp54 …return std::tie(lhs.fontSize, lhs.text, lhs.txtColor, lhs.bgColor, lhs.focusedBgColor, lhs.focused… in operator ==()
55 …std::tie(rhs.fontSize, rhs.text, rhs.txtColor, rhs.bgColor, rhs.focusedBgColor, rhs.focusedTxtColo… in operator ==()
H A Dui_component_unittest.cpp301 auto fontColor = StrToColor(specInfo.txtColor);
/ohos5.0/base/update/updater/services/ui/
H A Dupdater_ui_traits.h91 (std::string, txtColor),
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
H A DMainEditor.js90 var txtColor = bgStyle.getPropertyValue('color').match(/\d{1,3}/g);
91 if (txtColor) {
92 MainEditor.NODE_TEXT_COLOR = rgba(txtColor);