Lines Matching refs:fActive
59 restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScope(NULL),*/
69 // !!! caller must call maker.removeActive(fActive)
70 delete fActive;
74 if (fActive != NULL) {
75 if (fActive->fDrawIndex == 0 && fActive->fDrawMax == 0)
79 bool save = fActive->initializeSave();
80 fActive->fixInterpolator(save);
82 fActive = new SkActive(*this, maker);
83 fActive->init();
84 maker.appendActive(fActive);
86 fActive->initializeSave();
89 fActive->saveInterpolatorValues(index);
95 if (fActive == NULL)
97 int oldCount = fActive->fAnimators.count();
98 fActive->append(apply);
100 fActive->appendSave(oldCount);
101 int newCount = fActive->fAnimators.count();
103 fActive->saveInterpolatorValues(index);
110 SkAnimateBase* animator = fActive->fAnimators[animatorIndex];
181 // maybe the fEnabled flag needs to be moved to the fActive data so that both
196 return fActive->draw();
203 for (int index = 0; index < fActive->fAnimators.count(); index++)
205 fActive->advance();
244 // if (fActive) {
265 bool initialized = fActive != NULL;
293 fActive->enable();
368 if (apply != this && apply->fActive == NULL)
419 maker.removeActive(copy->fActive);
450 maker.removeActive(fActive);
451 delete fActive;
452 fActive = NULL;
456 SkAnimateBase* animate = fActive->fAnimators[index];
464 int activeIndex = fActive
469 SkOperand* saveOperand = fActive->fSaveRestore[activeIndex];
471 info->setValue(target, fActive->fSaveRestore[activeIndex], count);
477 scriptValue.fOperand = fActive->fSaveRestore[activeIndex][0];
480 SkOperand* save = fActive->fSaveRestore[activeIndex];
531 if (fActive == NULL)
533 maker.removeActive(fActive);
534 delete fActive;
535 fActive = NULL;
544 if (fActive == NULL)
551 if (fActive != NULL &&
559 debugOut.append(fActive->fAnimators[0]->_id);
561 debugOut.appendS32(rawTime - fActive->fState[0].fStartTime);
566 fActive->start();
568 fActive->initializeSave();
569 int animators = fActive->fAnimators.count();
571 SkAnimateBase* animate = fActive->fAnimators[inner];
581 fActive->append(this);
582 fActive->start();
585 SkMSec time = fActive->getTime(rawTime, inner);
586 SkActive::SkState& state = fActive->fState[inner];
597 fActive->restoreInterpolatorValues(inner);
617 SkInterpolatorBase::Result interpResult = fActive->fInterpolators[inner]->timeToValues(
697 if (fActive)
698 fActive->resetInterpolators();
702 if (fActive)
703 fActive->resetState();
737 SkAnimateBase* animate = fActive->fAnimators[index];
749 int activeIndex = fActive->fDrawIndex + index;
751 if (fActive->fSaveRestore[activeIndex] == NULL) {
752 fActive->fSaveRestore[activeIndex] = new SkOperand[count];
756 memcpy(last.begin(), fActive->fSaveRestore[activeIndex], count * sizeof(SkOperand));
759 info->getValue(target, fActive->fSaveRestore[activeIndex], count);
767 fActive->fSaveRestore[activeIndex][0] = scriptValue.fOperand;
788 if (fActive)
789 fActive->setSteps(steps);
801 if (fActive)
802 fActive->validate();