Searched refs:frameRateGetFunc (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_animation_rate_decider_test.cpp | 164 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0202() variable 176 res = rsAnimationRateDecider.CalculatePreferredRate(property, frameRateGetFunc); 181 res = rsAnimationRateDecider.CalculatePreferredRate(property, frameRateGetFunc); 186 res = rsAnimationRateDecider.CalculatePreferredRate(property, frameRateGetFunc); 200 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t{ in __anonbb305a9f0302() variable 203 int32_t res = rsAnimationRateDecider.ProcessVector4f(property, frameRateGetFunc); 208 res = rsAnimationRateDecider.ProcessVector4f(property, frameRateGetFunc); 227 int32_t res = rsAnimationRateDecider.ProcessVector2f(property, frameRateGetFunc); 232 res = rsAnimationRateDecider.ProcessVector2f(property, frameRateGetFunc); 251 int32_t res = rsAnimationRateDecider.ProcessFloat(property, frameRateGetFunc); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsanimationratedecider_fuzzer/ |
H A D | rsanimationratedecider_fuzzer.cpp | 80 auto frameRateGetFunc = [](const RSPropertyUnit unit, float velocity) -> int32_t { return 0; }; in DoSomethingInterestingWithMyAPI() local 85 rsAnimationRateDecider.CalculatePreferredRate(property, frameRateGetFunc); in DoSomethingInterestingWithMyAPI() 88 rsAnimationRateDecider.CalculatePreferredRate(property, frameRateGetFunc); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_main_thread.cpp | 2832 auto frameRateGetFunc = [this](const RSPropertyUnit unit, float velocity) -> int32_t { in Animate() local 2838 node->animationManager_.SetRateDeciderEnable(isRateDeciderEnabled, frameRateGetFunc); in Animate()
|