Home
last modified time | relevance | path

Searched refs:SkDisplayable (Results 1 – 25 of 79) sorted by relevance

1234

/external/skia/src/animator/
DSkDisplayable.cpp20 SkTDDisplayableArray SkDisplayable::fAllocations;
24 SkDisplayable::SkDisplayable() { in SkDisplayable() function in SkDisplayable
33 SkDisplayable::~SkDisplayable() { in ~SkDisplayable()
42 bool SkDisplayable::addChild(SkAnimateMaker& , SkDisplayable* child) { in addChild()
51 bool SkDisplayable::canContainDependents() const { in canContainDependents()
55 bool SkDisplayable::childrenNeedDisposing() const { in childrenNeedDisposing()
59 void SkDisplayable::clearBounder() { in clearBounder()
62 bool SkDisplayable::contains(SkDisplayable* ) { in contains() argument
66 SkDisplayable* SkDisplayable::contains(const SkString& ) { in contains()
70 SkDisplayable* SkDisplayable::deepCopy(SkAnimateMaker* maker) { in deepCopy()
[all …]
DSkDisplayable.h29 class SkDisplayable {
32 SkDisplayable();
34 virtual ~SkDisplayable();
35 virtual bool addChild(SkAnimateMaker& , SkDisplayable* child);
39 virtual bool contains(SkDisplayable* );
40 virtual SkDisplayable* contains(const SkString& );
41 virtual SkDisplayable* deepCopy(SkAnimateMaker* );
53 virtual void executeFunction(SkDisplayable* , int functionIndex,
55 void executeFunction(SkDisplayable* , const SkMemberInfo* ,
57 virtual void executeFunction2(SkDisplayable* , int functionIndex,
[all …]
DSkAnimator.cpp180 const SkAnimator* SkAnimator::getAnimator(const SkDisplayable* displayable) const { in getAnimator()
187 const SkDisplayable* SkAnimator::getElement(const char* id) { in getElement()
188 SkDisplayable* element; in getElement()
191 return (const SkDisplayable*) element; in getElement()
194 SkElementType SkAnimator::getElementType(const SkDisplayable* ae) { in getElementType()
195 SkDisplayable* element = (SkDisplayable*) ae; in getElementType()
201 const SkDisplayable* element = getElement(id); in getElementType()
205 const SkMemberInfo* SkAnimator::getField(const SkDisplayable* ae, const char* field) { in getField()
206 SkDisplayable* element = (SkDisplayable*) ae; in getField()
212 const SkDisplayable* element = getElement(elementID); in getField()
[all …]
DSkAnimateMaker.h32 class SkDisplayable; variable
47 void childrenAdd(SkDisplayable* child) { *fChildren.append() = child; } in childrenAdd()
49 bool computeID(SkDisplayable* displayable, SkDisplayable* parent, SkString* newID);
50 SkDisplayable* createInstance(const char name[], size_t len);
59 int dynamicProperty(SkString& nameStr, SkDisplayable** );
60 bool find(const char* str, SkDisplayable** displayablePtr) const { in find()
63 bool find(const char* str, size_t len, SkDisplayable** displayablePtr) const { in find()
66 bool findKey(SkDisplayable* displayable, const char** string) const { in findKey()
81 void helperAdd(SkDisplayable* trackMe);
82 void helperRemove(SkDisplayable* alreadyTracked);
[all …]
DSkAnimateMaker.cpp76 bool SkAnimateMaker::computeID(SkDisplayable* displayable, SkDisplayable* parent, SkString* newID) { in computeID()
83 SkDisplayable* SkAnimateMaker::createInstance(const char name[], size_t len) { in createInstance()
119 return *(const SkDisplayable**)a - *(const SkDisplayable**)b; in compare_disp()
139 SkTDArray<SkDisplayable*> children(fChildren.begin(), fChildren.count()); in deleteMembers()
140 SkQSort(children.begin(), children.count(), sizeof(SkDisplayable*),compare_disp); in deleteMembers()
142 SkDisplayable* helper = fHelpers[index]; in deleteMembers()
143 result = SkTSearch(children.begin(), children.count(), helper, sizeof(SkDisplayable*)); in deleteMembers()
148 SkDisplayable* child = fChildren[index]; in deleteMembers()
152 SkDisplayable* helper = fHelpers[index]; in deleteMembers()
164 SkDisplayable* child = fDelayed[index]; in doDelayedEvent()
[all …]
DSkAnimatorScript.h27 SkAnimatorScript(SkAnimateMaker& , SkDisplayable* , SkDisplayTypes type);
30 void track(SkDisplayable* displayable) { in track()
33 …static bool EvaluateDisplayable(SkAnimateMaker& , SkDisplayable* , const char* script, SkDisplayab…
34 static bool EvaluateFloat(SkAnimateMaker& , SkDisplayable* , const char* script, SkScalar* );
35 static bool EvaluateInt(SkAnimateMaker& , SkDisplayable* , const char* script, int32_t* );
36 static bool EvaluateString(SkAnimateMaker& , SkDisplayable* , const char* script, SkString* );
37 …static bool EvaluateString(SkAnimateMaker& , SkDisplayable* , SkDisplayable* parent, const char* s…
48 SkDisplayable* displayable, SkScriptValue* value);
64 SkDisplayable* fParent;
65 SkDisplayable* fWorking;
DSkDisplayEvent.h20 class SkDisplayEvent : public SkDisplayable {
37 bool addChild(SkAnimateMaker& , SkDisplayable* child) override;
38 bool contains(SkDisplayable*) override;
39 SkDisplayable* contains(const SkString& ) override;
59 SkDisplayable* fTarget; // used by onEnd
63 typedef SkDisplayable INHERITED;
DSkAnimatorScript.cpp47 SkAnimatorScript::SkAnimatorScript(SkAnimateMaker& maker, SkDisplayable* working, SkDisplayTypes ty… in SkAnimatorScript()
77 …for (SkDisplayable** dispPtr = fTrackDisplayable.begin(); dispPtr < fTrackDisplayable.end(); dispP… in ~SkAnimatorScript()
94 SkDisplayable* displayable; in Box()
161 SkTDict<SkDisplayable*>* ids = &engine->fMaker.fIDs; in EvalID()
162 SkDisplayable* displayable; in EvalID()
167 SkDisplayable* parent = displayable->getParent(); in EvalID()
181 SkDisplayable* working = engine->fWorking; in EvalID()
222 SkDisplayable* displayable, SkScriptValue* value) { in EvalMemberCommon()
275 SkDisplayable* displayable = (SkDisplayable*) object; in EvalMember()
277 SkDisplayable* named = displayable->contains(name); in EvalMember()
[all …]
DSkMemberInfo.h24 class SkDisplayable; variable
54 bool getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) const;
60 size_t getSize(const SkDisplayable* ) const;
61 void getString(const SkDisplayable* , SkString** string) const;
66 void getValue(const SkDisplayable* , SkOperand values[], int count) const;
69 void* memberData(const SkDisplayable* displayable) const { in memberData()
81 void setMemberData(SkDisplayable* displayable, const void* child, size_t size) const { in setMemberData()
85 void setString(SkDisplayable* , SkString* ) const;
86 void setValue(SkDisplayable* , const SkOperand values[], int count) const;
88 int storageOffset, int maxStorage, SkDisplayable* ,
[all …]
DSkAnimatorScript2.cpp53 …for (SkDisplayable** dispPtr = fTrackDisplayable.begin(); dispPtr < fTrackDisplayable.end(); dispP… in ~SkAnimatorScript_Box()
58 SkDisplayable* displayable; in convert()
97 void track(SkDisplayable* displayable) { in track()
161 SkDisplayable* displayable; in getIndex()
167 SkDisplayable* working = fEngine->getWorking(); in getIndex()
199 SkDisplayable* displayable = (SkDisplayable*) object; in getMemberReference()
201 SkDisplayable* named = displayable->contains(name); in getMemberReference()
217 SkDisplayable* displayable = (SkDisplayable*) object; in invoke()
235 SkDisplayable* displayable = (SkDisplayable*) object; in getMemberReference()
254 SkDisplayable* displayable = (SkDisplayable*) object; in invoke()
[all …]
DSkDrawPath.h22 bool addChild(SkAnimateMaker& , SkDisplayable* child) override;
27 SkDisplayable* getParent() const override;
36 bool setParent(SkDisplayable* parent) override;
45 SkDisplayable* fParent; // SkPolyToPoly or SkFromPath, for instance
54 bool addChild(SkAnimateMaker& , SkDisplayable*) override;
DSkAnimateBase.h21 class SkAnimateBase : public SkDisplayable {
27 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
35 SkDisplayable* getParent() const override;
45 bool setParent(SkDisplayable* ) override;
77 typedef SkDisplayable INHERITED;
DSkAnimatorScript2.h27 SkAnimatorScript2(SkAnimateMaker& , SkDisplayable* working, SkDisplayTypes type);
30 SkDisplayable* displayable, SkOperand2* value);
32 SkDisplayable* getWorking() { return fWorking; } in getWorking()
39 SkDisplayable* fWorking;
DSkDisplayEvent.cpp55 bool SkDisplayEvent::addChild(SkAnimateMaker& , SkDisplayable* child) { in addChild()
60 bool SkDisplayEvent::contains(SkDisplayable* match) { in contains()
68 SkDisplayable* SkDisplayEvent::contains(const SkString& match) { in contains()
70 SkDisplayable* child = fChildren[index]; in contains()
79 SkDisplayable* evt = fChildren[index]; in deleteMembers()
130 SkDisplayable* displayable = fChildren[index]; in enableEvent()
194 SkDisplayable* displayable; in populateInput()
226 for (SkDisplayable** childPtr = fChildren.begin(); childPtr < fChildren.end(); childPtr++) { in populateInput()
227 SkDisplayable* displayable = *childPtr; in populateInput()
DSkDisplayTypes.h18 class SkDisplayDepend : public SkDisplayable {
21 void addDependent(SkDisplayable* displayable) { in addDependent()
28 typedef SkDisplayable INHERITED;
76 void executeFunction(SkDisplayable* , int index,
99 friend class SkDisplayable; variable
DSkHitTest.cpp34 SkDisplayable* bullet = bullets[bIndex]; in draw()
41 SkDisplayable* target = targets[tIndex]; in draw()
56 SkDisplayable* bullet = bullets[bIndex]; in enable()
60 SkDisplayable* target = targets[tIndex]; in enable()
DSkDisplayEvents.cpp43 SkDisplayable** firstMovie = maker.fMovies.begin(); in doEvent()
44 SkDisplayable** endMovie = maker.fMovies.end(); in doEvent()
45 for (SkDisplayable** ptr = firstMovie; ptr < endMovie; ptr++) { in doEvent()
50 SkDisplayable* displayable = state ? state->fDisplayable : nullptr; in doEvent()
99 SkDisplayable* displayable = state ? state->fDisplayable : nullptr; in removeEvent()
DSkDrawGroup.h22 bool addChild(SkAnimateMaker& , SkDisplayable* child) override;
23 bool contains(SkDisplayable* ) override;
26 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
47 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* ) override;
DSkDrawPaint.h29 virtual bool add(SkAnimateMaker* , SkDisplayable* child);
30 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
35 void executeFunction(SkDisplayable* target, int index,
40 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* apply) override;
DSkDrawColor.h23 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
24 SkDisplayable* getParent() const override;
27 bool setParent(SkDisplayable* parent) override;
DSkDrawGroup.cpp52 bool SkGroup::addChild(SkAnimateMaker& , SkDisplayable* child) { in addChild()
64 bool SkGroup::contains(SkDisplayable* match) { in contains()
84 SkDisplayable* SkGroup::deepCopy(SkAnimateMaker* maker) { in deepCopy()
85 SkDisplayable* copy = INHERITED::deepCopy(maker); in deepCopy()
87 SkDisplayable* displayable = (SkDisplayable*)*ptr; in deepCopy()
88 SkDisplayable* deeperCopy = displayable->deepCopy(maker); in deepCopy()
268 bool SkGroup::resolveIDs(SkAnimateMaker& maker, SkDisplayable* orig, SkApply* apply) { in resolveIDs()
DSkDisplayApply.h41 bool contains(SkDisplayable*) override;
43 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
67 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* ) override;
68 bool resolveField(SkAnimateMaker& , SkDisplayable* parent, SkString* str);
DSkDrawRectangle.h27 SkDisplayable* getParent() const override;
29 bool setParent(SkDisplayable* parent) override;
33 SkDisplayable* fParent;
DSkDisplayPost.h22 class SkPost : public SkDisplayable {
30 bool addChild(SkAnimateMaker& , SkDisplayable* child) override;
56 typedef SkDisplayable INHERITED;
/external/skia/include/animator/
DSkAnimator.h19 class SkDisplayable; variable
214 const SkAnimator* getAnimator(const SkDisplayable* element) const;
222 int32_t getArrayInt(const SkDisplayable* element, const SkMemberInfo* field, int index);
238 SkScalar getArrayScalar(const SkDisplayable* element, const SkMemberInfo* field, int index);
254 const char* getArrayString(const SkDisplayable* element, const SkMemberInfo* field, int index);
268 const SkDisplayable* getElement(const char* elementID);
275 SkElementType getElementType(const SkDisplayable* element);
288 const SkMemberInfo* getField(const SkDisplayable* element, const char* fieldName);
333 int32_t getInt(const SkDisplayable* element, const SkMemberInfo* field);
347 SkScalar getScalar(const SkDisplayable* element, const SkMemberInfo* field);
[all …]

1234