Home
last modified time | relevance | path

Searched refs:steps (Results 1 - 22 of 22) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_steps_interpolator.cpp25 RSStepsInterpolator::RSStepsInterpolator(int32_t steps, StepsCurvePosition position) in RSStepsInterpolator() argument
26 : steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
29 RSStepsInterpolator::RSStepsInterpolator(uint64_t id, int32_t steps, StepsCurvePosition position) in RSStepsInterpolator() argument
30 : RSInterpolator(id), steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
53 int32_t steps = 0; in Unmarshalling() local
55 if (!(parcel.ReadInt32(steps) && parcel.ReadInt32(position))) { in Unmarshalling()
59 return new RSStepsInterpolator(id, steps, static_cast<StepsCurvePosition>(position)); in Unmarshalling()
73 ROSEN_LOGE("RSStepsInterpolator::Interpolate, steps numbe in InterpolateImpl()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/
H A Drs_steps_interpolator_animat_test.cpp43 int32_t steps = 4; in HWTEST_F() local
44 float stepValue = 1.0f / steps; in HWTEST_F()
45 RSStepsInterpolator stepsCurveEnd(steps, StepsCurvePosition::END); in HWTEST_F()
47 * @tc.steps: step1. set the testValue of time to test steps Curve. in HWTEST_F()
54 * @tc.steps: step2. set the targetValue of time to test steps Curve. in HWTEST_F()
61 * @tc.steps: step3. verify the result of steps Curve. in HWTEST_F()
76 int32_t steps in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_steps_interpolator_test.cpp43 int32_t steps = 4; in HWTEST_F() local
44 float stepValue = 1.0f / steps; in HWTEST_F()
45 RSStepsInterpolator stepsCurveStart(steps, StepsCurvePosition::START); in HWTEST_F()
47 * @tc.steps: step1. set the testValue of time to test steps Curve. in HWTEST_F()
54 * @tc.steps: step2. set the targetValue of time to test steps Curve. in HWTEST_F()
61 * @tc.steps: step3. verify the result of steps Curve. in HWTEST_F()
76 int32_t steps in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_steps_interpolator.h31 RSStepsInterpolator(int32_t steps, StepsCurvePosition position = StepsCurvePosition::START);
40 RSStepsInterpolator(uint64_t id, int32_t steps, StepsCurvePosition position = StepsCurvePosition::START);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp291 int32_t steps = GetData<int32_t>(); in RSStepsInterpolatorFuzzerTest() local
296 auto animation = std::make_shared<RSStepsInterpolator>(steps, position); in RSStepsInterpolatorFuzzerTest()
310 int32_t steps = GetData<int32_t>(); in RSRenderCurveAnimationFuzzerTest() local
321 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderCurveAnimationFuzzerTest()
387 int32_t steps = GetData<int32_t>(); in RSRenderKeyframeAnimationFuzzerTest() local
402 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderKeyframeAnimationFuzzerTest()
419 int32_t steps = GetData<int32_t>(); in RSRenderPathAnimationFuzzerTest() local
434 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, position); in RSRenderPathAnimationFuzzerTest()
456 int32_t steps = GetData<int32_t>(); in RSCurveValueEstimatorFuzzerTest() local
469 auto interpolator = std::make_shared<RSStepsInterpolator>(steps, positio in RSCurveValueEstimatorFuzzerTest()
479 int32_t steps = GetData<int32_t>(); RSKeyframeValueEstimatorFuzzerTest() local
570 int32_t steps = GetData<int32_t>(); RSRenderTransitionFuzzerTest() local
[all...]
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Daction.cpp28 constexpr uint32_t steps = 2; in DecomposeTap() local
29 EventMatrix pointerEventMatrix(fingers, steps); in DecomposeTap()
38 constexpr uint32_t steps = 4; in DecomposeDoubleTap() local
39 EventMatrix pointerEventMatrix(fingers, steps); in DecomposeDoubleTap()
51 constexpr uint32_t steps = 2; in DecomposePress() local
52 EventMatrix pointerEventMatrix(fingers, steps); in DecomposePress()
167 constexpr uint32_t steps = 50; in Decompose() local
170 constexpr uint32_t actions = steps + 2; in Decompose()
188 float intervalMs = distance * 1000 / speed / steps; in Decompose()
193 for (uint16_t step = 1; step <= steps; ste in Decompose()
[all...]
H A Dcomponent_test_tester_impl.cpp197 uint32_t steps = distance / stepLen; in FlingImpl() local
202 MoveAction moveAction(from, to, TouchType::FLING, speed, steps); in FlingImpl()
H A Daction.h242 uint32_t steps = DEFAULT_STEP_CONUT) in MoveAction()
245 steps_(std::clamp(steps, MIN_STEP_CONUT, MAX_STEP_CONUT)) {}; in MoveAction()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_rating.cpp126 auto steps = info[0]->ToNumber<double>(); in SetStepSize() local
127 if (LessNotEqual(steps, stepSizeMin)) { in SetStepSize()
128 steps = STEPS_DEFAULT; in SetStepSize()
130 RatingModel::GetInstance()->SetStepSize(steps); in SetStepSize()
/foundation/arkui/ui_lite/test/autotest/src/
H A Dtcp_socket_manager.cpp98 void TcpSocketClientManager::OnGetTestSetps(QJsonArray array, std::vector<TestSteps>& steps) in OnGetTestSetps() argument
120 steps.push_back(testSteps); in OnGetTestSetps()
236 OnGetTestSetps(array, msgInfo->steps); in OnGetTestInfo()
250 for (auto it3: it->steps) { in OnPrintTestInfo()
251 printf("steps---viewID=[%s], eventID=[%d]", it3.viewID.c_str(), it3.eventID); in OnPrintTestInfo()
253 printf("steps---eventValue=[%d]", it4); in OnPrintTestInfo()
255 printf("steps---saveCheckPoint=[%d]--------\n", it3.saveCheckPoint); in OnPrintTestInfo()
H A Dui_auto_test.cpp163 OnTestBySteps(info->steps, info->className); in OnTest()
166 void UIAutoTest::OnTestBySteps(std::vector<TestSteps> steps, std::string className) in OnTestBySteps() argument
168 if (steps.empty()) { in OnTestBySteps()
173 for (auto it: steps) { in OnTestBySteps()
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drender_track.h146 void SetSliderSteps(double steps) in SetSliderSteps() argument
148 sliderSteps_ = steps; in SetSliderSteps()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation_timing_curve.cpp112 RSAnimationTimingCurve RSAnimationTimingCurve::CreateStepsCurve(int32_t steps, StepsCurvePosition position) in CreateStepsCurve() argument
114 return RSAnimationTimingCurve(std::make_shared<RSStepsInterpolator>(steps, position)); in CreateStepsCurve()
H A Drs_animation_timing_curve.h50 static RSAnimationTimingCurve CreateStepsCurve(int32_t steps, StepsCurvePosition position);
/foundation/arkui/ui_lite/test/autotest/include/
H A Dui_test_message.h47 std::vector<TestSteps> steps; member
H A Dui_auto_test.h46 void OnTestBySteps(std::vector<TestSteps> steps, std::string className);
H A Dtcp_socket_manager.h68 void OnGetTestSetps(QJsonArray array, std::vector<TestSteps>& steps);
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcurve.h204 explicit StepsCurve(int32_t steps, StepsCurvePosition position = StepsCurvePosition::START) in StepsCurve() argument
205 : steps_(steps <= 0 ? 1 : steps), position_(position) in StepsCurve()
223 std::string curveString("steps");
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_rating_bridge.cpp88 auto steps = secondArg->ToNumber(vm)->Value(); in SetRatingStepSize() local
89 if (LessNotEqual(steps, STEPS_MIN_SIZE)) { in SetRatingStepSize()
90 steps = STEPS_DEFAULT; in SetRatingStepSize()
92 GetArkUINodeModifiers()->getRatingModifier()->setRatingStepSize(nativeNode, steps); in SetRatingStepSize()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dswapchain_gles.cpp125 const FormatInfo* steps[] = { FORMATS, FORMATS_SRGB, nullptr }; in FormatToGlFormat() local
127 const FormatInfo* format = steps[step]; in FormatToGlFormat()
128 if (steps[step] == nullptr) { in FormatToGlFormat()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/fuzztest/rsanimation_fuzzer/
H A Drsanimation_fuzzer.cpp126 int32_t steps = GetData<int32_t>(); in RsAnimationTimingCurveFuzzTest() local
131 auto stepCurve = RSAnimationTimingCurve::CreateStepsCurve(steps, position); in RsAnimationTimingCurveFuzzTest()
/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/framework/
H A Danimation_framework_test.cpp110 * @tc.steps: step2. trigger one frame to make prepare animation work in TriggerAndCheckBasicPropertyFirstFrame()
147 * @tc.steps: step1. init animation and simulation controller in InitBasicAnimationDirectionPropertyTest()
187 * @tc.steps: step1. init animation and animator in InitBasicPropertyTest()
391 * @tc.steps: step1. init animation and animator in HWTEST_F()
400 * @tc.steps: step2. trigger one frame to make prepare animation work in HWTEST_F()
407 * @tc.steps: step3. trigger 2 frames to let animation done in HWTEST_F()
429 * @tc.steps: step1. init animation and animator in HWTEST_F()
439 * @tc.steps: step2. trigger one frame to make prepare animation work in HWTEST_F()
446 * @tc.steps: step3. trigger 2 frames to let animation done in HWTEST_F()
468 * @tc.steps in HWTEST_F()
683 int32_t steps = 4; HWTEST_F() local
750 int32_t steps = 4; HWTEST_F() local
[all...]

Completed in 13 milliseconds