Home
last modified time | relevance | path

Searched refs:SetBackgroundColor (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_app_demo.cpp43 rootNode->SetBackgroundColor(Drawing::Color::COLOR_RED); in Init()
85 rootNode->SetBackgroundColor(Drawing::Color::COLOR_YELLOW); in main()
90 rootNode->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in main()
95 rootNode->SetBackgroundColor(Drawing::Color::COLOR_YELLOW); in main()
100 rootNode->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in main()
107 rootNode->SetBackgroundColor(Drawing::Color::COLOR_RED); in main()
H A Drender_service_client_first_frame_callback_demo.cpp43 rootNode->SetBackgroundColor(Drawing::Color::COLOR_RED); in Init()
85 rootNode->SetBackgroundColor(Drawing::Color::COLOR_YELLOW); in main()
90 rootNode->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in main()
99 rootNode->SetBackgroundColor(Drawing::Color::COLOR_YELLOW); in main()
108 rootNode->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in main()
H A Drender_service_client_transition_demo.cpp91 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in TransitionModifier1
115 SetBackgroundColor(Color(COLOR_VALUE_MAX, 0, 0)); in Active()
123 SetBackgroundColor(Color(0, 0, COLOR_VALUE_MAX)); in Identity()
162 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in TransitionModifier2
215 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in TransitionModifier3
270 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in TransitionModifier4
324 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in TransitionModifier5
354 transitionModifier2->SetBackgroundColor(Color(0, 0, COLOR_VALUE_MAX)); in Transition1()
391 transitionModifier2->SetBackgroundColor(Color(0, COLOR_VALUE_MAX, 0)); in Transition2()
392 transitionModifier3->SetBackgroundColor(Color(0, COLOR_VALUE_MAX, 0)); in Transition2()
[all …]
H A Drender_service_client_node_demo.cpp38 rootNode->SetBackgroundColor(SK_ColorWHITE); in Init()
43 nodes[0]->SetBackgroundColor(SK_ColorBLUE); in Init()
48 nodes[1]->SetBackgroundColor(SK_ColorBLUE); in Init()
53 nodes[2]->SetBackgroundColor(SK_ColorBLUE); in Init()
58 nodes[3]->SetBackgroundColor(SK_ColorBLUE); in Init()
H A Drender_service_client_modifier_demo.cpp46 rootNode->SetBackgroundColor(Drawing::Color::COLOR_YELLOW); in Init()
51 nodes[0]->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in Init()
58 nodes[1]->SetBackgroundColor(Drawing::Color::COLOR_BLUE); in Init()
225 void SetBackgroundColor(Color color) in SetBackgroundColor() function in CustomModifier
251 target.SetBackgroundColor(color_->Get().AsArgbInt()); in Modify()
347 customModifier->SetBackgroundColor(Color(0, 0, 255)); in main()
357 customModifier->SetBackgroundColor(Color(255, 0, 0)); in main()
H A Drender_service_client_uni_render_demo.cpp43 rootNode->SetBackgroundColor(Drawing::Color::COLOR_RED); in Init()
48 canvasNode->SetBackgroundColor(0x6600ff00); in Init()
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test/test_template/
H A Dtest_template.cpp46 testNode->SetBackgroundColor(0xffffff00); in GRAPHIC_TEST()
63 testNode->SetBackgroundColor(0xffffff00); in GRAPHIC_TEST()
80 testNode->SetBackgroundColor(0xffffff00); in GRAPHIC_N_TEST()
97 testNode->SetBackgroundColor(0xffffff00); in GRAPHIC_N_TEST()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dtoggle_button_model_ng.cpp51 void ToggleButtonModelNG::SetBackgroundColor(const Color& backgroundColor, bool flag) in SetBackgroundColor() function in OHOS::Ace::NG::ToggleButtonModelNG
66 NG::ViewAbstract::SetBackgroundColor(backgroundColor); in SetBackgroundColor()
74 void ToggleButtonModelNG::SetBackgroundColor(FrameNode* frameNode, const Color& backgroundColor) in SetBackgroundColor() function in OHOS::Ace::NG::ToggleButtonModelNG
82 NG::ViewAbstract::SetBackgroundColor(frameNode, backgroundColor); in SetBackgroundColor()
H A Dtoggle_button_model_ng.h30 static void SetBackgroundColor(const Color& backgroundColor, bool flag);
33 static void SetBackgroundColor(FrameNode* frameNode, const Color& backgroundColor);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_builder_test_ng.cpp175 model.SetBackgroundColor(Color::GRAY);
347 model.SetBackgroundColor(BG_COLOR);
391 model.SetBackgroundColor(BG_COLOR);
435 model.SetBackgroundColor(BG_COLOR);
479 model.SetBackgroundColor(BG_COLOR);
523 model.SetBackgroundColor(BG_COLOR);
739 model.SetBackgroundColor(BG_COLOR);
783 model.SetBackgroundColor(BG_COLOR);
827 model.SetBackgroundColor(BG_COLOR);
871 model.SetBackgroundColor(BG_COLOR);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_transition_test.cpp62 void SetBackgroundColor(Color backgroundColor) in SetBackgroundColor() function in OHOS::Rosen::TransitionModifier
83 SetBackgroundColor(Color(255, 0, 0)); in Active()
89 SetBackgroundColor(Color(0, 0, 255)); in Identity()
112 newCanvasNode->SetBackgroundColor(SK_ColorRED);
169 newCanvasNode->SetBackgroundColor(SK_ColorRED);
227 newCanvasNode->SetBackgroundColor(SK_ColorRED);
283 newCanvasNode->SetBackgroundColor(SK_ColorRED);
348 newCanvasNode->SetBackgroundColor(SK_ColorRED);
414 newCanvasNode->SetBackgroundColor(SK_ColorRED);
624 newCanvasNode->SetBackgroundColor(SK_ColorRED);
[all …]
H A Drs_animation_base_test.cpp60 rootNode->SetBackgroundColor(SK_ColorYELLOW); in InitNode()
65 canvasNode->SetBackgroundColor(SK_ColorBLUE); in InitNode()
138 canvasNode->SetBackgroundColor(SK_ColorBLUE); in ResetAnimationCanvasNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_theme.cpp37 theme->popupDecoration_->SetBackgroundColor(pattern->GetAttr<Color>("popup_bg_color", Color())); in Parse()
59 theme->selectedOptionDecoration_->SetBackgroundColor( in Parse()
67 theme->focusOptionDecoration_->SetBackgroundColor( in Parse()
79 …theme->popupOutDecoration_->SetBackgroundColor(pattern->GetAttr<Color>("picker_dialog_mask_color",… in Parse()
90 theme->popupDecoration_->SetBackgroundColor( in Parse()
H A Drender_picker_option.cpp41 pressDecoration_->SetBackgroundColor(PRESS_COLOR); in RenderPickerOption()
45 hoverDecoration_->SetBackgroundColor(HOVER_COLOR); in RenderPickerOption()
66 pressDecoration_->SetBackgroundColor(theme->GetPressColor()); in Update()
69 hoverDecoration_->SetBackgroundColor(HOVER_COLOR); in Update()
177 pressDecoration_->SetBackgroundColor(GetEventEffectColor()); in UpdateBackgroundDecoration()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dinput_button_component.cpp94 result = SetBackgroundColor(*style); in ApplyPrivateStyle()
144 bool InputButtonComponent::SetBackgroundColor(const AppStyleItem &style) in SetBackgroundColor() function in OHOS::ACELite::InputButtonComponent
150 Component::SetBackgroundColor(button_, style); in SetBackgroundColor()
152 Component::SetBackgroundColor(button_, style); in SetBackgroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_toggle.cpp43 toggleChild_->SetBackgroundColor(toggleTheme_->GetBackgroundColor()); in ResetInitializedStyle()
82 toggle.toggleChild_->SetBackgroundColor(toggle.ParseColor(value)); in SetSpecializedStyle()
180 toggleChild_->SetBackgroundColor(Color::TRANSPARENT); in PrepareSpecializedComponent()
202 toggleChild_->SetBackgroundColor(backgroundColor_); in ResetColorStyle()
212 … toggleChild_->SetBackgroundColor(toggleChild_->GetBackgroundColor().BlendOpacity(blendOpacity_)); in PrepareDisabledStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dqrcode_model_impl.cpp28 qrcode->SetBackgroundColor(Color::WHITE); in Create()
45 qrcode->SetBackgroundColor(color); in SetQRBackgroundColor()
H A Dcounter_model_impl.cpp80 void CounterModelImpl::SetBackgroundColor(const Color& value) in SetBackgroundColor() function in OHOS::Ace::Framework::CounterModelImpl
84 counterComponent->SetBackgroundColor(value); in SetBackgroundColor()
H A Dprogress_model_impl.cpp81 void ProgressModelImpl::SetBackgroundColor(const Color& value) in SetBackgroundColor() function in OHOS::Ace::Framework::ProgressModelImpl
95 track->SetBackgroundColor(value); in SetBackgroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/counter/
H A Dcounter_component.cpp104 button->SetBackgroundColor(propBackgroundColor_); in BuildControl()
125 button->SetBackgroundColor(Color::GRAY); in BuildControl()
143 button->SetBackgroundColor(Color::GRAY); in BuildControl()
173 backDecoration->SetBackgroundColor(propBackgroundColor_); in BuildContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/counter/
H A Dcounter_model_ng.h34 void SetBackgroundColor(const Color& value) override;
41 static void SetBackgroundColor(FrameNode* frameNode, const Color& value);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_textinput_theme.h38 … TextFieldModel::GetInstance()->SetBackgroundColor(themeColors->CompBackgroundTertiary(), false); in ApplyTheme()
54 … TextFieldModel::GetInstance()->SetBackgroundColor(themeColors->CompBackgroundTertiary(), false); in ApplyTheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Dbutton_component.cpp83 buttonComponent->SetBackgroundColor(buttonTheme->GetBgColor()); in Build()
235 void ButtonComponent::SetBackgroundColor(const Color& color) in SetBackgroundColor() function in OHOS::Ace::ButtonComponent
237 declaration_->SetBackgroundColor(color); in SetBackgroundColor()
311 SetBackgroundColor(theme->GetBgColor()); in ApplyTheme()
330 SetBackgroundColor(Color(WATCH_BACKGROUND_COLOR)); in ApplyTheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Dqrcode_component.cpp85 void QrcodeComponent::SetBackgroundColor(const Color& backgroundColor) in SetBackgroundColor() function in OHOS::Ace::QrcodeComponent
87 declaration_->SetBackgroundColor(backgroundColor); in SetBackgroundColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/qrcode/
H A Dqrcode_declaration.cpp39 SetBackgroundColor(qrcodeTheme->GetBackgroundColor()); in InitializeStyle()
68 declaration.SetBackgroundColor(declaration.ParseColor(value)); in SetSpecializedStyle()

12345678910>>...17