Home
last modified time | relevance | path

Searched refs:SetBackgroundStyle (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcircle_progress_component.cpp35 progressView_.SetBackgroundStyle(StyleDefault::GetBrightStyle()); in CreateNativeViews()
41 …progressView_.SetBackgroundStyle(STYLE_LINE_WIDTH, defaultLineWidth); // Compatible with rich devi… in CreateNativeViews()
42 progressView_.SetBackgroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in CreateNativeViews()
47 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews()
48 progressView_.SetBackgroundStyle(STYLE_LINE_OPA, alpha); in CreateNativeViews()
155 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcBackgroundColor()
156 progressView_.SetBackgroundStyle(STYLE_LINE_OPA, alpha); in SetArcBackgroundColor()
188 progressView_.SetBackgroundStyle(STYLE_LINE_WIDTH, GetStylePixelValue(style)); in SetArcProgressStyle()
H A Dhorizon_progress_component.cpp51 progressView_.SetBackgroundStyle(backStyle); in CreateNativeViews()
55 progressView_.SetBackgroundStyle(STYLE_BORDER_WIDTH, 0); in CreateNativeViews()
57 progressView_.SetBackgroundStyle( in CreateNativeViews()
97 progressView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
98 progressView_.SetBackgroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetHorizonProgressStyle()
H A Dslider_component.cpp94 sliderView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
95 sliderView_.SetBackgroundStyle(STYLE_BACKGROUND_OPA, alpha); in ApplyPrivateStyle()
174 sliderView_.SetBackgroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in OnViewAttached()
176 sliderView_.SetBackgroundStyle(STYLE_BORDER_WIDTH, 0); in OnViewAttached()
H A Dpanel_view.cpp155 videoSlider_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in SetVideoSlider()
156 videoSlider_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetVideoSlider()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_progress.h227 void SetBackgroundStyle(const Style& style);
237 void SetBackgroundStyle(uint8_t key, int64_t value);
308 SetBackgroundStyle(STYLE_LINE_CAP, cap); in SetCapType()
H A Dui_slider.h218 SetBackgroundStyle(STYLE_BACKGROUND_COLOR, backgroundColor.full); in SetSliderColor()
232 SetBackgroundStyle(STYLE_BORDER_RADIUS, backgroundRadius); in SetSliderRadius()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_slider/
H A Dui_test_slider.cpp443 slider_->SetBackgroundStyle(StyleDefault::GetProgressBackgroundStyle()); in OnClick()
541 slider_->SetBackgroundStyle(style); in ExpandClick2()
547 slider_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in ExpandClick2()
572 slider_->SetBackgroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in ExpandClick2()
573 slider_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, BACKGROUND_OPA); in ExpandClick2()
574 slider_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in ExpandClick2()
/ohos5.0/base/update/updater/services/ui/view/component/
H A Dbox_progress_adapter.cpp32 this->SetBackgroundStyle(OHOS::STYLE_BACKGROUND_COLOR, bgColor.full); in BoxProgressAdapter()
33 this->SetBackgroundStyle(OHOS::STYLE_BACKGROUND_OPA, bgColor.alpha); in BoxProgressAdapter()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_progress_bar/
H A Dui_test_box_progress.cpp61 boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in SetUp()
335 …boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 182, 191).full); in OnClick()
401 boxProgress_->SetBackgroundStyle(style); in OnClick()
405 boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in OnClick()
406 boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, 128); // 128: opa in OnClick()
H A Dui_test_circle_progress.cpp381 circleProgress_->SetBackgroundStyle(StyleDefault::GetProgressBackgroundStyle()); in OnClick()
419 circleProgress_->SetBackgroundStyle(style); in OnClick()
423 circleProgress_->SetBackgroundStyle(STYLE_LINE_COLOR, Color::Red().full); in OnClick()
464 circleProgress_->SetBackgroundStyle(STYLE_LINE_WIDTH, in OnClick()
469 circleProgress_->SetBackgroundStyle(STYLE_LINE_WIDTH, in OnClick()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_progress.cpp140 void UIAbstractProgress::SetBackgroundStyle(const Style& style) in SetBackgroundStyle() function in OHOS::UIAbstractProgress
153 void UIAbstractProgress::SetBackgroundStyle(uint8_t key, int64_t value) in SetBackgroundStyle() function in OHOS::UIAbstractProgress
H A Dui_video.cpp509 …playSlider_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, 0x1A888888); // 0x1A888888:slider backgrou… in InitControllerSlider()
510 playSlider_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, 90); // 90:background opa in InitControllerSlider()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_scale_rotate/
H A Dui_test_view_scale_rotate.cpp156 boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewScaleRotateTestUIBoxProgress004()
157 boxProgress_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitViewScaleRotateTestUIBoxProgress004()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_abstract_progress_unit_test.cpp158 abstractProgress_->SetBackgroundStyle(style);
163 abstractProgress_->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::Silver().full);
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_dump_dom_tree/
H A Dui_test_dump_dom.cpp313 …slider->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 182, 191).full); // 1… in UIKitTestDumpDom003()
359 … boxProgress->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 182, 191).full); in UIKitTestDumpDom004()
479 circleProgress->SetBackgroundStyle(StyleDefault::GetProgressBackgroundStyle()); in UIKitTestDumpDom006()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp421 boxProgress->SetBackgroundStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in UIKitUITestBorderMarginPaddingTest004()