Home
last modified time | relevance | path

Searched refs:blurDrawLooper (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Ddraw_textblob_test.cpp34 auto blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(3.f, in OnTestFunction() local
36 pen.SetLooper(blurDrawLooper); in OnTestFunction()
48 brush.SetLooper(blurDrawLooper); in OnTestFunction()
62 pen.SetLooper(blurDrawLooper); in OnTestFunction()
63 brush.SetLooper(blurDrawLooper); in OnTestFunction()
73 pen.SetLooper(blurDrawLooper); in OnTestFunction()
91 auto blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(3.f, in OnTestPerformance() local
93 brush.SetLooper(blurDrawLooper); in OnTestPerformance()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/blurdrawlooper_fuzzer/
H A Dblurdrawlooper_fuzzer.cpp40 …std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(blurRadius, … in BlurDrawLooperFuzzTest() local
43 blurDrawLooper->GetRadius(); in BlurDrawLooperFuzzTest()
44 blurDrawLooper->GetXOffset(); in BlurDrawLooperFuzzTest()
45 blurDrawLooper->GetYOffset(); in BlurDrawLooperFuzzTest()
46 blurDrawLooper->GetColor(); in BlurDrawLooperFuzzTest()
47 blurDrawLooper->GetMaskFilter(); in BlurDrawLooperFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/
H A Dblur_draw_looper_test.cpp52 std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(radius, variable
54 EXPECT_NE(blurDrawLooper, nullptr);
55 EXPECT_TRUE(IsScalarAlmostEqual(blurDrawLooper->GetRadius(), radius));
56 EXPECT_TRUE(IsScalarAlmostEqual(blurDrawLooper->GetXOffset(), point.GetX()));
57 EXPECT_TRUE(IsScalarAlmostEqual(blurDrawLooper->GetYOffset(), point.GetY()));
58 EXPECT_TRUE(color == blurDrawLooper->GetColor());
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/shadow_layer_napi/
H A Djs_shadow_layer.h28 explicit JsShadowLayer(std::shared_ptr<BlurDrawLooper> blurDrawLooper = nullptr)
29 : m_blurDrawLooper(blurDrawLooper) {}
41 …static napi_value CreateLooper(napi_env env, const std::shared_ptr<BlurDrawLooper> blurDrawLooper);
H A Djs_shadow_layer.cpp119 …lue JsShadowLayer::CreateLooper(napi_env env, const std::shared_ptr<BlurDrawLooper> blurDrawLooper) in CreateLooper() argument
123 if (objValue == nullptr || blurDrawLooper == nullptr) { in CreateLooper()
128 std::unique_ptr<JsShadowLayer> jsShadowLayer = std::make_unique<JsShadowLayer>(blurDrawLooper); in CreateLooper()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/brush_fuzzer/
H A Dbrush_fuzzer.cpp114 …std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(blurRadius, … in BrushFuzzTestInner05() local
115 brush.SetLooper(blurDrawLooper); in BrushFuzzTestInner05()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/paint_fuzzer/
H A Dpaint_fuzzer.cpp126 …std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(blurRadius, … in PaintFuzzTest002() local
127 paint.SetLooper(blurDrawLooper); in PaintFuzzTest002()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/pen_fuzzer/
H A Dpen_fuzzer.cpp121 …std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(blurRadius, … in PenFuzzTestInner04() local
122 PenTwo.SetLooper(blurDrawLooper); in PenFuzzTestInner04()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dbrush.cpp123 void Brush::SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper) in SetLooper() argument
125 blurDrawLooper_ = blurDrawLooper; in SetLooper()
H A Dpen.cpp232 void Pen::SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper) in SetLooper() argument
234 brush_.SetLooper(blurDrawLooper); in SetLooper()
H A Dpaint.cpp224 void Paint::SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper) in SetLooper() argument
226 blurDrawLooper_ = blurDrawLooper; in SetLooper()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dbrush.h263 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
H A Dpen.h306 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
H A Dpaint.h98 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dbrush_test.cpp619 std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(radius, variable
621 brush1.SetLooper(blurDrawLooper);
H A Dpen_test.cpp807 std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(radius, variable
809 pen1.SetLooper(blurDrawLooper);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp818 std::shared_ptr<BlurDrawLooper> blurDrawLooper) in AddBlurDrawLooperToCmdList() argument
820 if (blurDrawLooper == nullptr) { in AddBlurDrawLooperToCmdList()
825 auto data = blurDrawLooper->Serialize(); in AddBlurDrawLooperToCmdList()
H A Ddraw_cmd.cpp222 auto blurDrawLooper = CmdListHelper::GetBlurDrawLooperFromCmdList(cmdList, in GeneratePaintFromHandle() local
224 paint.SetLooper(blurDrawLooper); in GeneratePaintFromHandle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dcmd_list_helper.h227 …andle AddBlurDrawLooperToCmdList(CmdList& cmdList, std::shared_ptr<BlurDrawLooper> blurDrawLooper);