Searched refs:GetRandomValue (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle.cpp | 625 … GetRandomValue(particleParams_->GetVelocityStartValue(), particleParams_->GetVelocityEndValue()); in InitProperty() 638 … spin_ = GetRandomValue(particleParams_->GetSpinStartValue(), particleParams_->GetSpinEndValue()); in InitProperty() 640 …scale_ = GetRandomValue(particleParams_->GetScaleStartValue(), particleParams_->GetScaleEndValue()… in InitProperty() 685 float RSRenderParticle::GetRandomValue(float min, float max) in GetRandomValue() function in OHOS::Rosen::RSRenderParticle 720 float colorRandomValue = GetRandomValue(0.0f, 1.0f); in SetColor() 751 positionX = GetRandomValue(minX, maxX); in CalculateParticlePosition() 754 positionY = GetRandomValue(minY, maxY); in CalculateParticlePosition() 761 float theta = GetRandomValue(0.f, 2 * PI); in CalculateParticlePosition() 764 float r = GetRandomValue(0.f, d) / 2; in CalculateParticlePosition() 768 float rx = GetRandomValue(0.f, dx) / 2; in CalculateParticlePosition() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | udmf_run_time_store_test.cpp | 129 GetRandomValue(value, MAX_KEY_SIZE); // 1K 163 GetRandomValue(value, MAX_VALUE_SIZE); // 4M 196 GetRandomValue(value, MAX_VALUE_SIZE); // 4M 230 GetRandomValue(value, MAX_VALUE_SIZE); // 4M 269 GetRandomValue(value, MAX_KEY_SIZE); // 1K 274 GetRandomValue(value, MAX_KEY_SIZE); // 1K 306 GetRandomValue(value, MAX_KEY_SIZE); // 1K 345 GetRandomValue(value, MAX_VALUE_SIZE); // 4M 435 GetRandomValue(value, MAX_VALUE_SIZE); // 4M 464 GetRandomValue(value, MAX_KEY_SIZE); // 1K [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_render_particle_test.cpp | 804 float res = rsRenderParticle.GetRandomValue(min, max); in HWTEST_F() 808 res = rsRenderParticle.GetRandomValue(min, max); in HWTEST_F()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_particle.h | 367 static float GetRandomValue(float min, float max);
|