Lines Matching refs:fActive
67 restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScope(NULL),*/
77 // !!! caller must call maker.removeActive(fActive)
78 delete fActive;
82 if (fActive != NULL) {
83 if (fActive->fDrawIndex == 0 && fActive->fDrawMax == 0)
87 bool save = fActive->initializeSave();
88 fActive->fixInterpolator(save);
90 fActive = new SkActive(*this, maker);
91 fActive->init();
92 maker.appendActive(fActive);
94 fActive->initializeSave();
97 fActive->saveInterpolatorValues(index);
103 if (fActive == NULL)
105 int oldCount = fActive->fAnimators.count();
106 fActive->append(apply);
108 fActive->appendSave(oldCount);
109 int newCount = fActive->fAnimators.count();
111 fActive->saveInterpolatorValues(index);
118 SkAnimateBase* animator = fActive->fAnimators[animatorIndex];
188 // maybe the fEnabled flag needs to be moved to the fActive data so that both
203 return fActive->draw();
210 for (int index = 0; index < fActive->fAnimators.count(); index++)
212 fActive->advance();
251 // if (fActive) {
272 bool initialized = fActive != NULL;
300 fActive->enable();
375 if (apply != this && apply->fActive == NULL)
426 maker.removeActive(copy->fActive);
457 fActive);
458 delete fActive;
459 fActive = NULL;
463 SkAnimateBase* animate = fActive->fAnimators[index];
471 int activeIndex = fActive->fDrawIndex + index;
476 SkOperand* saveOperand = fActive->fSaveRestore[activeIndex];
478 info->setValue(target, fActive->fSaveRestore[activeIndex], count);
484 scriptValue.fOperand = fActive->fSaveRestore[activeIndex][0];
487 SkOperand* save = fActive->fSaveRestore[activeIndex];
538 if (fActive == NULL)
540 maker.removeActive(fActive);
541 delete fActive;
542 fActive = NULL;
551 if (fActive == NULL)
558 if (fActive != NULL &&
566 debugOut.append(fActive->fAnimators[0]->_id);
568 debugOut.appendS32(rawTime - fActive->fState[0].fStartTime);
573 fActive->start();
575 fActive->initializeSave();
576 int animators = fActive->fAnimators.count();
578 SkAnimateBase* animate = fActive->fAnimators[inner];
588 fActive->append(this);
589 fActive->start();
592 SkMSec time = fActive->getTime(rawTime, inner);
593 SkActive::SkState& state = fActive->fState[inner];
604 fActive->restoreInterpolatorValues(inner);
624 SkInterpolatorBase::Result interpResult = fActive->fInterpolators[inner]->timeToValues(
704 if (fActive)
705 fActive->resetInterpolators();
709 if (fActive)
710 fActive->resetState();
744 SkAnimateBase* animate = fActive->fAnimators[index];
756 int activeIndex = fActive->fDrawIndex + index;
758 if (fActive->fSaveRestore[activeIndex] == NULL) {
759 fActive->fSaveRestore[activeIndex] = new SkOperand[count];
763 memcpy(last.begin(), fActive->fSaveRestore[activeIndex], count * sizeof(SkOperand));
766 info->getValue(target, fActive->fSaveRestore[activeIndex], count);
774 fActive->fSaveRestore[activeIndex][0] = scriptValue.fOperand;
795 if (fActive)
796 fActive->setSteps(steps);
808 if (fActive)
809 fActive->validate();