Lines Matching refs:fMaker
45 SkAnimator::SkAnimator() : fMaker(nullptr) { in SkAnimator()
49 SkAnimator::~SkAnimator() { delete fMaker; } in ~SkAnimator()
52 *fMaker->fExtras.append() = extras; in addExtras()
61 fMaker->fFileName.reset(); in decodeMemory()
62 SkDisplayXMLParser parser(*fMaker); in decodeMemory()
68 SkDisplayXMLParser parser(*fMaker); in decodeStream()
70 fMaker->setErrorString(); in decodeStream()
76 fMaker->fFileName.reset(); in decodeDOM()
77 SkDisplayXMLParser parser(*fMaker); in decodeDOM()
99 fMaker->fEnableTime = fMaker->getAppTime(); in doCharEvent()
100 bool result = fMaker->fEvents.doEvent(*fMaker, SkDisplayEvent::kKeyChar, &state); in doCharEvent()
101 fMaker->notifyInval(); in doCharEvent()
110 fMaker->fEnableTime = fMaker->getAppTime(); in doClickEvent()
111 bool result = fMaker->fEvents.doEvent(*fMaker, in doClickEvent()
115 fMaker->notifyInval(); in doClickEvent()
124 fMaker->fEnableTime = fMaker->getAppTime(); in doKeyEvent()
125 bool result = fMaker->fEvents.doEvent(*fMaker, SkDisplayEvent::kKeyPress, &state); in doKeyEvent()
126 fMaker->notifyInval(); in doKeyEvent()
135 fMaker->fEnableTime = fMaker->getAppTime(); in doKeyUpEvent()
136 bool result = fMaker->fEvents.doEvent(*fMaker, SkDisplayEvent::kKeyPressUp, &state); in doKeyUpEvent()
137 fMaker->notifyInval(); in doKeyUpEvent()
142 fMaker->fEnableTime = fMaker->getAppTime(); in doUserEvent()
149 fMaker->fScreenplay.time = time; in draw()
150 fMaker->fCanvas = canvas; in draw()
151 fMaker->fPaint = paint; in draw()
152 fMaker->fDisplayList.fHasUnion = false; in draw()
153 int result = fMaker->fDisplayList.draw(*fMaker, time); in draw()
155 result += fMaker->fDisplayList.fHasUnion; in draw()
174 fMaker->fEnableTime = fMaker->getAppTime(); in findClickEvent()
175 bool result = fMaker->fEvents.doEvent(*fMaker, SkDisplayEvent::kMouseDown, &state); in findClickEvent()
176 fMaker->notifyInval(); in findClickEvent()
189 if (fMaker->find(id, &element) == false) in getElement()
196 const SkMemberInfo* info = SkDisplayType::GetMembers(fMaker, element->getType(), nullptr); in getElementType()
197 return (SkElementType) SkDisplayType::Find(fMaker, info); in getElementType()
286 return fMaker->fMinimumInterval == (SkMSec) -1 ? 0 : fMaker->fMinimumInterval; in getInterval()
290 if (fMaker->fDisplayList.fHasUnion) { in getInvalBounds()
291 inval->fLeft = SkIntToScalar(fMaker->fDisplayList.fInvalBounds.fLeft); in getInvalBounds()
292 inval->fTop = SkIntToScalar(fMaker->fDisplayList.fInvalBounds.fTop); in getInvalBounds()
293 inval->fRight = SkIntToScalar(fMaker->fDisplayList.fInvalBounds.fRight); in getInvalBounds()
294 inval->fBottom = SkIntToScalar(fMaker->fDisplayList.fInvalBounds.fBottom); in getInvalBounds()
302 return &fMaker->fError; in getParserError()
306 if (fMaker->fErrorString.size() == 0 && fMaker->fError.hasError()) in getParserErrorString()
307 fMaker->setErrorString(); in getParserErrorString()
308 return fMaker->fErrorString.c_str(); in getParserErrorString()
383 return fMaker->fPrefix.c_str(); in getURIBase()
387 delete fMaker; in initialize()
388 fMaker = new SkAnimateMaker(this, nullptr, nullptr); in initialize()
404 SkAnimator* root = fMaker->getRoot(); in onEvent()
414 SkDEBUGCODE(success =) evt.findS32("time", (int32_t*) &fMaker->fEnableTime); in onEvent()
416 fMaker->fAdjustedStart = fMaker->getAppTime() - fMaker->fEnableTime; in onEvent()
417 fMaker->fEvents.doEvent(*fMaker, SkDisplayEvent::kOnEnd, &eventState); in onEvent()
418 fMaker->fAdjustedStart = 0; in onEvent()
422 fMaker->doDelayedEvent(); in onEvent()
429 SkDisplayable** firstMovie = fMaker->fMovies.begin(); in onEvent()
430 SkDisplayable** endMovie = fMaker->fMovies.end(); in onEvent()
437 if (fMaker->find(id, &event) == false) in onEvent()
441 SkMSec realTime = fMaker->getAppTime(); in onEvent()
442 debugOut.appendS32(realTime - fMaker->fDebugTimeBase); in onEvent()
448 SkMSec app = fMaker->getAppTime(); in onEvent()
449 fMaker->setEnableTime(app, time); in onEvent()
452 debugOut.appendS32(time - fMaker->fDebugTimeBase); in onEvent()
454 debugOut.appendS32(fMaker->fAdjustedStart); in onEvent()
462 displayEvent->populateInput(*fMaker, evt); in onEvent()
463 displayEvent->enableEvent(*fMaker); in onEvent()
467 fMaker->notifyInval(); in onEvent()
474 SkAnimator* root = fMaker->getRoot(); in onEventPost()
488 SkAnimator* root = fMaker->getRoot(); in onEventPostTime()
500 fMaker->fDisplayList.reset(); in reset()
504 return fMaker->fHostEventSinkID; in getHostEventSinkID()
508 fMaker->fHostEventSinkID = target; in setHostEventSinkID()
620 info->setValue(*fMaker, nullptr, 0, info->fCount, element, info->getType(), str, strlen(str)); in setString()
635 fMaker->fTimeline = &timeline; in setTimeline()
645 fMaker->fPrefix.reset(); in setURIBase()
646 fMaker->fPrefix.append(prefix); in setURIBase()
647 fMaker->fFileName.set(tail + 1); in setURIBase()
649 fMaker->fFileName.set(uri); in setURIBase()