Searched refs:txtColor (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | label_btn_adapter.cpp | 79 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 D | label_btn_adapter.h | 27 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 D | ui_layout_unittest.cpp | 54 …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 D | ui_component_unittest.cpp | 301 auto fontColor = StrToColor(specInfo.txtColor);
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_traits.h | 91 (std::string, txtColor),
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | MainEditor.js | 90 var txtColor = bgStyle.getPropertyValue('color').match(/\d{1,3}/g); 91 if (txtColor) { 92 MainEditor.NODE_TEXT_COLOR = rgba(txtColor);
|