Home
last modified time | relevance | path

Searched refs:SetColor (Results 1 - 25 of 456) sorted by relevance

12345678910>>...19

/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drosen_render_radio.cpp63 brush.SetColor(activeColor_); in Paint()
65 brush.SetColor(Color(activeColor_).BlendOpacity(ConfigureOpacity(disabled_)).GetValue()); in Paint()
73 brush.SetColor(shadowColor_); in Paint()
81 brush.SetColor(pointColor_); in Paint()
88 brush.SetColor(inactivePointColor_); in Paint()
94 pen.SetColor(inactiveColor_); in Paint()
96 pen.SetColor(Color(inactiveColor_).BlendOpacity(ConfigureOpacity(disabled_)).GetValue()); in Paint()
105 pen.SetColor(inactivePointColor_); in Paint()
112 pen.SetColor(focusColor_); in Paint()
133 pen.SetColor(FOCUS_BORDER_COLO in DrawFocusBorder()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drosen_render_bubble_progress.cpp46 subCircleBrush.SetColor(Color(0xFF8A8A8A).GetValue()); in Paint()
74 subCircleBrush.SetColor(lightToDark_.GetValue()); in Paint()
76 subCircleBrush.SetColor(darkToLight_.GetValue()); in Paint()
78 subCircleBrush.SetColor(DARK_COLOR.GetValue()); in Paint()
80 subCircleBrush.SetColor(LIGHT_COLOR.GetValue()); in Paint()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dblank_modifier.cpp21 void SetColor(ArkUINodeHandle node, ArkUI_Uint32 value) in SetColor() function
25 BlankModelNG::SetColor(frameNode, Color(value)); in SetColor()
32 BlankModelNG::SetColor(frameNode, Color::TRANSPARENT); in ResetColor()
66 static const ArkUIBlankModifier modifier = { SetColor, ResetColor, SetBlankHeight, ResetBlankHeight, in GetBlankModifier()
73 static const CJUIBlankModifier modifier = { SetColor, ResetColor, SetBlankHeight, ResetBlankHeight, in GetCJUIBlankModifier()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_paint_method.cpp226 shadowBrush.SetColor(ToRSColor(shadowColor_)); in PaintRadio()
229 brush.SetColor( in PaintRadio()
232 brush.SetColor(ToRSColor(pointColor_->Get())); in PaintRadio()
246 brush.SetColor( in PaintRadio()
249 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintRadio()
258 outPen.SetColor( in PaintRadio()
261 outPen.SetColor(ToRSColor(activeColor_->Get())); in PaintRadio()
274 brush.SetColor(ToRSColor(inactivePointColor_.BlendOpacity(alphaCalculate))); in PaintRadio()
275 pen.SetColor(ToRSColor(inactiveColor_->Get().BlendOpacity(alphaCalculate))); in PaintRadio()
277 brush.SetColor(ToRSColo in PaintRadio()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpath_test.cpp59 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawStar()
64 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawStar()
124 pen.SetColor(Drawing::Color::COLOR_BLACK); in TestMoveTo()
156 pen.SetColor(Drawing::Color::COLOR_BLACK); in TestLineTo()
174 pen.SetColor(Drawing::Color::COLOR_BLACK); in TestArcTo()
177 pen.SetColor(Drawing::Color::COLOR_RED); in TestArcTo()
198 pen.SetColor(Drawing::Color::COLOR_BLACK); in TestCubicTo()
201 pen.SetColor(Drawing::Color::COLOR_RED); in TestCubicTo()
223 pen.SetColor(Drawing::Color::COLOR_BLACK); in TestQuadTo()
226 pen.SetColor(Drawin in TestQuadTo()
[all...]
H A Dfilter_test.cpp27 pen.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawFilter()
28 pen.SetColor(pen.GetColor4f(), ColorSpace::CreateSRGBLinear()); in TestDrawFilter()
39 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawFilter()
40 brush.SetColor(brush.GetColor4f(), ColorSpace::CreateSRGBLinear()); in TestDrawFilter()
H A Dmatrix_test.cpp25 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestMatrix()
29 brush.SetColor(Drawing::Color::COLOR_RED); in TestMatrix()
45 brush.SetColor(Drawing::Color::COLOR_GREEN); in TestMatrix()
57 brush.SetColor(Drawing::Color::COLOR_BLACK); in TestMatrix()
H A Dpen_test.cpp38 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenColor()
50 pen.SetColor({0.5f, 0.5f, 0.5f, 1.0f}, ColorSpace::CreateSRGB()); in TestPenColor()
56 pen.SetColor(c); in TestPenColor()
70 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenAlpha()
93 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenWidth()
113 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenMiterLimit()
150 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenCapStyle()
182 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenJoinStyle()
213 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenBlendMode()
223 blenderPen.SetColor(Drawin in TestPenBlendMode()
[all...]
H A Dpath_effect_test.cpp27 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawDashPathEffect()
35 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawDashPathEffect()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_sample_rs.cpp87 pen.SetColor(Drawing::Color::COLOR_GRAY); in TestDrawPath()
92 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawPath()
138 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawPathPro()
143 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawPathPro()
156 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawBase()
163 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawBase()
172 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawBase()
185 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawPathEffect()
193 brush.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawPathEffect()
208 pen.SetColor(Drawin in TestDrawFilter()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpen.cpp34 brush_.SetColor(c); in Pen()
39 brush_.SetColor(rgba); in Pen()
47 void Pen::SetColor(const Color& c) in SetColor() function in OHOS::Rosen::Drawing::Pen
49 brush_.SetColor(c); in SetColor()
52 void Pen::SetColor(uint32_t c) in SetColor() function in OHOS::Rosen::Drawing::Pen
54 brush_.SetColor(c); in SetColor()
77 void Pen::SetColor(const Color4f& cf, std::shared_ptr<ColorSpace> s) in SetColor() function in OHOS::Rosen::Drawing::Pen
79 brush_.SetColor(cf, s); in SetColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_stop.cpp36 svgNode->stopAttr_.gradientColor.SetColor(Color::BLACK); in Create()
56 attribute.gradientColor.SetColor(color); in ParseAndSetSpecializedAttr()
60 attribute.gradientColor.SetColor(color); in ParseAndSetSpecializedAttr()
70 attribute.gradientColor.SetColor(color); in ParseAndSetSpecializedAttr()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/
H A Dlogger_windows.cpp104 SetColor(outputStream, ColorCode::RED);
106 SetColor(outputStream, ColorCode::YELLOW);
108 SetColor(outputStream, ColorCode::BLACK_BRIGHT);
110 SetColor(outputStream, ColorCode::RESET);
114 SetColor(outputStream, ColorCode::RESET);
173 void SetColor(std::ostream& outputStream, ColorCode colorCode) in SetColor() function in final
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/
H A Dlogger_generic.cpp75 SetColor(outputStream, ColorCode::RED);
77 SetColor(outputStream, ColorCode::YELLOW);
79 SetColor(outputStream, ColorCode::BLACK_BRIGHT);
81 SetColor(outputStream, ColorCode::RESET);
85 SetColor(outputStream, ColorCode::RESET);
144 void SetColor(std::ostream& outputStream, ColorCode colorCode) in SetColor() function in final
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dpaint_record.h46 void SetColor(const RSColor& c) in SetColor() function
51 void SetColor(SkColor c) in SetColor() function
53 SetColor(ToRSColor(c)); in SetColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_modifier.cpp96 shadowPen.SetColor(ToRSColor(shadowColor_)); in PaintCheckBox()
104 brush.SetColor(ToRSColor(color->Get())); in PaintCheckBox()
106 pen.SetColor(ToRSColor(pointColor_->Get())); in PaintCheckBox()
108 brush.SetColor(ToRSColor(color->Get().BlendOpacity(static_cast<float>(DISABLED_ALPHA) / ENABLED_ALPHA))); in PaintCheckBox()
113 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintCheckBox()
114 pen.SetColor(ToRSColor(inactiveColor_->Get())); in PaintCheckBox()
116 brush.SetColor( in PaintCheckBox()
118 pen.SetColor( in PaintCheckBox()
130 brush.SetColor(ToRSColor(color->Get())); in PaintCheckBoxGroupPartStatus()
132 pen.SetColor(ToRSColo in PaintCheckBoxGroupPartStatus()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_loading_progress.cpp60 JSClass<JSLoadingProgress>::StaticMethod("color", &JSLoadingProgress::SetColor, opt); in JSBind()
78 void JSLoadingProgress::SetColor(const JSCallbackInfo& info) in SetColor() function in OHOS::OHOS::Ace::Framework::JSLoadingProgress
91 LoadingProgressModel::GetInstance()->SetColor(progressColor); in SetColor()
105 LoadingProgressModel::GetInstance()->SetColor(progressColor); in SetForegroundColor()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_gradient.cpp59 color.SetColor(Color::TRANSPARENT); in addColorStop()
71 color.SetColor(Color::TRANSPARENT); in addColorStop()
78 color.SetColor(colorFromString); in addColorStop()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dqrcode_component.cpp85 result = SetColor(*style, qrcodeBackGroundColor_); in ApplyPrivateStyle()
89 result = SetColor(*style, qrcodeColor_); in ApplyPrivateStyle()
105 bool QrcodeComponent::SetColor(const AppStyleItem &style, ColorType &colortype) in SetColor() function in OHOS::ACELite::QrcodeComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/
H A Dhyperlink_model_ng.h27 void SetColor(const Color& value) override;
30 static void SetColor(FrameNode* frameNode, const Color& value);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/
H A Dblank_model_ng.h28 void SetColor(const Color& color) override;
30 static void SetColor(FrameNode* frameNode, const Color& color);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Ddraw_rect_test.cpp22 brush.SetColor(0xFFFF0000); // color:red in OnTestFunction()
31 brush.SetColor(0xFFFF0000); // color:red in OnTestPerformance()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
H A Dloading_progress_model_ng.h37 void SetColor(const Color& value) override;
42 static void SetColor(FrameNode* frameNode, const Color& value);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dblank_model_impl.cpp50 void BlankModelImpl::SetColor(const Color& color) in SetColor() function in OHOS::Ace::Framework::BlankModelImpl
54 blank->SetColor(color); in SetColor()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_brush.h36 virtual void SetColor(const TestingColor& color) {} in SetColor() function in OHOS::Ace::Testing::TestingBrush
37 virtual void SetColor(int color) {} in SetColor() function in OHOS::Ace::Testing::TestingBrush

Completed in 11 milliseconds

12345678910>>...19