/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_transition_demo.cpp | 75 p.setColor(backgroundColor_->Get().AsArgbInt()); in Draw() 147 p.setColor(backgroundColor_.AsArgbInt()); in Draw() 199 p.setColor(backgroundColor_.AsArgbInt()); in Draw() 254 p.setColor(backgroundColor_.AsArgbInt()); in Draw() 308 p.setColor(backgroundColor_.AsArgbInt()); in Draw()
|
H A D | render_service_client_modifier_demo.cpp | 183 brush.SetColor(backgroundColor_->Get().AsArgbInt()); in Draw() 192 …std::cout << "Draw Get backgroundColor_ " << std::hex << backgroundColor_->Get().AsArgbInt() << st… in Draw() 251 target.SetBackgroundColor(color_->Get().AsArgbInt()); in Modify()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_dump.cpp | 323 out["ForegroundColor"] = "#" + Hex(properties.GetForegroundColor().AsArgbInt()) + " (ARGB)"; in DumpNodePropertiesDecoration() 326 out["BackgroundColor"] = "#" + Hex(properties.GetBackgroundColor().AsArgbInt()) + " (ARGB)"; in DumpNodePropertiesDecoration() 341 out["ShadowColor"] = "#" + Hex(properties.GetShadowColor().AsArgbInt()) + " (ARGB)"; in DumpNodePropertiesShadow() 434 out["ColorBlend"] = "#" + Hex(colorBlend->AsArgbInt()) + " (ARGB)"; in DumpNodePropertiesColor()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_border.cpp | 303 brush.SetColor(GetColor().AsArgbInt()); in ApplyFillStyle() 314 pen.SetColor(colors_.front().AsArgbInt()); in ApplyPathStyle() 343 pen.SetColor(color.AsArgbInt()); in ApplyLineStyle() 491 uint32_t color = GetColor(idx).AsArgbInt(); in DrawBorderImpl() 531 DrawNestedRoundRect(canvas, borderGeo, GetColor(idx1).AsArgbInt()); in DrawBorderImpl() 542 DrawNestedRoundRect(canvas, borderGeo, GetColor(idx1).AsArgbInt()); in DrawBorderImpl() 549 …if (GetColor(idx1).AsArgbInt() != GetColor(idx2).AsArgbInt() || GetStyle(idx1) != BorderStyle::SOL… in CanBeCombined() 920 ss << color.AsArgbInt() << ", "; in ToString()
|
H A D | rs_maskcolor_shader_filter.cpp | 76 brush.SetColor(maskColor_.AsArgbInt()); in PostProcess()
|
H A D | rs_particles_drawable.cpp | 91 pointColors_.push_back(Drawing::Color(color.AsArgbInt()).CastToColorQuad()); in CaculatePointAtlsArry() 131 imageColors_[imageIndex].push_back(Drawing::Color(color.AsArgbInt()).CastToColorQuad()); in CaculateImageAtlsArry()
|
H A D | rs_material_filter.cpp | 136 if (sprintf_s(maskColorStr, UINT8_MAX, "%08X", maskColor_.AsArgbInt()) != -1) { in GetDetailedDescription() 218 brush.SetColor(maskColor_.AsArgbInt()); in PostProcess()
|
H A D | rs_drawing_filter.cpp | 153 if (sprintf_s(maskColorStr, UINT8_MAX, "%08X", maskColor.AsArgbInt()) != -1) { in GetDetailedDescription()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_engine.cpp | 152 canvas.DrawColor(backgroundColor.AsArgbInt()); in DrawLayerPreProcess() 169 rectBrush.SetColor(backgroundColor.AsArgbInt()); in DrawLayerPreProcess()
|
H A D | rs_divided_render_util.cpp | 50 params.backgroundColor = static_cast<Drawing::ColorQuad>(backgroundColor.AsArgbInt()); in CreateBufferDrawParam()
|
H A D | rs_uni_ui_capture.cpp | 437 … auto backgroundColor = static_cast<Drawing::ColorQuad>(property.GetBackgroundColor().AsArgbInt()); in ProcessSurfaceViewWithUni()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_color.h | 49 uint32_t AsArgbInt() const;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 549 …wStyle(path, planeParams, lightPos, DEFAULT_LIGHT_RADIUS, Drawing::Color(ambientColor.AsArgbInt()), in Draw() 550 Drawing::Color(spotColor.AsArgbInt()), Drawing::ShadowFlags::TRANSPARENT_OCCLUDER, true); in Draw() 853 brush_.SetColor(fgColor.AsArgbInt()); in Update() 864 brush.SetColor(fgColor.AsArgbInt()); in Generate() 950 return std::make_unique<RSBackgroundColorDrawable>(bgColor.AsArgbInt()); in Generate() 960 brush_.SetColor(bgColor.AsArgbInt()); in Update()
|
H A D | rs_properties_painter.cpp | 434 Drawing::Color(ambientColor.AsArgbInt()), Drawing::Color(spotColor.AsArgbInt()), in DrawShadowInner() 1077 brush.SetColor(Drawing::Color(bgColor.AsArgbInt())); in DrawBackground() 1412 brush.SetColor(Drawing::Color(bgColor.AsArgbInt())); in DrawForegroundColor()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_paint_filter_canvas.cpp | 531 p.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in AttachPen() 558 b.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in AttachBrush() 585 p.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in AttachPaint() 741 return envStack_.top().envForegroundColor_.AsArgbInt(); in GetEnvForegroundColor()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_extractor.cpp | 495 …sprintf_s(buffer, UINT8_MAX, ", BackgroundColor[#%08X]", GetBackgroundColor().AsArgbInt()) != -1) { in Dump() 520 … "maskColor: %08X, colorMode: %d]", radius, saturation, brightness, maskColor.AsArgbInt(), in Dump()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolor_fuzzer/ |
H A D | rscolor_fuzzer.cpp | 152 color1.AsArgbInt(); in DoNoParameters()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_color.cpp | 100 uint32_t RSColor::AsArgbInt() const in AsArgbInt() function in OHOS::Rosen::RSColor
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/ |
H A D | rs_color_test.cpp | 174 EXPECT_EQ(color.AsArgbInt(), 16777216);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_utils.cpp | 982 …wStyle(path, planeParams, lightPos, DEFAULT_LIGHT_RADIUS, Drawing::Color(ambientColor.AsArgbInt()), in DrawShadow() 983 Drawing::Color(spotColor.AsArgbInt()), Drawing::ShadowFlags::TRANSPARENT_OCCLUDER, true); in DrawShadow() 1139 brush.SetColor(demoColor.AsArgbInt()); in DrawFilterWithDRM() 1370 "Brightness: %f, MaskColor: %08X", radius, saturation, brightness, maskColor.AsArgbInt()); in GenerateBehindWindowFilter()
|
H A D | rs_property_drawable_foreground.cpp | 196 brush.SetColor(Drawing::Color(fgColor.AsArgbInt())); in OnUpdate()
|
H A D | rs_property_drawable_background.cpp | 230 brush.SetColor(Drawing::Color(bgColor.AsArgbInt())); in OnUpdate()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_visitor.cpp | 1029 canvas_->Clear(backgroundColor.AsArgbInt()); in ClipHoleForSurfaceNode() 1076 canvas_->Clear(backgroundColor.AsArgbInt()); in ProcessTextureSurfaceRenderNode()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_paint_filter_canvas.h | 317 brush.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in OnFilterWithBrush()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_transition_test.cpp | 47 brush.SetColor(backgroundColor_->Get().AsArgbInt()); in Draw()
|