/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_particle_params.h | 102 DistributionType distribution_; 110 ParticleColorParaType(const Range<Color>& colorVal, const DistributionType& distribution, in ParticleColorParaType() 127 : colorVal_(), distribution_(DistributionType::UNIFORM), updator_(ParticleUpdator::NONE), redRandom_(), in ParticleColorParaType()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_particle.h | 40 enum class DistributionType: uint32_t {UNIFORM = 0, GAUSSIAN}; class 179 DistributionType distribution_; 187 RenderParticleColorParaType(const Range<Color>& colorVal, const DistributionType& distribution, in RenderParticleColorParaType() 196 : colorVal_(), distribution_(DistributionType::UNIFORM), updator_(ParticleUpdator::NONE), redRandom_(), in RenderParticleColorParaType() 255 const DistributionType& GetColorDistribution();
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_particle_emitter_test.cpp | 76 DistributionType distribution = DistributionType::UNIFORM; in SetColor()
|
H A D | rs_render_particle_effector_test.cpp | 81 DistributionType distribution = DistributionType::UNIFORM; in SetColor() 275 RenderParticleColorParaType color = RenderParticleColorParaType(colorVal, DistributionType::GAUSSIAN, randomUpdator, in HWTEST_F() 344 DistributionType distribution = DistributionType::GAUSSIAN; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 38 enum ACE_EXPORT DistributionType { UNIFORM = 0, GAUSSIAN }; enum 677 const std::optional<DistributionType>& GetDistribution() const in GetDistribution() 681 void SetDistribution(DistributionType& distribution) in SetDistribution() 714 std::optional<DistributionType> distribution_;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 3111 var DistributionType; variable 3112 (function (DistributionType) { 3113 DistributionType[DistributionType["UNIFORM"] = 0] = "UNIFORM"; 3114 DistributionType[DistributionType["GAUSSIAN"] = 1] = "GAUSSIAN"; 3115 })(DistributionType || (DistributionType = {}));
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_particle.cpp | 594 auto colorDist = OHOS::Ace::NG::DistributionType::UNIFORM; in ParseColorOption() 598 if (colorDistInt >= static_cast<int32_t>(OHOS::Ace::NG::DistributionType::UNIFORM) && in ParseColorOption() 599 colorDistInt <= static_cast<int32_t>(OHOS::Ace::NG::DistributionType::GAUSSIAN)) { in ParseColorOption() 600 colorDist = static_cast<OHOS::Ace::NG::DistributionType>(colorDistInt); in ParseColorOption()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle.cpp | 171 const DistributionType& ParticleRenderParams::GetColorDistribution() in GetColorDistribution() 704 if (particleParams_->GetColorDistribution() == DistributionType::GAUSSIAN) { in SetColor()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_marshalling_helper_test.cpp | 643 RenderParticleColorParaType val(colorVal, DistributionType::UNIFORM, ParticleUpdator::RANDOM, redRandom, in HWTEST_F() 646 RenderParticleColorParaType val2(colorVal, DistributionType::UNIFORM, ParticleUpdator::CURVE, redRandom, in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 1124 DistributionType distribution = DistributionType::UNIFORM; in Unmarshalling()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | knuckle_drawing_manager.cpp | 343 colorVal, Rosen::DistributionType::UNIFORM, Rosen::ParticleUpdator::NONE, Rosen::Range<float>(), in InitParticleEmitter()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 1487 auto colorDistInt = static_cast<int32_t>(colorDist.value_or(DistributionType::UNIFORM)); in ConvertParticleColorOption() 1504 static_cast<OHOS::Rosen::DistributionType>(colorDistInt), OHOS::Rosen::ParticleUpdator::RANDOM, in ConvertParticleColorOption() 1523 static_cast<OHOS::Rosen::DistributionType>(colorDistInt), ParticleUpdator::CURVE, in ConvertParticleColorOption() 1536 return OHOS::Rosen::ParticleColorParaType(rsInitRangeOpt.value(), OHOS::Rosen::DistributionType::UNIFORM, in ConvertParticleDefaultColorOption() 1543 OHOS::Rosen::DistributionType::UNIFORM, OHOS::Rosen::ParticleUpdator::NONE, OHOS::Rosen::Range<float>(), in ConvertParticleDefaultColorOption()
|