Searched refs:fgColor (Results 1 - 6 of 6) sorted by relevance
/base/update/updater/services/ui/view/component/ |
H A D | box_progress_adapter.cpp | 35 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 D | box_progress_adapter.h | 27 std::string fgColor; member
|
/base/security/security_component_manager/frameworks/common/src/ |
H A D | sec_comp_tool.cpp | 126 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 D | ui_component_unittest.cpp | 61 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 D | ui_layout_unittest.cpp | 36 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 D | updater_ui_traits.h | 67 (std::string, fgColor),
|
Completed in 3 milliseconds