/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | draw_textblob_test.cpp | 34 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 D | blurdrawlooper_fuzzer.cpp | 40 …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 D | blur_draw_looper_test.cpp | 52 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 D | js_shadow_layer.h | 28 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 D | js_shadow_layer.cpp | 119 …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 D | brush_fuzzer.cpp | 114 …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 D | paint_fuzzer.cpp | 126 …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 D | pen_fuzzer.cpp | 121 …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 D | brush.cpp | 123 void Brush::SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper) in SetLooper() argument 125 blurDrawLooper_ = blurDrawLooper; in SetLooper()
|
H A D | pen.cpp | 232 void Pen::SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper) in SetLooper() argument 234 brush_.SetLooper(blurDrawLooper); in SetLooper()
|
H A D | paint.cpp | 224 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 D | brush.h | 263 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
|
H A D | pen.h | 306 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
|
H A D | paint.h | 98 void SetLooper(std::shared_ptr<BlurDrawLooper> blurDrawLooper);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | brush_test.cpp | 619 std::shared_ptr<BlurDrawLooper> blurDrawLooper = BlurDrawLooper::CreateBlurDrawLooper(radius, variable 621 brush1.SetLooper(blurDrawLooper);
|
H A D | pen_test.cpp | 807 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 D | cmd_list_helper.cpp | 818 std::shared_ptr<BlurDrawLooper> blurDrawLooper) in AddBlurDrawLooperToCmdList() argument 820 if (blurDrawLooper == nullptr) { in AddBlurDrawLooperToCmdList() 825 auto data = blurDrawLooper->Serialize(); in AddBlurDrawLooperToCmdList()
|
H A D | draw_cmd.cpp | 222 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 D | cmd_list_helper.h | 227 …andle AddBlurDrawLooperToCmdList(CmdList& cmdList, std::shared_ptr<BlurDrawLooper> blurDrawLooper);
|