Home
last modified time | relevance | path

Searched refs:RSEffectStrategy (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/hm_symbol/
H A Dhm_symbol_node_build_test.cpp132 RSEffectStrategy effectMode = RSEffectStrategy::SCALE;
134 EXPECT_EQ(symbolNode.effectStrategy_, RSEffectStrategy::SCALE);
153 RSEffectStrategy effectMode = RSEffectStrategy::SCALE;
188 RSEffectStrategy effectMode = RSEffectStrategy::SCALE;
213 RSEffectStrategy effectMode = RSEffectStrategy::BOUNCE;
238 RSEffectStrategy effectMode = RSEffectStrategy::VARIABLE_COLOR;
263 RSEffectStrategy effectMode = RSEffectStrategy::BOUNCE;
287 RSEffectStrategy effectMode = RSEffectStrategy::VARIABLE_COLOR;
295 effectMode = RSEffectStrategy::REPLACE_DISAPPEAR;
326 RSEffectStrategy effectMode = RSEffectStrategy::VARIABLE_COLOR;
[all …]
H A Dhm_symbol_run_test.cpp46 symbolText.SetSymbolEffect(RSEffectStrategy::SCALE); // whit symbol anination
91 symbolText.SetSymbolEffect(RSEffectStrategy::BOUNCE);
94 EXPECT_TRUE(symbolText.GetEffectStrategy() == RSEffectStrategy::BOUNCE);
97 symbolText.SetSymbolEffect(RSEffectStrategy::PULSE);
99 EXPECT_TRUE(symbolText.GetEffectStrategy() == RSEffectStrategy::PULSE);
196 symbolTxt.SetSymbolEffect(RSEffectStrategy::SCALE);
202 symbolTxt.SetSymbolEffect(RSEffectStrategy::SCALE);
208 symbolTxt.SetSymbolEffect(RSEffectStrategy::VARIABLE_COLOR);
222 RSEffectStrategy effectStrategy = RSEffectStrategy::BOUNCE;
237 RSEffectStrategy effectStrategy = RSEffectStrategy::PULSE;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/
H A Dhm_symbol_run.cpp24 static const std::vector<RSEffectStrategy> COMMON_ANIMATION_TYPES = {
25 RSEffectStrategy::SCALE, RSEffectStrategy::APPEAR, RSEffectStrategy::DISAPPEAR,
26 RSEffectStrategy::BOUNCE, RSEffectStrategy::REPLACE_APPEAR};
111 RSEffectStrategy symbolEffect = symbolTxt.GetEffectStrategy(); in DrawSymbol()
131 RSEffectStrategy effectMode = symbolTxt.GetEffectStrategy(); in SymbolAnimation()
133 if (effectMode == RSEffectStrategy::NONE) { in SymbolAnimation()
138 if (animationMode == 0 || effectMode == RSEffectStrategy::VARIABLE_COLOR) { in SymbolAnimation()
162 auto effectMode = RSEffectStrategy::NONE; in ClearSymbolAnimation()
171 bool HMSymbolRun::GetAnimationGroups(uint16_t glyphid, const RSEffectStrategy effectStrategy, in GetAnimationGroups()
H A Dhm_symbol_txt.h39 void SetSymbolEffect(const RSEffectStrategy& effectStrategy);
57 RSEffectStrategy GetEffectStrategy() const;
70 RSEffectStrategy effectStrategy_ = RSEffectStrategy::NONE;
H A Dhm_symbol_node_build.h36 const RSEffectStrategy &effectStrategy, const std::pair<float, float> &offset);
82 RSEffectStrategy effectStrategy_ = RSEffectStrategy::NONE;
H A Dhm_symbol_txt.cpp57 void HMSymbolTxt::SetSymbolEffect(const RSEffectStrategy& effectStrategy) in SetSymbolEffect()
72 RSEffectStrategy HMSymbolTxt::GetEffectStrategy() const in GetEffectStrategy()
H A Ddrawing.h39 using RSEffectStrategy = RSDrawing::DrawingEffectStrategy; variable
H A Dhm_symbol_run.h42 static bool GetAnimationGroups(uint16_t glyphid, const RSEffectStrategy effectStrategy,
H A Dhm_symbol_node_build.cpp147 const RSEffectStrategy &effectStrategy, in SymbolNodeBuild()
230 if (effectStrategy_ == RSEffectStrategy::VARIABLE_COLOR || animationMode_ == 0) { in DecomposeSymbolAndDraw()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/symbol_engine/
H A Dhm_symbol_txt.h48 void SetSymbolEffect(const RSEffectStrategy& effectStrategy) in SetSymbolEffect()
63 RSEffectStrategy GetEffectStrategy() const in GetEffectStrategy()
73 RSEffectStrategy effectStrategy_ = RSEffectStrategy::NONE;
H A Dhm_symbol_run.cpp104 RSEffectStrategy symbolEffect = style.symbol.GetEffectStrategy(); in DrawSymbol()
121 const std::pair<double, double> offset, const RSEffectStrategy effectMode) in SymbolAnimation()
123 if (effectMode == RSEffectStrategy::NONE) { in SymbolAnimation()
127 int scaleType = static_cast<int>(RSEffectStrategy::SCALE); in SymbolAnimation()
145 auto effectMode = RSEffectStrategy::NONE; in ClearSymbolAnimation()
154 bool HMSymbolRun::GetAnimationGroups(const uint16_t glyohId, const RSEffectStrategy effectStrategy, in GetAnimationGroups()
H A Dhm_symbol_run.h45 static bool GetAnimationGroups(const uint32_t glyohId, const RSEffectStrategy effectStrategy,
49 const std::pair<double, double> offset, const RSEffectStrategy effectMode);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/fuzztest/hm_symbol/hmsymboltxt_fuzzer/
H A Dhm_symbol_txt_fuzzer.cpp131 RSEffectStrategy effectStrategy1 = SPText::GetObject<RSEffectStrategy>(); in HmSymbolTxtFuzzTestInner04()
132 RSEffectStrategy effectStrategy2 = SPText::GetObject<RSEffectStrategy>(); in HmSymbolTxtFuzzTestInner04()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/symbol_animation/
H A Dsymbol_node_build.cpp46 const RSEffectStrategy effectStrategy, in SymbolNodeBuild()
109 if (effectStrategy_ == RSEffectStrategy::SCALE) { in DecomposeSymbolAndDraw()
113 if (effectStrategy_ == RSEffectStrategy::VARIABLE_COLOR) { in DecomposeSymbolAndDraw()
H A Dsymbol_node_build.h36 const RSEffectStrategy effectStrategy, const std::pair<double, double> offset);
61 RSEffectStrategy effectStrategy_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/fuzztest/hm_symbol/hmsymbolrun_fuzzer/
H A Dhm_symbol_run_fuzzer.cpp42 RSEffectStrategy effectStrategy = SPText::GetObject<RSEffectStrategy>(); in DrawSymbolFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Ddrawing.h71 using RSEffectStrategy = RSDrawing::DrawingEffectStrategy; variable