Lines Matching defs:animateOption
32 ArkUIAnimateOption animateOption {};
33 animateOption.duration = option->duration;
34 animateOption.tempo = option->tempo;
35 animateOption.curve = static_cast<ArkUI_Int32>(option->curve);
36 animateOption.delay = option->delay;
37 animateOption.iterations = option->iterations;
39 animateOption.iCurve = option->iCurve->curve;
40 animateOption.curveType = option->iCurve->baseCurveType;
42 animateOption.playMode = static_cast<ArkUI_Int32>(option->playMode);
44 animateOption.expectedFrameRateRange =
49 animateOption.onFinishCallback = reinterpret_cast<void*>(complete->callback);
53 animateOption.user = complete->userData;
59 animateOption.finishCallbackType = finishCallbackType;
61 impl->getAnimation()->animateTo(reinterpret_cast<ArkUIContext*>(context), animateOption,
73 ArkUIKeyframeAnimateOption animateOption {};
74 animateOption.delay = option->delay;
75 animateOption.iterations = option->iterations;
76 animateOption.onFinish = option->onFinish;
77 animateOption.userData = option->userData;
96 animateOption.keyframes = keyframes;
97 animateOption.keyframeSize = static_cast<int32_t>(option->keyframes.size());
99 impl->getAnimation()->keyframeAnimateTo(reinterpret_cast<ArkUIContext*>(context), &animateOption);