Home | History | Annotate | Download | only in animator

Lines Matching refs:scope

34 // if no attibutes, enclosed displayable is both scope & target
35 // only if both scope & target are specified, or if target and enclosed displayable, are scope and target different
47 SK_MEMBER(scope, Drawable), // thing that scopes animation (unnamed enclosed displayable goes here)
59 restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScope(NULL),*/
68 delete scope;
160 return fDeleteScope && scope == child;
164 SkDrawable* saveScope = scope;
165 scope = NULL;
167 result->scope = scope = saveScope;
187 if (scope ==NULL)
189 if (scope->isApply() || scope->isDrawable() == false)
193 SkASSERT(scope);
199 // if (scope->isDrawable())
200 result |= scope->draw(maker);
236 if (scope) {
241 scope->dump(maker);
277 if (scope && scope->isApply())
278 ((SkApply*) scope)->setEmbedded();
280 if (scope) {
287 if ((mode == kMode_immediate || mode == kMode_create) && scope == NULL)
289 bool enableMe = scope && (scope->hasEnable() || scope->isApply() || scope->isDrawable() == false);
294 if (mode == kMode_create && scope != NULL) {
299 return scope->isApply() || scope->isDrawable() == false;
314 if (scope == NULL || scope->isApply() || scope->getType() == SkType_Movie || scope->isDrawable() == false) {
322 if (scope != NULL && dontDraw == false)
323 scope->enable(maker);
336 // now that one apply might embed another, only the parent apply should replace the scope
343 drawable = (SkDrawable*) scope;
397 bool success = maker.computeID(scope, this, &newID);
405 SkDrawable* copyScope = copy->scope = (SkDrawable*) scope->deepCopy(&maker);
407 if (copyScope->resolveIDs(maker, scope, this)) {
430 if (success && scope != newScope) {
433 int old = maker.fDisplayList.findGroup(scope, &pList, &pGroup, &found, &gList);
443 (*pList)[old] = scope;
447 scope = (SkDrawable*) newScope;
513 return scope;
648 if (scope == NULL)
650 if (scope->isApply() || scope->isDrawable() == false)
652 scope->initialize();
657 SkDrawable* scopePtr = scope;
660 if (scopedApply->scope == this) {
664 scopePtr = scopedApply->scope;
668 if (scope != NULL && steps >= 0 && scope->isApply() == false && scope->isDrawable())
669 scope->setSteps(steps);
672 //for reusing apply statements with dynamic scope
675 if (scope)
676 anim->fTarget = scope;
681 if (scope != NULL && steps >= 0 && anim->fTarget != scope && anim->fTarget->isDrawable())
689 return getMember("scope"); // !!! cwap! need to refer to member through enum like kScope instead
706 bool SkApply::resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* apply) { // replace to/formula strings in animators of the form xxx.step with the step value, if xxx.step is in scope