Home
last modified time | relevance | path

Searched refs:Op (Results 1 - 25 of 46) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_paint_op.h41 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 Dtype_traits.h34 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 Dtask_state.h33 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 Dtask_state.cpp22 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 Dregion_test.cpp152 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 Dsvg_clip_path.cpp40 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath()
50 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
H A Dsvg_defs.h77 Op(path, childPath, kUnion_SkPathOp, &path);
87 path.Op(path, childPath, RSPathOp::UNION);
H A Dsvg_svg.cpp105 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath()
115 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
H A Dsvg_g.cpp92 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 Dsvg_g.cpp33 Op(path, childPath, kUnion_SkPathOp, &path); in AsPath()
43 path.Op(path, childPath, RSPathOp::UNION); in AsPath()
H A Dsvg_quote.h40 Op(path, childPath, kUnion_SkPathOp, &path);
50 path.Op(path, childPath, RSPathOp::UNION);
H A Dsvg_defs.h52 path.Op(path, childPath, RSPathOp::UNION);
H A Dsvg_svg.cpp39 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 Dregion.cpp76 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 Drs_cpu_overdraw_canvas_listener.cpp45 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 Dskia_region.cpp105 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 Dskia_region.h45 bool Op(const Region& region, RegionOp op) override;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dregion_impl.h41 virtual bool Op(const Region& region, const RegionOp op) = 0;
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/region_napi/
H A Djs_region.cpp33 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 Djs_region.h38 static napi_value Op(napi_env env, napi_callback_info info);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dregion.h106 virtual bool Op(const Region& region, RegionOp op);
/foundation/resourceschedule/ffrt/src/tm/
H A Dcpu_task.h92 int UpdateState(TaskState::State taskState, TaskState::Op&& op) in UpdateState()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_region.cpp68 return region->Op(*dst, static_cast<RegionOp>(op)); in OH_Drawing_RegionOp()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_path.h88 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 Dregion_fuzzer.cpp72 region.Op(regionOne, static_cast<RegionOp>(op % OPTYPE_SIZE)); in RegionFuzzTest001()

Completed in 9 milliseconds

12