Home
last modified time | relevance | path

Searched refs:SetForegroundStyle (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcircle_progress_component.cpp50 progressView_.SetForegroundStyle(StyleDefault::GetBrightColorStyle()); in CreateNativeViews()
51 progressView_.SetForegroundStyle(STYLE_BACKGROUND_OPA, 0); in CreateNativeViews()
52 progressView_.SetForegroundStyle(STYLE_BORDER_OPA, 0); in CreateNativeViews()
53 progressView_.SetForegroundStyle(STYLE_LINE_WIDTH, defaultLineWidth); in CreateNativeViews()
54 progressView_.SetForegroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in CreateNativeViews()
57 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews()
58 progressView_.SetForegroundStyle(STYLE_LINE_OPA, OPA_OPAQUE); in CreateNativeViews()
143 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcColor()
144 progressView_.SetForegroundStyle(STYLE_LINE_OPA, alpha); in SetArcColor()
189 progressView_.SetForegroundStyle(STYLE_LINE_WIDTH, GetStylePixelValue(style)); in SetArcProgressStyle()
H A Dhorizon_progress_component.cpp50 progressView_.SetForegroundStyle(progressStyle); in CreateNativeViews()
54 progressView_.SetForegroundStyle(STYLE_BORDER_WIDTH, 0); in CreateNativeViews()
87 progressView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
88 progressView_.SetForegroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetHorizonProgressStyle()
H A Dslider_component.cpp103 sliderView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
104 sliderView_.SetForegroundStyle(STYLE_BACKGROUND_OPA, alpha); in ApplyPrivateStyle()
175 sliderView_.SetForegroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in OnViewAttached()
177 sliderView_.SetForegroundStyle(STYLE_BORDER_WIDTH, 0); in OnViewAttached()
H A Dpanel_view.cpp158 videoSlider_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in SetVideoSlider()
159 videoSlider_->SetForegroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetVideoSlider()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_progress.h267 void SetForegroundStyle(const Style& style);
277 void SetForegroundStyle(uint8_t key, int64_t value);
309 SetForegroundStyle(STYLE_LINE_CAP, cap); in SetCapType()
H A Dui_slider.h219 SetForegroundStyle(STYLE_BACKGROUND_COLOR, foregroundColor.full); in SetSliderColor()
233 SetForegroundStyle(STYLE_BORDER_RADIUS, foregroundRadius); in SetSliderRadius()
H A Dui_circle_progress.h240 SetForegroundStyle(STYLE_LINE_COLOR, color.full); in SetLineColor()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_progress_bar/
H A Dui_test_circle_progress.cpp382 circleProgress_->SetForegroundStyle(StyleDefault::GetProgressForegroundStyle()); in OnClick()
384 circleProgress_->SetForegroundStyle(STYLE_LINE_WIDTH, 40); // 40: value in OnClick()
385 circleProgress_->SetForegroundStyle(STYLE_LINE_OPA, 127); // 127: value in OnClick()
421 circleProgress_->SetForegroundStyle(style); in OnClick()
424 circleProgress_->SetForegroundStyle(STYLE_LINE_COLOR, Color::Yellow().full); in OnClick()
466 circleProgress_->SetForegroundStyle(STYLE_LINE_WIDTH, in OnClick()
471 circleProgress_->SetForegroundStyle(STYLE_LINE_WIDTH, in OnClick()
H A Dui_test_box_progress.cpp62 boxProgress_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in SetUp()
337 …boxProgress_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(255, 152, 0).full); in OnClick()
403 boxProgress_->SetForegroundStyle(style); in OnClick()
407 boxProgress_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::Blue().full); in OnClick()
/ohos5.0/base/update/updater/services/ui/view/component/
H A Dbox_progress_adapter.cpp36 this->SetForegroundStyle(OHOS::STYLE_BACKGROUND_COLOR, fgColor.full); in BoxProgressAdapter()
37 this->SetForegroundStyle(OHOS::STYLE_BACKGROUND_OPA, fgColor.alpha); in BoxProgressAdapter()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_slider/
H A Dui_test_slider.cpp444 slider_->SetForegroundStyle(StyleDefault::GetProgressForegroundStyle()); in OnClick()
543 slider_->SetForegroundStyle(style); in ExpandClick2()
548 slider_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in ExpandClick2()
575 slider_->SetForegroundStyle(STYLE_LINE_CAP, CapType::CAP_ROUND); in ExpandClick2()
576 slider_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, in ExpandClick2()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_progress.cpp176 void UIAbstractProgress::SetForegroundStyle(const Style& style) in SetForegroundStyle() function in OHOS::UIAbstractProgress
189 void UIAbstractProgress::SetForegroundStyle(uint8_t key, int64_t value) in SetForegroundStyle() function in OHOS::UIAbstractProgress
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_abstract_progress_unit_test.cpp184 abstractProgress_->SetForegroundStyle(style);
189 abstractProgress_->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::White().full);
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_dump_dom_tree/
H A Dui_test_dump_dom.cpp314 …slider->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(255, 152, 0).full); // 2… in UIKitTestDumpDom003()
361 … boxProgress->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(255, 152, 0).full); in UIKitTestDumpDom004()
480 circleProgress->SetForegroundStyle(StyleDefault::GetProgressForegroundStyle()); in UIKitTestDumpDom006()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp422 boxProgress->SetForegroundStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in UIKitUITestBorderMarginPaddingTest004()