Home
last modified time | relevance | path

Searched refs:DistributionType (Results 1 - 12 of 12) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_particle_params.h102 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 Drs_render_particle.h40 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 Drs_render_particle_emitter_test.cpp76 DistributionType distribution = DistributionType::UNIFORM; in SetColor()
H A Drs_render_particle_effector_test.cpp81 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 Dparticle_property.h38 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 DjsEnumStyle.js3111 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 Djs_particle.cpp594 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 Drs_render_particle.cpp171 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 Drs_marshalling_helper_test.cpp643 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 Drs_marshalling_helper.cpp1124 DistributionType distribution = DistributionType::UNIFORM; in Unmarshalling()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_drawing_manager.cpp343 colorVal, Rosen::DistributionType::UNIFORM, Rosen::ParticleUpdator::NONE, Rosen::Range<float>(), in InitParticleEmitter()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp1487 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()

Completed in 31 milliseconds