Lines Matching refs:keyframes

177     animateOption->keyframes.resize(size);
185 animateOption->keyframes[i].duration = 1000;
186 animateOption->keyframes[i].curve = nullptr;
187 animateOption->keyframes[i].event = nullptr;
188 animateOption->keyframes[i].userData = nullptr;
228 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) {
234 option->keyframes[index].duration = value;
241 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) {
245 option->keyframes[index].curve = nullptr;
252 option->keyframes[index].curve = value;
259 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) {
262 option->keyframes[index].event = event;
263 option->keyframes[index].userData = userData;
281 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) {
284 return option->keyframes[index].duration;
289 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) {
292 return option->keyframes[index].curve;
302 option->keyframes.resize(keyframeSize);
304 option->keyframes[i].curve = nullptr;
402 if (option->keyframes.size() > 0) {
412 if (option->keyframes.size() > 0) {
434 if (index >= 0 && static_cast<size_t>(index) < option->keyframes.size()) {
435 option->keyframes[index].keyTime = time;
436 option->keyframes[index].keyValue = value;
449 option->keyframes[index].curve = nullptr;
454 if (index >= 0 && static_cast<size_t>(index) < option->keyframes.size()) {
455 option->keyframes[index].curve = value;
535 if (option != nullptr && index >= 0 && static_cast<size_t>(index) < option->keyframes.size()) {
536 return option->keyframes[index].keyTime;
543 if (option != nullptr && index >= 0 && static_cast<size_t>(index) < option->keyframes.size()) {
544 return option->keyframes[index].keyValue;
551 if (option != nullptr && index >= 0 && static_cast<size_t>(index) < option->keyframes.size()) {
552 return option->keyframes[index].curve;