Searched refs:StrToColor (Results 1 – 10 of 10) sorted by relevance
79 auto txtColor = StrToColor(spec.txtColor); in LabelBtnAdapter()82 auto bgColor = StrToColor(spec.bgColor); in LabelBtnAdapter()87 InitFocus(txtColor, bgColor, StrToColor(spec.focusedTxtColor), in LabelBtnAdapter()88 StrToColor(spec.focusedBgColor)); in LabelBtnAdapter()
29 auto fontColor = StrToColor(spec.fontColor); in TextLabelAdapter()32 auto bgColor = StrToColor(spec.bgColor); in TextLabelAdapter()
31 auto bgColor = StrToColor(spec.bgColor); in BoxProgressAdapter()35 auto fgColor = StrToColor(spec.fgColor); in BoxProgressAdapter()
61 auto fgColor = StrToColor(specInfo.fgColor);62 auto bgColor = StrToColor(specInfo.bgColor);301 auto fontColor = StrToColor(specInfo.txtColor);302 auto bgColor = StrToColor(specInfo.bgColor);369 auto fontColor = StrToColor(specInfo.fontColor);370 auto bgColor = StrToColor(specInfo.bgColor);
52 EXPECT_EQ(Updater::StrToColor(colorData.first).full, colorData.second.first.full);
58 static OHOS::ColorType StrToColor(const std::string& hexColor) in StrToColor() function81 label->SetStyle(OHOS::STYLE_TEXT_COLOR, StrToColor(info.fontColor.c_str()).full); in InitLabel()82 label->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, StrToColor(info.bgColor.c_str()).full); in InitLabel()
33 OHOS::ColorType StrToColor(const std::string &color);
70 OHOS::ColorType StrToColor(const std::string &hexColor) in StrToColor() function
44 color_ = StrToColor(subpageInfo.bgColor); in BuildSubPage()
60 color_ = StrToColor(pageInfo.bgColor); in BuildPage()