Home
last modified time | relevance | path

Searched refs:GetBackgroundColor (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_model_ng.cpp46 …ACE_UPDATE_PAINT_PROPERTY(QRCodePaintProperty, BackgroundColor, qrCodeTheme->GetBackgroundColor()); in Create()
47 ACE_UPDATE_RENDER_CONTEXT(BackgroundColor, qrCodeTheme->GetBackgroundColor()); in Create()
81 paintPropertyPtr->UpdateBackgroundColor(qrCodeTheme->GetBackgroundColor()); in CreateFrameNode()
85 context->UpdateBackgroundColor(qrCodeTheme->GetBackgroundColor()); in CreateFrameNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_scroll_bar_painter.cpp76 paint.setColor(scrollBar->GetBackgroundColor().GetValue()); in PaintCircleBar()
114 pen.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintCircleBar()
147 paint.setColor(scrollBar->GetBackgroundColor().GetValue()); in PaintRectBar()
177 pen.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintRectBar()
178 brush.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintRectBar()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_button.cpp171 buttonDeclaration_->SetClickedColor(buttonDeclaration_->GetBackgroundColor()); in PreparePseudoStyle()
174 buttonDeclaration_->SetFocusColor(buttonDeclaration_->GetBackgroundColor()); in PreparePseudoStyle()
234 buttonDeclaration_->SetFocusColor(buttonDeclaration_->GetBackgroundColor()); in PrepareCapsuleButton()
281 buttonDeclaration_->SetFocusColor(buttonDeclaration_->GetBackgroundColor()); in PrepareCircleButton()
348 buttonDeclaration_->SetDisabledColor(buttonDeclaration_->GetBackgroundColor()); in PrepareButtonState()
365 Color bgColor = buttonDeclaration_->GetBackgroundColor(); in PrepareDisabledBackgroundColor()
400 …Color defaultClickedColor = buttonDeclaration_->GetBackgroundColor().BlendColor(buttonTheme_->GetC… in PrepareClickedColor()
550 isCustomizedColor_ = buttonDeclaration_->GetBackgroundColor() != buttonTheme_->GetBgColor(); in UpdateCustomizedColorFlag()
H A Ddom_list_item_group.cpp71 decoration->SetBackgroundColor(cardTheme_->GetBackgroundColor()); in SetCardThemeAttrs()
78 if (backDecoration && (backDecoration->GetBackgroundColor() == Color::TRANSPARENT)) { in SetCardThemeAttrs()
79 backDecoration->SetBackgroundColor(cardTheme_->GetBackgroundColor()); in SetCardThemeAttrs()
H A Ddom_toggle.cpp43 toggleChild_->SetBackgroundColor(toggleTheme_->GetBackgroundColor()); in ResetInitializedStyle()
198 backgroundColor_ = toggleChild_->GetBackgroundColor(); in ResetColorStyle()
212 … toggleChild_->SetBackgroundColor(toggleChild_->GetBackgroundColor().BlendOpacity(blendOpacity_)); in PrepareDisabledStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dqrcode_composed_element.cpp63 std::string QrcodeComposedElement::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Ace::V2::QrcodeComposedElement
66 auto color = renderQrcode ? renderQrcode->GetBackgroundColor() : Color::WHITE; in GetBackgroundColor()
H A Dbutton_composed_element.cpp126 std::string ButtonComposedElement::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Ace::V2::ButtonComposedElement
132 return renderButton->GetBackgroundColor().ColorToString(); in GetBackgroundColor()
H A Dqrcode_composed_element.h35 std::string GetBackgroundColor() const override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Dqrcode_component.cpp45 const Color& QrcodeComponent::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Ace::QrcodeComponent
47 return declaration_->GetBackgroundColor(); in GetBackgroundColor()
H A Drosen_render_qrcode.cpp117 : ConvertColorFromHighToLow(qrcode_->GetBackgroundColor()); in ProcessQrcodeData()
141 : ConvertColorFromHighToLow(qrcode_->GetBackgroundColor()); in ProcessQrcodeData()
H A Drender_qrcode.h44 const Color& GetBackgroundColor() const in GetBackgroundColor() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_option.h59 return focusDecoration_->GetBackgroundColor(); in GetFocusBackColor()
67 return selectedDecoration_->GetBackgroundColor(); in GetNormalBackColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dtoggle_button_pattern.cpp51 unCheckedColor_ = toggleTheme->GetBackgroundColor(); in InitParameters()
97 auto bgColor = buttonPaintProperty->GetBackgroundColor().value_or(unCheckedColor_); in OnModifyDone()
217 backgroundColor_ = renderContext->GetBackgroundColor().value_or(Color::TRANSPARENT); in OnTouchDown()
293 selectedColor = buttonPaintProperty->GetBackgroundColor().value_or(unCheckedColor_); in OnClick()
399 unCheckedColor_ = toggleTheme->GetBackgroundColor(); in OnColorConfigurationUpdate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/root/
H A Drender_root.cpp58 bgColor_ = appTheme->GetBackgroundColor(); in PerformLayout()
114 … bgColor_ = isContextMenu_ || isTransparent ? Color::TRANSPARENT : appTheme->GetBackgroundColor(); in SetDefaultBgColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_view.cpp189 popupPaintProp->UpdateBackgroundColor(param->GetBackgroundColor()); in CreateBubbleNode()
275 … popupPaintProp->GetBackgroundColor().value_or(GetPopupTheme()->GetBackgroundColor())); in CreateBubbleNode()
277 … auto backgroundColor = popupPaintProp->GetBackgroundColor().value_or(Color::TRANSPARENT); in CreateBubbleNode()
336 popupPaintProps->UpdateBackgroundColor(param->GetBackgroundColor()); in CreateCustomBubbleNode()
368 … popupPaintProps->GetBackgroundColor().value_or(GetPopupTheme()->GetBackgroundColor())); in CreateCustomBubbleNode()
370 … auto backgroundColor = popupPaintProps->GetBackgroundColor().value_or(Color::TRANSPARENT); in CreateCustomBubbleNode()
588 popupPaintProp->UpdateBackgroundColor(param->GetBackgroundColor()); in UpdateCommonParam()
614 … popupPaintProp->GetBackgroundColor().value_or(GetPopupTheme()->GetBackgroundColor())); in UpdateCommonParam()
616 … auto backgroundColor = popupPaintProp->GetBackgroundColor().value_or(Color::TRANSPARENT); in UpdateCommonParam()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Dbutton_component.cpp130 const Color& ButtonComponent::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Ace::ButtonComponent
132 return declaration_->GetBackgroundColor(); in GetBackgroundColor()
378 …updateType |= static_cast<uint32_t>(button->GetBackgroundColor() == declaration_->GetBackgroundCol… in Compare()
H A Drender_button.h122 Color GetBackgroundColor() const in GetBackgroundColor() function
124 return buttonComponent_->GetBackgroundColor(); in GetBackgroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/piece/
H A Dpiece_declaration.cpp59 GetBackDecoration()->SetBackgroundColor(theme->GetBackgroundColor()); in InitializeStyle()
97 SetBackGroundColor(theme->GetBackgroundColor()); in InitializeStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/
H A Dsemi_modal_element.cpp40 const Color& SemiModalElement::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Ace::SemiModalElement
57 return decoration->GetBackgroundColor(); in GetBackgroundColor()
H A Dsemi_modal_element.h31 const Color& GetBackgroundColor() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_moon_track.cpp56 backgroundPaint.setColor(GetBackgroundColor().GetValue()); in Paint()
84 backgroundBrush.SetColor(GetBackgroundColor().GetValue()); in Paint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_refresh_ffi.cpp50 RefreshModel::GetInstance()->SetProgressBackgroundColor(theme->GetBackgroundColor()); in FfiOHOSAceFrameworkRefreshCreate()
88 RefreshModel::GetInstance()->SetProgressBackgroundColor(theme->GetBackgroundColor()); in FfiOHOSAceFrameworkRefreshCreateWithChangeEvent()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.h50 uint32_t GetBackgroundColor() override;
112 uint32_t GetBackgroundColor();
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_theme_manager.h31 MOCK_METHOD(Color, GetBackgroundColor, (), (const));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.cpp161 Color RSModifierExtractor::GetBackgroundColor() const in GetBackgroundColor() function in OHOS::Rosen::RSModifierExtractor
494 if (!ROSEN_EQ(GetBackgroundColor(), RgbPalette::Transparent()) && in Dump()
495 …sprintf_s(buffer, UINT8_MAX, ", BackgroundColor[#%08X]", GetBackgroundColor().AsArgbInt()) != -1) { in Dump()

12345678910>>...12