Home | History | Annotate | Download | only in animator

Lines Matching refs:scope

42 // if no attibutes, enclosed displayable is both scope & target
43 // only if both scope & target are specified, or if target and enclosed displayable, are scope and target different
55 SK_MEMBER(scope, Drawable), // thing that scopes animation (unnamed enclosed displayable goes here)
67 restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScope(NULL),*/
76 delete scope;
167 return fDeleteScope && scope == child;
171 SkDrawable* saveScope = scope;
172 scope = NULL;
174 result->scope = scope = saveScope;
194 if (scope ==NULL)
196 if (scope->isApply() || scope->isDrawable() == false)
200 SkASSERT(scope);
206 // if (scope->isDrawable())
207 result |= scope->draw(maker);
243 if (scope) {
248 scope->dump(maker);
284 if (scope && scope->isApply())
285 ((SkApply*) scope)->setEmbedded();
287 if (scope) {
294 if ((mode == kMode_immediate || mode == kMode_create) && scope == NULL)
296 bool enableMe = scope && (scope->hasEnable() || scope->isApply() || scope->isDrawable() == false);
301 if (mode == kMode_create && scope != NULL) {
306 return scope->isApply() || scope->isDrawable() == false;
321 if (scope == NULL || scope->isApply() || scope->getType() == SkType_Movie || scope->isDrawable() == false) {
329 if (scope != NULL && dontDraw == false)
330 scope->enable(maker);
343 // now that one apply might embed another, only the parent apply should replace the scope
350 drawable = (SkDrawable*) scope;
404 bool success = maker.computeID(scope, this, &newID);
412 SkDrawable* copyScope = copy->scope = (SkDrawable*) scope->deepCopy(&maker);
414 if (copyScope->resolveIDs(maker, scope, this)) {
437 if (success && scope != newScope) {
440 int old = maker.fDisplayList.findGroup(scope, &pList, &pGroup, &found, &gList);
450 (*pList)[old] = scope;
454 scope = (SkDrawable*) newScope;
520 return scope;
655 if (scope == NULL)
657 if (scope->isApply() || scope->isDrawable() == false)
659 scope->initialize();
664 SkDrawable* scopePtr = scope;
667 if (scopedApply->scope == this) {
671 scopePtr = scopedApply->scope;
675 if (scope != NULL && steps >= 0 && scope->isApply() == false && scope->isDrawable())
676 scope->setSteps(steps);
679 //for reusing apply statements with dynamic scope
682 if (scope)
683 anim->fTarget = scope;
688 if (scope != NULL && steps >= 0 && anim->fTarget != scope && anim->fTarget->isDrawable())
696 return getMember("scope"); // !!! cwap! need to refer to member through enum like kScope instead
713 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