Home
last modified time | relevance | path

Searched refs:SetColor (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/ohos5.0/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()
226 pen.SetColor(Drawing::Color::COLOR_RED); in TestQuadTo()
508 pen.SetColor(Drawing::Color::COLOR_RED); in TestOffset()
[all …]
H A Dpen_test.cpp38 pen.SetColor(Drawing::Color::COLOR_RED); 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()
235 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenAntiAlias()
258 pen.SetColor(Drawing::Color::COLOR_RED); in TestPenPathEffect()
[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()
/ohos5.0/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()
156 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawBase()
163 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawBase()
185 pen.SetColor(Drawing::Color::COLOR_RED); in TestDrawPathEffect()
208 pen.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawFilter()
243 pen.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawBitmap()
275 pen.SetColor(Drawing::Color::COLOR_BLUE); in TestDrawImage()
276 pen.SetColor(pen.GetColor4f(), c); in TestDrawImage()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_paint_method.cpp233 shadowBrush.SetColor(ToRSColor(shadowColor_)); in PaintRadio()
236 brush.SetColor( in PaintRadio()
239 brush.SetColor(ToRSColor(pointColor_->Get())); in PaintRadio()
253 brush.SetColor( in PaintRadio()
256 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintRadio()
265 outPen.SetColor( in PaintRadio()
284 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintRadio()
310 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintUnselectedIndicator()
311 pen.SetColor(ToRSColor(inactiveColor_->Get())); in PaintUnselectedIndicator()
338 pen.SetColor( in PaintIndicator()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dblank_modifier.cpp25 void SetColor(ArkUINodeHandle node, ArkUI_Uint32 value) in SetColor() function
29 BlankModelNG::SetColor(frameNode, Color(value)); in SetColor()
36 BlankModelNG::SetColor(frameNode, Color::TRANSPARENT); in ResetColor()
70 …static const ArkUIBlankModifier modifier = { SetColor, ResetColor, SetBlankHeight, ResetBlankHeigh… in GetBlankModifier()
77 …static const CJUIBlankModifier modifier = { SetColor, ResetColor, SetBlankHeight, ResetBlankHeight, in GetCJUIBlankModifier()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drosen_render_radio.cpp118 brush.SetColor(activeColor_); in Paint()
120 … brush.SetColor(Color(activeColor_).BlendOpacity(ConfigureOpacity(disabled_)).GetValue()); in Paint()
128 brush.SetColor(shadowColor_); in Paint()
136 brush.SetColor(pointColor_); in Paint()
143 brush.SetColor(inactivePointColor_); in Paint()
149 pen.SetColor(inactiveColor_); in Paint()
151 … pen.SetColor(Color(inactiveColor_).BlendOpacity(ConfigureOpacity(disabled_)).GetValue()); in Paint()
160 pen.SetColor(inactivePointColor_); in Paint()
167 pen.SetColor(focusColor_); in Paint()
201 pen.SetColor(FOCUS_BORDER_COLOR); in DrawFocusBorder()
H A Drosen_render_switch.cpp157 trackPaint.brush.SetColor(trackColor); in PaintTrack()
163 trackPaint.pen.SetColor(trackColor); in PaintTrack()
201 brush.SetColor(pointColor); in PaintCenterPoint()
211 pen.SetColor(shadowColor_); in PaintCenterPoint()
279 trackPaint.brush.SetColor(inactiveColor_); in DrawTrackOffAndOn()
285 trackPaint.pen.SetColor(inactiveColor_); in DrawTrackOffAndOn()
317 trackPaint.brush.SetColor(activeColor_); in DrawTrackOffAndOn()
322 trackPaint.pen.SetColor(activeColor_); in DrawTrackOffAndOn()
429 pen.SetColor(FOCUS_BORDER_COLOR); in PaintFocusBorder()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_modifier.cpp102 shadowPen.SetColor(ToRSColor(shadowColor_)); in PaintCheckBox()
110 brush.SetColor(ToRSColor(color->Get())); in PaintCheckBox()
112 pen.SetColor(ToRSColor(pointColor_->Get())); in PaintCheckBox()
119 brush.SetColor(ToRSColor(inactivePointColor_)); in PaintCheckBox()
120 pen.SetColor(ToRSColor(inactiveColor_->Get())); in PaintCheckBox()
122 brush.SetColor( in PaintCheckBox()
124 pen.SetColor( in PaintCheckBox()
136 brush.SetColor(ToRSColor(color->Get())); in PaintCheckBoxGroupPartStatus()
138 pen.SetColor(ToRSColor(pointColor_->Get())); in PaintCheckBoxGroupPartStatus()
251 shadowPen.SetColor(ToRSColor(shadowColor_)); in DrawPart()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/
H A Dlogger_generic.cpp75 SetColor(outputStream, ColorCode::RED); in Write()
77 SetColor(outputStream, ColorCode::YELLOW); in Write()
79 SetColor(outputStream, ColorCode::BLACK_BRIGHT); in Write()
81 SetColor(outputStream, ColorCode::RESET); in Write()
85 SetColor(outputStream, ColorCode::RESET); in Write()
144 void SetColor(std::ostream& outputStream, ColorCode colorCode) in SetColor() function in StdOutput
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/
H A Dlogger_windows.cpp104 SetColor(outputStream, ColorCode::RED); in Write()
106 SetColor(outputStream, ColorCode::YELLOW); in Write()
108 SetColor(outputStream, ColorCode::BLACK_BRIGHT); in Write()
110 SetColor(outputStream, ColorCode::RESET); in Write()
114 SetColor(outputStream, ColorCode::RESET); in Write()
173 void SetColor(std::ostream& outputStream, ColorCode colorCode) in SetColor() function in StdOutput
/ohos5.0/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::Ace::Framework::JSLoadingProgress
91 LoadingProgressModel::GetInstance()->SetColor(progressColor); in SetColor()
105 LoadingProgressModel::GetInstance()->SetColor(progressColor); in SetForegroundColor()
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Drender_indexer_item.cpp112 box->SetColor(color, true); in UpdateItemBackground()
211 box->SetColor(value, true); in CreateColorAnimation()
269 box->SetColor(Color(INDEXER_CIRCLE_ACTIVE_BG_COLOR), true); in UpdateItemStyle()
271 box->SetColor(Color(INDEXER_ACTIVE_BG_COLOR), true); in UpdateItemStyle()
274 box->SetColor(Color(INDEXER_ACTIVE_BG_COLOR), true); in UpdateItemStyle()
278 box->SetColor(Color::TRANSPARENT, true); in UpdateItemStyle()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/
H A DLoggerOutput.cpp144 void SetColor(std::ostream &outputStream, ColorCode aColorCode) in SetColor() function in lume::StdOutput
181 SetColor(outputStream, ColorCode::RED); in write()
185 SetColor(outputStream, ColorCode::YELLOW); in write()
189 SetColor(outputStream, ColorCode::BLACK_BRIGHT); in write()
193 SetColor(outputStream, ColorCode::RESET); in write()
197 SetColor(outputStream, ColorCode::RESET); in write()
/ohos5.0/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
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dpen_test.cpp134 pen->SetColor(color);
151 pen->SetColor(color);
167 pen->SetColor(255); // color value
181 pen->SetColor(100); // color value
225 pen->SetColor(color4f, colorSpace);
246 pen->SetColor(color4f, colorSpace);
267 pen->SetColor(color4f, colorSpace);
288 pen->SetColor(color4f, colorSpace);
305 pen->SetColor(color4f, colorSpace);
323 pen->SetColor(color4f, colorSpace);
[all …]
H A Dbrush_test.cpp160 brush->SetColor(color);
177 brush->SetColor(color);
223 brush->SetColor(color4f, colorSpace);
244 brush->SetColor(color4f, colorSpace);
265 brush->SetColor(color4f, colorSpace);
286 brush->SetColor(color4f, colorSpace);
303 brush->SetColor(color4f, colorSpace);
321 brush->SetColor(color, colorSpace);
338 brush->SetColor(color, colorSpace);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_gradient.cpp60 color.SetColor(Color::TRANSPARENT); in addColorStop()
72 color.SetColor(Color::TRANSPARENT); in addColorStop()
79 color.SetColor(colorFromString); in addColorStop()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_scroll_bar_painter.cpp114 pen.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintCircleBar()
124 pen.SetColor(scrollBar->GetForegroundColor().GetValue()); in PaintCircleBar()
177 pen.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintRectBar()
178 brush.SetColor(scrollBar->GetBackgroundColor().GetValue()); in PaintRectBar()
188 pen.SetColor(scrollBar->GetForegroundColor().BlendOpacity(alpha / FULL_ALPHA).GetValue()); in PaintRectBar()
189 brush.SetColor(scrollBar->GetForegroundColor().BlendOpacity(alpha / FULL_ALPHA).GetValue()); in PaintRectBar()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_paint_method.cpp117 brush.SetColor(ToRSColor(animatableBoardColor_->Get())); in PaintCheckBox()
120 brush.SetColor( in PaintCheckBox()
124 pen.SetColor(ToRSColor(animatableBorderColor_->Get())); in PaintCheckBox()
126 pen.SetColor( in PaintCheckBox()
132 pen.SetColor(ToRSColor(animatableCheckColor_->Get())); in PaintCheckBox()
133 shadowPen.SetColor(ToRSColor(animatableShadowColor_->Get())); in PaintCheckBox()
145 brush.SetColor(ToRSColor(animateTouchHoverColor_->Get())); in DrawTouchAndHoverBoard()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Drosen_render_pattern_lock.cpp87 brush.SetColor(regularColor_.GetValue()); in PaintLockCircle()
96 brush.SetColor(activeColor_.GetValue()); in PaintLockCircle()
101 brush.SetColor(selectedColor_.GetValue()); in PaintLockCircle()
109 brush.SetColor(selectedColor_.GetValue()); in PaintLockCircle()
114 brush.SetColor(selectedColor_.GetValue()); in PaintLockCircle()
121 brush.SetColor(selectedColor_.GetValue()); in PaintLockCircle()
210 penStroke.SetColor(pathColorAlpha255.GetValue()); in PaintLockLine()

12345678910>>...19