Home
last modified time | relevance | path

Searched refs:fgColor (Results 1 - 6 of 6) sorted by relevance

/base/update/updater/services/ui/view/component/
H A Dbox_progress_adapter.cpp35 auto fgColor = StrToColor(spec.fgColor); in BoxProgressAdapter() local
36 this->SetForegroundStyle(OHOS::STYLE_BACKGROUND_COLOR, fgColor.full); in BoxProgressAdapter()
37 this->SetForegroundStyle(OHOS::STYLE_BACKGROUND_OPA, fgColor.alpha); in BoxProgressAdapter()
49 if (!CheckColor(info.bgColor) || !CheckColor(info.fgColor)) { in IsValid()
51 " fgColor:" << info.fgColor; in IsValid()
H A Dbox_progress_adapter.h27 std::string fgColor; member
/base/security/security_component_manager/frameworks/common/src/
H A Dsec_comp_tool.cpp126 static bool IsColorAplhaSimilar(const SecCompColor& fgColor, const SecCompColor& bgColor) in IsColorAplhaSimilar() argument
128 double fgAlpha = static_cast<double>(fgColor.argb.alpha) / MAX_ALPHA; in IsColorAplhaSimilar()
134 fgColor.argb.alpha, bgColor.argb.alpha); in IsColorAplhaSimilar()
/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp61 auto fgColor = StrToColor(specInfo.fgColor); in HWTEST_F() local
65 EXPECT_EQ(boxProgress.GetForegroundStyle(OHOS::STYLE_BACKGROUND_COLOR), fgColor.full); in HWTEST_F()
66 EXPECT_EQ(boxProgress.GetForegroundStyle(OHOS::STYLE_BACKGROUND_OPA), fgColor.alpha); in HWTEST_F()
H A Dui_layout_unittest.cpp36 return std::tie(lhs.defaultValue, lhs.fgColor, lhs.bgColor, lhs.hasEp, lhs.endPoint) == in operator ==()
37 std::tie(rhs.defaultValue, rhs.fgColor, rhs.bgColor, rhs.hasEp, rhs.endPoint); in operator ==()
/base/update/updater/services/ui/
H A Dupdater_ui_traits.h67 (std::string, fgColor),

Completed in 3 milliseconds