/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_op.h | 41 struct Op { struct 45 static_assert(sizeof(Op) == 4, "size of canvas op shoule be 4"); 47 struct SaveOp final : Op { 52 struct RestoreOp final : Op { 57 struct FillRectOp final : Op { 64 struct FillTextOp final : Op { 74 struct BezierCurveToOp final : Op { 81 struct SetTransformOp final : Op { 88 struct SetFillColorOp final : Op { 95 struct SetFillGradientOp final : Op { [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | type_traits.h | 34 template<typename Void, template<class...> class Op, typename... Args> 40 template<template<class...> class Op, typename... Args> 41 struct IsDetected<decltype(BASE_NS::declval<Op<Args...>>(), void()), Op, Args...> { 43 using type = Op<Args...>; 46 template<template<class...> class Op, typename... Args> 47 constexpr bool IsDetected_v = IsDetected<void, Op, Args...>::value; // NOLINT(readability-identifier-naming) 50 template<template<class...> class Op, typename... Args> 51 constexpr bool IsDetectedWithValue_v = IsDetected<void, Op, Args...>::type::value;
|
/foundation/resourceschedule/ffrt/src/sched/ |
H A D | task_state.h | 33 using Op = typename std::function<bool(CPUEUTask*)>; 96 static void RegisterOps(State state, Op&& op) in RegisterOps() 101 static int OnTransition(State state, CPUEUTask* task, Op&& op = Op()); 132 static std::array<Op, static_cast<size_t>(TaskState::MAX)> ops;
|
H A D | task_state.cpp | 22 std::array<TaskState::Op, static_cast<size_t>(TaskState::MAX)> TaskState::ops; 24 int TaskState::OnTransition(State state, CPUEUTask* task, Op&& op) in OnTransition()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/ |
H A D | region_test.cpp | 152 EXPECT_FALSE(region->Op(other, RegionOp::DIFFERENCE)); in HWTEST_F() 170 EXPECT_TRUE(region->Op(other, RegionOp::DIFFERENCE)); in HWTEST_F() 188 EXPECT_TRUE(region->Op(other, RegionOp::INTERSECT)); in HWTEST_F() 206 EXPECT_TRUE(region->Op(other, RegionOp::UNION)); in HWTEST_F() 224 EXPECT_TRUE(region->Op(other, RegionOp::XOR)); in HWTEST_F() 242 EXPECT_TRUE(region->Op(other, RegionOp::REVERSE_DIFFERENCE)); in HWTEST_F() 260 EXPECT_TRUE(region->Op(other, RegionOp::REPLACE)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_clip_path.cpp | 40 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath() 50 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
|
H A D | svg_defs.h | 77 Op(path, childPath, kUnion_SkPathOp, &path); 87 path.Op(path, childPath, RSPathOp::UNION);
|
H A D | svg_svg.cpp | 105 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath() 115 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
|
H A D | svg_g.cpp | 92 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath() 102 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_g.cpp | 33 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath() 43 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
|
H A D | svg_quote.h | 40 Op(path, childPath, kUnion_SkPathOp, &path); 50 path.Op(path, childPath, RSPathOp::UNION);
|
H A D | svg_defs.h | 52 path.Op(path, childPath, RSPathOp::UNION);
|
H A D | svg_svg.cpp | 39 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath() 49 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | region.cpp | 76 bool Region::Op(const Region& region, RegionOp op) in Op() function in OHOS::Rosen::Drawing::Region 78 return impl_->Op(region, op); in Op()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_cpu_overdraw_canvas_listener.cpp | 45 toDraw.Op(drawed, Drawing::RegionOp::DIFFERENCE); in Draw() 49 drawed.Op(toDraw, Drawing::RegionOp::UNION); in Draw() 205 regi.Op(target, Drawing::RegionOp::INTERSECT); in AppendRegion() 206 regions_[i + 1].Op(regi, Drawing::RegionOp::UNION); in AppendRegion() 209 regions_[1].Op(target, Drawing::RegionOp::UNION); in AppendRegion()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_region.cpp | 105 bool SkiaRegion::Op(const Region& region, RegionOp op) in Op() function in OHOS::Rosen::Drawing::SkiaRegion 109 LOGD("SkiaRegion::Op, skRegion is nullptr"); in Op() 112 return skRegion_->op(*skRegion, static_cast<SkRegion::Op>(op)); in Op()
|
H A D | skia_region.h | 45 bool Op(const Region& region, RegionOp op) override;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | region_impl.h | 41 virtual bool Op(const Region& region, const RegionOp op) = 0;
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/region_napi/ |
H A D | js_region.cpp | 33 DECLARE_NAPI_FUNCTION("op", JsRegion::Op), in Init() 143 napi_value JsRegion::Op(napi_env env, napi_callback_info info) in Op() function in OHOS::Rosen::Drawing::JsRegion 175 return CreateJsValue(env, m_region->Op(*region->GetRegion(), op)); in OnOp()
|
H A D | js_region.h | 38 static napi_value Op(napi_env env, napi_callback_info info);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | region.h | 106 virtual bool Op(const Region& region, RegionOp op);
|
/foundation/resourceschedule/ffrt/src/tm/ |
H A D | cpu_task.h | 92 int UpdateState(TaskState::State taskState, TaskState::Op&& op) in UpdateState()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_region.cpp | 68 return region->Op(*dst, static_cast<RegionOp>(op)); in OH_Drawing_RegionOp()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_path.h | 88 virtual bool Op(const TestingPath& path1, TestingPath& path2, TestingPathOp op) in Op() function in OHOS::Ace::Testing::TestingPath
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/region_fuzzer/ |
H A D | region_fuzzer.cpp | 72 region.Op(regionOne, static_cast<RegionOp>(op % OPTYPE_SIZE)); in RegionFuzzTest001()
|