/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_option.cpp | 206 Color bgColor = GetEventEffectColor(); in ResetHoverAnimation() local 208 bgColor = selectedDecoration_->GetBackgroundColor(); in ResetHoverAnimation() 213 CreateMouseAnimation(animation, bgColor, bgColor.BlendColor(HOVER_COLOR)); in ResetHoverAnimation() 217 CreateMouseAnimation(animation, GetEventEffectColor(), bgColor); in ResetHoverAnimation() 218 if (GetEventEffectColor() == bgColor.BlendColor(HOVER_COLOR)) { in ResetHoverAnimation() 242 Color bgColor = GetEventEffectColor(); in ResetPressAnimation() local 244 bgColor = selectedDecoration_->GetBackgroundColor(); in ResetPressAnimation() 251 CreateMouseAnimation(animation, GetEventEffectColor(), bgColor.BlendColor(pressColor)); in ResetPressAnimation() 254 CreateMouseAnimation(animation, bgColor, bgColo in ResetPressAnimation() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/preview_mock/ |
H A D | preview_mock_model_ng.cpp | 26 const Color bgColor = Color::FromString("#808080"); in Create() local 40 renderContext->UpdateBackgroundColor(bgColor); in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_qrcode_theme.h | 58 static bool ObtainBackgroundColor(Color &bgColor) in ObtainBackgroundColor() argument 64 bgColor = themeColors->BackgroundPrimary(); in ObtainBackgroundColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | indexer_component.h | 210 void SetSelectedBackgroundColor(const Color& bgColor) in SetSelectedBackgroundColor() argument 212 selectedBgColor_ = bgColor; in SetSelectedBackgroundColor() 221 void SetBubbleBackgroundColor(const Color& bgColor) in SetBubbleBackgroundColor() argument 226 bubbleBack_->SetBackgroundColor(bgColor.BlendOpacity(NINETY_OPACITY_IN_PERCENT)); in SetBubbleBackgroundColor()
|
H A D | indexer_item_component.h | 141 void SetSelectedBackgroundColor(const Color& bgColor) in SetSelectedBackgroundColor() argument 143 selectedBgColor_ = bgColor; in SetSelectedBackgroundColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | alertdialog_composed_element.cpp | 105 item->Put("backgroundColor", ConvertColorToString(dialog.bgColor).c_str());
in GetConfirm() 148 item->Put("backgroundColor", ConvertColorToString(dialog.bgColor).c_str());
in GetPrimaryButton() 166 item->Put("backgroundColor", ConvertColorToString(dialog.bgColor).c_str());
in GetSecondaryButton()
|
H A D | actionsheetdialog_composed_element.cpp | 104 item->Put("backgroundColor", ConvertColorToString(dialog.bgColor).c_str());
in GetConfirm()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_pattern.cpp | 62 auto bgColor = progressTheme->GetTrackBgColor(); in InitAnimatableProperty() local 65 bgColor = progressTheme->GetCapsuleBgColor(); in InitAnimatableProperty() 67 bgColor = progressTheme->GetRingProgressBgColor(); in InitAnimatableProperty() 70 bgColor = paintProperty->GetBackgroundColor().value_or(bgColor); in InitAnimatableProperty() 87 progressAnimatableProperty.bgColor = bgColor; in InitAnimatableProperty()
|
H A D | progress_date.h | 101 Color bgColor; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_model_ng.cpp | 87 auto bgColor = buttonTheme->GetBgColor(buttonStyle.value(), buttonRole); in SetButtonStyle() local 89 BackgroundColor(bgColor, true); in SetButtonStyle() 106 auto bgColor = buttonTheme->GetBgColor(buttonStyleMode, buttonRole.value()); in SetRole() local 108 BackgroundColor(bgColor, true); in SetRole() 141 auto bgColor = buttonTheme->GetBgColor(buttonStyleMode, buttonRole.value()); in SetRole() local 143 BackgroundColor(frameNode, bgColor, true); in SetRole() 159 auto bgColor = buttonTheme->GetBgColor(buttonStyle.value(), buttonRole); in SetButtonStyle() local 161 BackgroundColor(frameNode, bgColor, true); in SetButtonStyle() 618 auto bgColor = buttonTheme->GetBgColor(buttonStyle, buttonRole); in ApplyTheme() local 620 BackgroundColor(frameNode, bgColor, tru in ApplyTheme() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_modifier.cpp | 153 void QRCodeModifier::SetQRCodeBackgroundColor(const Color& bgColor) in SetQRCodeBackgroundColor() argument 156 backgroundColor_->Set(bgColor); in SetQRCodeBackgroundColor()
|
H A D | qrcode_modifier.h | 56 void SetQRCodeBackgroundColor(const Color& bgColor);
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_render_box.cpp | 319 Color bgColor = pipeline->GetAppBgColor(); local 331 RosenDecorationPainter::PaintGrayScale(outerRRect, canvas, backDecoration_->GetGrayScale(), bgColor); 332 RosenDecorationPainter::PaintBrightness(outerRRect, canvas, backDecoration_->GetBrightness(), bgColor); 333 RosenDecorationPainter::PaintContrast(outerRRect, canvas, backDecoration_->GetContrast(), bgColor); 334 RosenDecorationPainter::PaintSaturate(outerRRect, canvas, backDecoration_->GetSaturate(), bgColor); 335 RosenDecorationPainter::PaintInvert(outerRRect, canvas, backDecoration_->GetInvert(), bgColor); 336 RosenDecorationPainter::PaintSepia(outerRRect, canvas, backDecoration_->GetSepia(), bgColor); 337 RosenDecorationPainter::PaintHueRotate(outerRRect, canvas, backDecoration_->GetHueRotate(), bgColor); 338 RosenDecorationPainter::PaintColorBlend(outerRRect, canvas, backDecoration_->GetColorBlend(), bgColor); 369 RosenDecorationPainter::PaintGrayScale(outerRRect, canvas, frontDecoration_->GetGrayScale(), bgColor); [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | window_manager_service_handler.h | 40 std::shared_ptr<Media::PixelMap> pixelMap, uint32_t bgColor) = 0;
|
H A D | window_manager_service_handler_proxy.h | 36 uint32_t bgColor) override;
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_test5.cpp | 182 uint32_t bgColor = 1; in HWTEST_F() local 183 ASSERT_EQ(false, ssm_->GetStartupPageFromResource(info, path, bgColor)); in HWTEST_F() 185 ASSERT_EQ(false, ssm_->GetStartupPageFromResource(info, path, bgColor)); in HWTEST_F() 187 ASSERT_EQ(false, ssm_->GetStartupPageFromResource(info, path, bgColor)); in HWTEST_F() 205 uint32_t bgColor = 0x00000000; in HWTEST_F() local 214 ssm_->GetStartupPage(info, path, bgColor); in HWTEST_F() 217 EXPECT_EQ(0x00000000, bgColor); in HWTEST_F() 235 uint32_t bgColor = 0x00000000; in HWTEST_F() local 254 ssm_->GetStartupPage(sessionInfo, path, bgColor); in HWTEST_F() 256 EXPECT_EQ(bgColor, cachedColo in HWTEST_F() 278 uint32_t bgColor = 0xff000000; HWTEST_F() local 313 uint32_t bgColor = 0xff000000; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/src/ |
H A D | window_manager_service_handler_stub.cpp | 124 auto bgColor = data.ReadUint32(); in StartingWindowCold() local 125 StartingWindow(info, pixelMap, bgColor); in StartingWindowCold()
|
H A D | window_manager_service_handler_proxy.cpp | 83 std::shared_ptr<Media::PixelMap> pixelMap, uint32_t bgColor) in StartingWindow() 99 if (!data.WriteUint32(bgColor)) { in StartingWindow() 100 TAG_LOGE(AAFwkTag::ABILITYMGR, "Failed to write bgColor"); in StartingWindow() 82 StartingWindow(sptr<AbilityTransitionInfo> info, std::shared_ptr<Media::PixelMap> pixelMap, uint32_t bgColor) StartingWindow() argument
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ui_content_impl.cpp | 451 uint32_t bgColor = 0x000000; in GetBackgroundColor() local 453 [&bgColor, container]() { in GetBackgroundColor() 457 bgColor = pipelineContext->GetAppBgColor().GetValue(); in GetBackgroundColor() 461 return bgColor; in GetBackgroundColor() 473 [container, bgColor = color]() { in SetBackgroundColor() 476 pipelineContext->SetAppBgColor(Color(bgColor)); in SetBackgroundColor()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_select.cpp | 405 Color bgColor; in SelectedOptionBgColor() local 406 if (!ParseJsColor(info[0], bgColor)) { in SelectedOptionBgColor() 412 bgColor = theme->GetSelectedColor(); in SelectedOptionBgColor() 417 SelectModel::GetInstance()->SetSelectedOptionBgColor(bgColor); in SelectedOptionBgColor() 461 Color bgColor; in OptionBgColor() local 462 if (!ParseJsColor(info[0], bgColor)) { in OptionBgColor() 468 bgColor = theme->GetBackgroundColor(); in OptionBgColor() 474 SelectModel::GetInstance()->SetOptionBgColor(bgColor); in OptionBgColor()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 101 Color bgColor; member 733 void SetBgColor(const Color& bgColor) in SetBgColor() argument 736 style.bgColor = bgColor; in SetBgColor() 742 return style.bgColor; in GetBgColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_pattern.cpp | 673 const ButtonInfo& params, std::string& textColor, std::optional<Color>& bgColor) in ParseButtonFontColorAndBgColor() 680 bgColor = dialogTheme_->GetButtonDefaultBgColor(); in ParseButtonFontColorAndBgColor() 684 bgColor = dialogTheme_->GetButtonHighlightBgColor(); in ParseButtonFontColorAndBgColor() 696 bgColor = params.bgColor; in ParseButtonFontColorAndBgColor() 707 if (!bgColor.has_value()) { in ParseButtonFontColorAndBgColor() 709 bgColor = dialogTheme_->GetButtonHighlightBgColor(); in ParseButtonFontColorAndBgColor() 712 bgColor = dialogTheme_->GetButtonDefaultBgColor(); in ParseButtonFontColorAndBgColor() 726 std::optional<Color> bgColor; in CreateButton() local 728 ParseButtonFontColorAndBgColor(params, textColor, bgColor); in CreateButton() 672 ParseButtonFontColorAndBgColor( const ButtonInfo& params, std::string& textColor, std::optional<Color>& bgColor) ParseButtonFontColorAndBgColor() argument 1309 std::optional<Color> bgColor; UpdateButtonsProperty() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_ability.cpp | 846 [container, bgColor = color]() { in SetBackgroundColor() 849 pipelineContext->SetAppBgColor(Color(bgColor)); in SetBackgroundColor() 861 uint32_t bgColor = 0x000000; in GetBackgroundColor() local 863 [&bgColor, container]() { in GetBackgroundColor() 867 bgColor = pipelineContext->GetAppBgColor().GetValue(); in GetBackgroundColor() 871 LOGI("AceAbilityHandler GetBackgroundColor, value is %{public}u", bgColor); in GetBackgroundColor() 872 return bgColor; in GetBackgroundColor()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_label.h | 60 bool& havebackground, ColorType& bgColor);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_modifier.cpp | 69 LinearColor bgColor = boardColor_->Get(); in PaintBoard() local 80 RSBrush rsBrush(ToRSColor(bgColor)); in PaintBoard()
|