Home
last modified time | relevance | path

Searched refs:bgColor (Results 1 - 25 of 70) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_option.cpp206 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 Dpreview_mock_model_ng.cpp26 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 Djs_qrcode_theme.h58 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 Dindexer_component.h210 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 Dindexer_item_component.h141 void SetSelectedBackgroundColor(const Color& bgColor) in SetSelectedBackgroundColor() argument
143 selectedBgColor_ = bgColor; in SetSelectedBackgroundColor()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dalertdialog_composed_element.cpp105 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 Dactionsheetdialog_composed_element.cpp104 item->Put("backgroundColor", ConvertColorToString(dialog.bgColor).c_str()); in GetConfirm()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_pattern.cpp62 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 Dprogress_date.h101 Color bgColor; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_model_ng.cpp87 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 Dqrcode_modifier.cpp153 void QRCodeModifier::SetQRCodeBackgroundColor(const Color& bgColor) in SetQRCodeBackgroundColor() argument
156 backgroundColor_->Set(bgColor); in SetQRCodeBackgroundColor()
H A Dqrcode_modifier.h56 void SetQRCodeBackgroundColor(const Color& bgColor);
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_render_box.cpp319 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 Dwindow_manager_service_handler.h40 std::shared_ptr<Media::PixelMap> pixelMap, uint32_t bgColor) = 0;
H A Dwindow_manager_service_handler_proxy.h36 uint32_t bgColor) override;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test5.cpp182 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 Dwindow_manager_service_handler_stub.cpp124 auto bgColor = data.ReadUint32(); in StartingWindowCold() local
125 StartingWindow(info, pixelMap, bgColor); in StartingWindowCold()
H A Dwindow_manager_service_handler_proxy.cpp83 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 Dui_content_impl.cpp451 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 Djs_select.cpp405 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 Dtextfield_declaration.h101 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 Ddialog_pattern.cpp673 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 Dace_ability.cpp846 [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 Ddraw_label.h60 bool& havebackground, ColorType& bgColor);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_modifier.cpp69 LinearColor bgColor = boardColor_->Get(); in PaintBoard() local
80 RSBrush rsBrush(ToRSColor(bgColor)); in PaintBoard()

Completed in 20 milliseconds

123