Home
last modified time | relevance | path

Searched refs:fMaker (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/skia/src/animator/
DSkAnimator.cpp45 SkAnimator::SkAnimator() : fMaker(NULL) { in SkAnimator()
50 SkDELETE(fMaker); in ~SkAnimator()
54 *fMaker->fExtras.append() = extras; in addExtras()
63 fMaker->fFileName.reset(); in decodeMemory()
64 SkDisplayXMLParser parser(*fMaker); in decodeMemory()
70 SkDisplayXMLParser parser(*fMaker); in decodeStream()
72 fMaker->setErrorString(); in decodeStream()
78 fMaker->fFileName.reset(); in decodeDOM()
79 SkDisplayXMLParser parser(*fMaker); in decodeDOM()
101 fMaker->fEnableTime = fMaker->getAppTime(); in doCharEvent()
[all …]
DSkDisplayXMLParser.cpp73 : INHERITED(&maker.fError), fMaker(maker), fInInclude(maker.fInInclude), in SkDisplayXMLParser()
79 if (fCurrDisplayable && fMaker.fChildren.find(fCurrDisplayable) < 0) in ~SkDisplayXMLParser()
85 SkASSERT(fMaker.fChildren.find(displayable) < 0); in ~SkDisplayXMLParser()
86 if (fMaker.fHelpers.find(displayable) < 0) in ~SkDisplayXMLParser()
106 if (fMaker.find(attrValue, attrValueLen, NULL)) { in onAddAttributeLen()
115 fMaker.idsSet(attrValue, attrValueLen, displayable); in onAddAttributeLen()
124 const SkMemberInfo* info = SkDisplayType::GetMember(&fMaker, type, &name); in onAddAttributeLen()
130 if (info->setValue(fMaker, NULL, 0, info->getCount(), displayable, info->getType(), attrValue, in onAddAttributeLen()
133 if (fMaker.fError.hasError()) { in onAddAttributeLen()
138 if (fMaker.find(attrValue, attrValueLen, &ref) == false) { in onAddAttributeLen()
[all …]
DSkDisplayMovie.cpp26 fMovie.fMaker->fInMovie = true; in SkDisplayMovie()
35 SkAnimateMaker* movieMaker = fMovie.fMaker; in buildMovie()
40 fDecodedSuccessfully = fMovie.fMaker->decodeURI(src.c_str()); in buildMovie()
56 copy->fMovie.fMaker->fParentMaker = fMovie.fMaker->fParentMaker; in deepCopy()
57 copy->fMovie.fMaker->fHostEventSinkID = fMovie.fMaker->fHostEventSinkID; in deepCopy()
59 *fMovie.fMaker->fParentMaker->fMovies.append() = copy; in deepCopy()
70 fMovie.fMaker->fEnableTime = fMovie.fMaker->fParentMaker->fEnableTime; in doEvent()
71 return fMovie.fMaker->fEvents.doEvent(*fMovie.fMaker, kind, state); in doEvent()
83 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); in draw()
92 SkAnimateMaker* movieMaker = fMovie.fMaker; in dump()
[all …]
DSkDrawExtraPathEffect.cpp89 fDraw(draw), fMaker(maker) { in SkShape1DPathEffect()
97 SkAnimatorScript engine(*fMaker, NULL, SkType_Float); in begin()
105 fMaker->setExtraPropertyCallBack(fDraw->fType, GetDistance, &distance); in next()
111 apply->refresh(*fMaker); in next()
112 apply->activate(*fMaker); in next()
113 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next()
124 apply->refresh(*fMaker); in next()
125 apply->activate(*fMaker); in next()
126 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next()
134 SkAnimatorScript::EvaluateFloat(*fMaker, NULL, fDraw->spacing.c_str(), &result); in next()
[all …]
DSkAnimateActive.cpp22 fMaxTime(0), fMaker(maker), fDrawIndex(0), fDrawMax(0) { in SkActive()
90 fMaker.postOnEnd(oldGuard, oldState.fBegin + oldState.fDuration); in append()
169 fApply.refresh(fMaker); in create()
177 SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, in create()
187 drawable->enable(fMaker); in create()
199 fApply.refresh(fMaker); in immediate()
215 … SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, in immediate()
226 drawable->enable(fMaker); in immediate()
228 result |= drawable->draw(fMaker); in immediate()
239 animate->refresh(fMaker); in fixInterpolator()
[all …]
DSkBoundable.cpp43 SkAnimateMaker& maker) : fBoundable(boundable), fMaker(maker) { in SkBoundableAuto()
46 fMaker.fDisplayList.fBounds.setEmpty(); in SkBoundableAuto()
54 fBoundable->setBounds(fMaker.fDisplayList.fBounds); in ~SkBoundableAuto()
DSkAnimatorScript2.h31 SkAnimateMaker& getMaker() { return fMaker; } in getMaker()
38 SkAnimateMaker& fMaker;
DSkDisplayPost.cpp41 SkPost::SkPost() : delay(0), /*initialized(SkBool(-1)), */ mode(kImmediate), fMaker(NULL), in SkPost()
234 fTargetMaker = fMaker; in findSinkID()
254 fTargetMaker = movie->fMovie.fMaker; in findSinkID()
269 fTargetMaker = fMaker = &maker; in onEndElement()
DSkBoundable.h37 SkAnimateMaker& fMaker; variable
DSkDisplayPost.h47 SkAnimateMaker* fMaker; variable
DSkAnimatorScript.cpp48 … : SkScriptEngine(SkScriptEngine::ToOpType(type)), fMaker(maker), fParent(NULL), fWorking(working) in SkAnimatorScript()
85 fMaker.setScriptError(*this); in evaluate()
140 …SkAnimatorScript engine(host->fMaker, host->fWorking, SkScriptEngine::ToDisplayType(host->fReturnT… in Eval()
161 SkTDict<SkDisplayable*>* ids = &engine->fMaker.fIDs; in EvalID()
565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType); in UnitTest()
DSkScript.h216 void setAnimateMaker(SkAnimateMaker* maker) { fMaker = maker; } in setAnimateMaker()
237 SkAnimateMaker* fMaker; variable
/external/skia/src/animator/
DSkAnimator.cpp45 SkAnimator::SkAnimator() : fMaker(NULL) { in SkAnimator()
50 SkDELETE(fMaker); in ~SkAnimator()
54 *fMaker->fExtras.append() = extras; in addExtras()
63 fMaker->fFileName.reset(); in decodeMemory()
64 SkDisplayXMLParser parser(*fMaker); in decodeMemory()
70 SkDisplayXMLParser parser(*fMaker); in decodeStream()
72 fMaker->setErrorString(); in decodeStream()
78 fMaker->fFileName.reset(); in decodeDOM()
79 SkDisplayXMLParser parser(*fMaker); in decodeDOM()
101 fMaker->fEnableTime = fMaker->getAppTime(); in doCharEvent()
[all …]
DSkDisplayXMLParser.cpp73 : INHERITED(&maker.fError), fMaker(maker), fInInclude(maker.fInInclude), in SkDisplayXMLParser()
79 if (fCurrDisplayable && fMaker.fChildren.find(fCurrDisplayable) < 0) in ~SkDisplayXMLParser()
85 SkASSERT(fMaker.fChildren.find(displayable) < 0); in ~SkDisplayXMLParser()
86 if (fMaker.fHelpers.find(displayable) < 0) in ~SkDisplayXMLParser()
106 if (fMaker.find(attrValue, attrValueLen, NULL)) { in onAddAttributeLen()
115 fMaker.idsSet(attrValue, attrValueLen, displayable); in onAddAttributeLen()
124 const SkMemberInfo* info = SkDisplayType::GetMember(&fMaker, type, &name); in onAddAttributeLen()
130 if (info->setValue(fMaker, NULL, 0, info->getCount(), displayable, info->getType(), attrValue, in onAddAttributeLen()
133 if (fMaker.fError.hasError()) { in onAddAttributeLen()
138 if (fMaker.find(attrValue, attrValueLen, &ref) == false) { in onAddAttributeLen()
[all …]
DSkDisplayMovie.cpp26 fMovie.fMaker->fInMovie = true; in SkDisplayMovie()
35 SkAnimateMaker* movieMaker = fMovie.fMaker; in buildMovie()
40 fDecodedSuccessfully = fMovie.fMaker->decodeURI(src.c_str()); in buildMovie()
56 copy->fMovie.fMaker->fParentMaker = fMovie.fMaker->fParentMaker; in deepCopy()
57 copy->fMovie.fMaker->fHostEventSinkID = fMovie.fMaker->fHostEventSinkID; in deepCopy()
59 *fMovie.fMaker->fParentMaker->fMovies.append() = copy; in deepCopy()
70 fMovie.fMaker->fEnableTime = fMovie.fMaker->fParentMaker->fEnableTime; in doEvent()
71 return fMovie.fMaker->fEvents.doEvent(*fMovie.fMaker, kind, state); in doEvent()
83 maker.fDisplayList.fInvalBounds.join(fMovie.fMaker->fDisplayList.fInvalBounds); in draw()
92 SkAnimateMaker* movieMaker = fMovie.fMaker; in dump()
[all …]
DSkDrawExtraPathEffect.cpp89 fDraw(draw), fMaker(maker) { in SkShape1DPathEffect()
97 SkAnimatorScript engine(*fMaker, NULL, SkType_Float); in begin()
105 fMaker->setExtraPropertyCallBack(fDraw->fType, GetDistance, &distance); in next()
111 apply->refresh(*fMaker); in next()
112 apply->activate(*fMaker); in next()
113 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next()
124 apply->refresh(*fMaker); in next()
125 apply->activate(*fMaker); in next()
126 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next()
134 SkAnimatorScript::EvaluateFloat(*fMaker, NULL, fDraw->spacing.c_str(), &result); in next()
[all …]
DSkAnimateActive.cpp22 fMaxTime(0), fMaker(maker), fDrawIndex(0), fDrawMax(0) { in SkActive()
90 fMaker.postOnEnd(oldGuard, oldState.fBegin + oldState.fDuration); in append()
169 fApply.refresh(fMaker); in create()
177 SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, in create()
187 drawable->enable(fMaker); in create()
199 fApply.refresh(fMaker); in immediate()
215 … SkDEBUGCODE(bool success = ) animate->fFieldInfo->setValue(fMaker, &values, 0, 0, NULL, in immediate()
226 drawable->enable(fMaker); in immediate()
228 result |= drawable->draw(fMaker); in immediate()
239 animate->refresh(fMaker); in fixInterpolator()
[all …]
DSkBoundable.cpp43 SkAnimateMaker& maker) : fBoundable(boundable), fMaker(maker) { in SkBoundableAuto()
46 fMaker.fDisplayList.fBounds.setEmpty(); in SkBoundableAuto()
54 fBoundable->setBounds(fMaker.fDisplayList.fBounds); in ~SkBoundableAuto()
DSkAnimatorScript2.h31 SkAnimateMaker& getMaker() { return fMaker; } in getMaker()
38 SkAnimateMaker& fMaker;
DSkDisplayPost.cpp41 SkPost::SkPost() : delay(0), /*initialized(SkBool(-1)), */ mode(kImmediate), fMaker(NULL), in SkPost()
234 fTargetMaker = fMaker; in findSinkID()
254 fTargetMaker = movie->fMovie.fMaker; in findSinkID()
269 fTargetMaker = fMaker = &maker; in onEndElement()
DSkBoundable.h37 SkAnimateMaker& fMaker; variable
DSkDisplayPost.h47 SkAnimateMaker* fMaker; variable
DSkAnimatorScript.cpp48 … : SkScriptEngine(SkScriptEngine::ToOpType(type)), fMaker(maker), fParent(NULL), fWorking(working) in SkAnimatorScript()
85 fMaker.setScriptError(*this); in evaluate()
140 …SkAnimatorScript engine(host->fMaker, host->fWorking, SkScriptEngine::ToDisplayType(host->fReturnT… in Eval()
161 SkTDict<SkDisplayable*>* ids = &engine->fMaker.fIDs; in EvalID()
565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType); in UnitTest()
DSkScript.h216 void setAnimateMaker(SkAnimateMaker* maker) { fMaker = maker; } in setAnimateMaker()
237 SkAnimateMaker* fMaker; variable
DSkXMLAnimatorWriter.cpp17 fParser = new SkDisplayXMLParser(*fAnimator->fMaker); in SkXMLAnimatorWriter()

12