Home
last modified time | relevance | path

Searched refs:phase (Results 1 - 25 of 39) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/texgine/src/utils/
H A Dlogger.cpp83 void Logger::SetToNoReturn(Logger &logger, enum LOG_PHASE phase) in SetToNoReturn() argument
88 void Logger::SetToContinue(Logger &logger, enum LOG_PHASE phase) in SetToContinue() argument
93 void Logger::OutputByStdout(Logger &logger, enum LOG_PHASE phase) in OutputByStdout() argument
95 if (phase == LOG_PHASE::BEGIN) { in OutputByStdout()
110 void Logger::OutputByStderr(Logger &logger, enum LOG_PHASE phase) in OutputByStderr() argument
112 if (phase == LOG_PHASE::BEGIN) { in OutputByStderr()
127 void Logger::OutputByFileLog(Logger &logger, enum LOG_PHASE phase) in OutputByFileLog() argument
133 if (phase == LOG_PHASE::BEGIN) { in OutputByFileLog()
157 void Logger::AppendFunc(Logger &logger, enum LOG_PHASE phase) in AppendFunc() argument
159 if (phase in AppendFunc()
166 AppendFuncLine(Logger &logger, enum LOG_PHASE phase) AppendFuncLine() argument
177 AppendFileLine(Logger &logger, enum LOG_PHASE phase) AppendFileLine() argument
186 AppendFileFuncLine(Logger &logger, enum LOG_PHASE phase) AppendFileFuncLine() argument
197 AppendPidTid(Logger &logger, enum LOG_PHASE phase) AppendPidTid() argument
[all...]
H A Dexlog.cpp25 void ExTime(Logger &algnlogger, enum Logger::LOG_PHASE phase) in ExTime() argument
27 if (phase == Logger::LOG_PHASE::BEGIN) { in ExTime()
56 Logger::OutputByStdout(algnlogger, phase); in ExTime()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dpath_effect.cpp25 PathEffect::PathEffect(PathEffectType t, const scalar intervals[], int count, scalar phase) noexcept : PathEffect() in PathEffect()
28 impl_->InitWithDash(intervals, count, phase); in PathEffect()
31 PathEffect::PathEffect(PathEffectType t, const Path& path, scalar advance, scalar phase, PathDashStyle style) noexcept
35 impl_->InitWithPathDash(path, advance, phase, style); in PathEffect()
73 std::shared_ptr<PathEffect> PathEffect::CreateDashPathEffect(const scalar intervals[], int count, scalar phase) in CreateDashPathEffect() argument
75 return std::make_shared<PathEffect>(PathEffect::PathEffectType::DASH, intervals, count, phase); in CreateDashPathEffect()
79 const Path& path, scalar advance, scalar phase, PathDashStyle style) in CreatePathDashEffect()
81 return std::make_shared<PathEffect>(PathEffect::PathEffectType::PATH_DASH, path, advance, phase, style); in CreatePathDashEffect()
78 CreatePathDashEffect( const Path& path, scalar advance, scalar phase, PathDashStyle style) CreatePathDashEffect() argument
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/patheffect_fuzzer/
H A Dpatheffect_fuzzer.cpp46 scalar phase = GetObject<scalar>(); in PathEffectFuzzTest() local
48 PathEffect::CreatePathDashEffect(path, advance, phase, static_cast<PathDashStyle>(style)); in PathEffectFuzzTest()
57 PathEffect::CreateDashPathEffect(intervals, count, phase); in PathEffectFuzzTest()
70 PathEffect(type, intervals, count, phase); in PathEffectFuzzTest()
71 PathEffect(type, path, advance, phase, static_cast<PathDashStyle>(style)); in PathEffectFuzzTest()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpatheffect_fuzzer/
H A Dpatheffect_fuzzer.cpp50 float phase = GetObject<float>(); in NativePathEffectTest() local
51 OH_Drawing_PathEffect* pathEffectError = OH_Drawing_CreateDashPathEffect(nullptr, number, phase); in NativePathEffectTest()
52 OH_Drawing_PathEffect* pathEffect = OH_Drawing_CreateDashPathEffect(intervals, number, phase); in NativePathEffectTest()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path_effect.cpp37 void SkiaPathEffect::InitWithDash(const scalar intervals[], int count, scalar phase) in InitWithDash() argument
39 pathEffect_ = SkDashPathEffect::Make(intervals, count, phase); in InitWithDash()
42 void SkiaPathEffect::InitWithPathDash(const Path& path, scalar advance, scalar phase, PathDashStyle style) in InitWithPathDash() argument
47 SkPath1DPathEffect::Make(p->GetPath(), advance, phase, static_cast<SkPath1DPathEffect::Style>(style)); in InitWithPathDash()
H A Dskia_path_effect.h38 void InitWithDash(const scalar intervals[], int count, scalar phase) override;
39 void InitWithPathDash(const Path& path, scalar advance, scalar phase, PathDashStyle style) override;
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_dash_path_effect.cpp23 std::shared_ptr<TexginePathEffect> TexgineDashPathEffect::Make(const float intervals[], int count, float phase) in Make() argument
25 std::shared_ptr<RSPathEffect> effect = RSPathEffect::CreateDashPathEffect(intervals, count, phase); in Make()
H A Dtexgine_path_1d_path_effect.cpp22 float advance, float phase, Style style) in Make()
24 auto effect = RSPathEffect::CreatePathDashEffect(*path.GetPath().get(), advance, phase, in Make()
21 Make(const TexginePath &path, float advance, float phase, Style style) Make() argument
H A Dtexgine_dash_path_effect.h33 * phase The offset to intervals
35 static std::shared_ptr<TexginePathEffect> Make(const float intervals[], int count, float phase);
H A Dtexgine_path_1d_path_effect.h44 static std::shared_ptr<TexginePathEffect> Make(const TexginePath& path, float advance, float phase, Style style);
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_recording_path_effect.h26 const TestingPath& path, float advance, float phase, TestingPathDashStyle style) in CreatePathDashEffect()
30 static std::shared_ptr<TestingPathEffect> CreateDashPathEffect(const float intervals[], int count, float phase) in CreateDashPathEffect() argument
25 CreatePathDashEffect( const TestingPath& path, float advance, float phase, TestingPathDashStyle style) CreatePathDashEffect() argument
H A Dtesting_path_effect.h36 const TestingPath& /* path */, float /* advance */, float /* phase */, TestingPathDashStyle /* style */) in CreatePathDashEffect()
41 static std::shared_ptr<TestingPathEffect> CreateDashPathEffect(const float intervals[], int count, float phase) in CreateDashPathEffect() argument
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/utils/
H A Dlogger.h36 using LoggerWrapperFunc = void(*)(Logger &, enum LOG_PHASE phase);
41 static void SetToNoReturn(Logger &logger, enum LOG_PHASE phase);
42 static void SetToContinue(Logger &logger, enum LOG_PHASE phase);
43 static void OutputByStdout(Logger &logger, enum LOG_PHASE phase);
44 static void OutputByStderr(Logger &logger, enum LOG_PHASE phase);
45 static void OutputByHilog(Logger &logger, enum LOG_PHASE phase);
46 static void OutputByFileLog(Logger &logger, enum LOG_PHASE phase);
51 static void AppendFunc(Logger &logger, enum LOG_PHASE phase);
52 static void AppendFuncLine(Logger &logger, enum LOG_PHASE phase);
53 static void AppendFileLine(Logger &logger, enum LOG_PHASE phase);
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/
H A Dpath_effect.h52 * @param phase offset into the intervals array (mod the sum of all of the intervals).
53 * For example: if intervals[] = {10, 20}, count = 2, and phase = 25,
61 * A phase of -5, 25, 55, 85, etc. would all result in the same path,
65 static std::shared_ptr<PathEffect> CreateDashPathEffect(const scalar intervals[], int count, scalar phase);
67 const Path& path, scalar advance, scalar phase, PathDashStyle style);
123 PathEffect(PathEffectType t, const scalar intervals[], int count, scalar phase) noexcept;
124 PathEffect(PathEffectType t, const Path& path, scalar advance, scalar phase, PathDashStyle style) noexcept;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_path_effect.cpp30 OH_Drawing_PathEffect* OH_Drawing_CreateDashPathEffect(float* intervals, int count, float phase) in OH_Drawing_CreateDashPathEffect() argument
37 pathEffectHandle->value = PathEffect::CreateDashPathEffect(intervals, count, phase); in OH_Drawing_CreateDashPathEffect()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_effect_impl.h38 virtual void InitWithDash(const scalar intervals[], int count, scalar phase) = 0;
39 virtual void InitWithPathDash(const Path& path, scalar advance, scalar phase, PathDashStyle style) = 0;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Ddashing.cpp41 OH_Drawing_PathEffect *effect = OH_Drawing_CreateDashPathEffect(intervals, 2, dashings.phase); in drawline()
194 float phase = vals[0] / 2; in OnTestFunction() local
195 OH_Drawing_PathEffect *dasheffect = OH_Drawing_CreateDashPathEffect(vals, count, phase); in OnTestFunction()
256 dashings.phase = 5.0; // 5.0 坐标 in DashingTow()
264 dashings.phase = 5.0; // 5.0 坐标 in DashingTow()
273 dashings.phase = 5.0; // 5.0 坐标 in DashingTow()
293 dashings.phase = 40.0; // 40.0 坐标 in DashingTow()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_path_effect_test.cpp50 scalar phase = 10.0f; in HWTEST_F() local
52 skiaPathEffect.InitWithPathDash(path, advance, phase, PathDashStyle::TRANSLATE); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dshape_painter.cpp80 RSScalar phase = 0.0f; in SetPen() local
82 phase = static_cast<RSScalar>(shapePaintProperty.GetStrokeDashOffsetValue().ConvertToPx()); in SetPen()
84 pen.SetPathEffect(RSPathEffect::CreateDashPathEffect(intervals, lineDashState.size(), phase)); in SetPen()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dsk_painter.cpp130 SkScalar phase = 0.0f; in SetPen() local
132 phase = static_cast<SkScalar>(shapePaintProperty.GetStrokeDashOffsetValue().ConvertToPx()); in SetPen()
134 skPaint.setPathEffect(SkDashPathEffect::Make(intervals, lineDashState.size(), phase)); in SetPen()
203 Rosen::Drawing::scalar phase = 0.0f; in SetPen() local
205 phase = static_cast<Rosen::Drawing::scalar>(shapePaintProperty.GetStrokeDashOffsetValue().ConvertToPx()); in SetPen()
207 pen.SetPathEffect(RSPathEffect::CreatDashPathEffect(intervals, lineDashState.size(), phase)); in SetPen()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/
H A Ddrawing_path_effect.h52 * @param phase Indicates the offset into intervals array.
57 OH_Drawing_PathEffect* OH_Drawing_CreateDashPathEffect(float* intervals, int count, float phase);
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_painter.cpp101 RSScalar phase = 0.0f; in SetPen() local
103 phase = static_cast<RSScalar>(shapePaintProperty.GetStrokeDashOffsetValue().ConvertToPx()); in SetPen()
105 pen.SetPathEffect(RSRecordingPathEffect::CreateDashPathEffect(intervals, lineDashState.size(), phase)); in SetPen()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_effect_napi/
H A Djs_path_effect.cpp130 double phase = 0.0; in CreateDashPathEffect() local
131 GET_DOUBLE_PARAM(ARGC_ONE, phase); in CreateDashPathEffect()
133 std::shared_ptr<PathEffect> pathEffect = PathEffect::CreateDashPathEffect(intervals, arrayLength, phase); in CreateDashPathEffect()
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include/
H A Dvsync_generator.h57 virtual VsyncError UpdateMode(int64_t period, int64_t phase, int64_t referenceTime) = 0;
58 virtual VsyncError AddListener(int64_t phase, const sptr<Callback>& cb) = 0;
99 VsyncError UpdateMode(int64_t period, int64_t phase, int64_t referenceTime) override;
100 VsyncError AddListener(int64_t phase, const sptr<OHOS::Rosen::VSyncGenerator::Callback>& cb) override;

Completed in 9 milliseconds

12