Home
last modified time | relevance | path

Searched refs:AsArgbInt (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_transition_demo.cpp75 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 Drender_service_client_modifier_demo.cpp183 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 Drs_profiler_dump.cpp323 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 Drs_border.cpp303 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 Drs_maskcolor_shader_filter.cpp76 brush.SetColor(maskColor_.AsArgbInt()); in PostProcess()
H A Drs_particles_drawable.cpp91 pointColors_.push_back(Drawing::Color(color.AsArgbInt()).CastToColorQuad()); in CaculatePointAtlsArry()
131 imageColors_[imageIndex].push_back(Drawing::Color(color.AsArgbInt()).CastToColorQuad()); in CaculateImageAtlsArry()
H A Drs_material_filter.cpp136 if (sprintf_s(maskColorStr, UINT8_MAX, "%08X", maskColor_.AsArgbInt()) != -1) { in GetDetailedDescription()
218 brush.SetColor(maskColor_.AsArgbInt()); in PostProcess()
H A Drs_drawing_filter.cpp153 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 Drs_uni_render_engine.cpp152 canvas.DrawColor(backgroundColor.AsArgbInt()); in DrawLayerPreProcess()
169 rectBrush.SetColor(backgroundColor.AsArgbInt()); in DrawLayerPreProcess()
H A Drs_divided_render_util.cpp50 params.backgroundColor = static_cast<Drawing::ColorQuad>(backgroundColor.AsArgbInt()); in CreateBufferDrawParam()
H A Drs_uni_ui_capture.cpp437 … 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 Drs_color.h49 uint32_t AsArgbInt() const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp549 …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 Drs_properties_painter.cpp434 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 Drs_paint_filter_canvas.cpp531 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 Drs_modifier_extractor.cpp495 …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 Drscolor_fuzzer.cpp152 color1.AsArgbInt(); in DoNoParameters()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_color.cpp100 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 Drs_color_test.cpp174 EXPECT_EQ(color.AsArgbInt(), 16777216);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp982 …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 Drs_property_drawable_foreground.cpp196 brush.SetColor(Drawing::Color(fgColor.AsArgbInt())); in OnUpdate()
H A Drs_property_drawable_background.cpp230 brush.SetColor(Drawing::Color(bgColor.AsArgbInt())); in OnUpdate()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread_visitor.cpp1029 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 Drs_paint_filter_canvas.h317 brush.SetColor(envStack_.top().envForegroundColor_.AsArgbInt()); in OnFilterWithBrush()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_transition_test.cpp47 brush.SetColor(backgroundColor_->Get().AsArgbInt()); in Draw()

12