Home
last modified time | relevance | path

Searched refs:SkDisplayTypes (Results 1 – 25 of 50) sorted by relevance

12

/external/skia/src/animator/
DSkDisplayType.h30 enum SkDisplayTypes { enum
162 SkDisplayTypes fType;
170 typedef SkDisplayTypes SkFunctionParamType;
180 static SkDisplayTypes Find(SkAnimateMaker* , const SkMemberInfo* );
181 static const SkMemberInfo* GetMember(SkAnimateMaker* , SkDisplayTypes , const char** );
182 static const SkMemberInfo* GetMembers(SkAnimateMaker* , SkDisplayTypes , int* infoCountPtr);
183 static SkDisplayTypes GetParent(SkAnimateMaker* , SkDisplayTypes );
184 static bool IsDisplayable(SkAnimateMaker* , SkDisplayTypes );
185 static bool IsEnum(SkAnimateMaker* , SkDisplayTypes );
186 static bool IsStruct(SkAnimateMaker* , SkDisplayTypes );
[all …]
DSkMemberInfo.h37 SkDisplayTypes fType;
45 SkDisplayTypes arrayType() const { in arrayType()
47 return (SkDisplayTypes) fCount; // hack, but worth it? in arrayType()
61 SkDisplayTypes getType() const { in getType()
63 fType == SkType_MemberFunction ? (SkDisplayTypes) fCount : (SkDisplayTypes) fType; in getType()
76 SkDisplayTypes propertyType() const { in propertyType()
78 return (SkDisplayTypes) fCount; // hack, but worth it? in propertyType()
88 SkDisplayTypes outType, const char value[], size_t len) const;
91 SkDisplayTypes outType, SkString& str) const;
94 int storageOffset, int maxStorage, void* untypedStorage, SkDisplayTypes outType,
[all …]
DSkExtras.h20 virtual SkDisplayable* createInstance(SkDisplayTypes type) = 0;
21 virtual bool definesType(SkDisplayTypes type) = 0;
23 virtual const SkMemberInfo* getMembers(SkDisplayTypes type, int* infoCountPtr) = 0;
26 virtual const char* getName(SkDisplayTypes type) = 0;
28 virtual SkDisplayTypes getType(const char match[], size_t len ) = 0;
DSkDrawExtraPathEffect.cpp36 SkDrawShape1DPathEffect(SkDisplayTypes );
48 SkDrawShape2DPathEffect(SkDisplayTypes );
59 SkDrawComposePathEffect(SkDisplayTypes );
71 SkDrawCornerPathEffect(SkDisplayTypes );
219 SkDrawShape1DPathEffect::SkDrawShape1DPathEffect(SkDisplayTypes type) : fType(type) { in SkDrawShape1DPathEffect()
337 SkDrawShape2DPathEffect::SkDrawShape2DPathEffect(SkDisplayTypes type) : fType(type) { in SkDrawShape2DPathEffect()
364 SkDrawComposePathEffect::SkDrawComposePathEffect(SkDisplayTypes type) : fType(type), in SkDrawComposePathEffect()
406 SkDrawCornerPathEffect::SkDrawCornerPathEffect(SkDisplayTypes type): in SkDrawCornerPathEffect()
435 virtual SkDisplayable* createInstance(SkDisplayTypes type) { in createInstance()
448 virtual bool definesType(SkDisplayTypes type) { in definesType()
[all …]
DSkDisplayType.cpp72 SkDisplayTypes SkDisplayType::gNewTypes = kNumberOfTypes;
74 SkDisplayable* SkDisplayType::CreateInstance(SkAnimateMaker* maker, SkDisplayTypes type) { in CreateInstance()
228 SkDisplayTypes type, int* infoCountPtr) { in GetMembers()
374 SkDisplayTypes type, const char** matchPtr ) { in GetMember()
529 SkDisplayTypes SkDisplayType::Find(SkAnimateMaker* maker, const SkMemberInfo* match) { in Find()
531 SkDisplayTypes type = gTypeNames[index].fType; in Find()
536 return (SkDisplayTypes) -1; in Find()
540 SkDisplayTypes SkDisplayType::GetParent(SkAnimateMaker* maker, SkDisplayTypes base) { in GetParent()
552 SkDisplayTypes result = (SkDisplayTypes) (SkType_Unknown + 1); in GetParent()
553 for (; result <= SkType_Xfermode; result = (SkDisplayTypes) (result + 1)) { in GetParent()
[all …]
DSkAnimatorScript2.h20 SkDisplayTypes fType;
27 SkAnimatorScript2(SkAnimateMaker& , SkDisplayable* working, SkDisplayTypes type);
34 static const SkDisplayEnumMap& GetEnumValues(SkDisplayTypes type);
35 static SkDisplayTypes ToDisplayType(SkOperand2::OpType type);
36 static SkOperand2::OpType ToOpType(SkDisplayTypes type);
DSkTypedArray.h19 SkTypedArray(SkDisplayTypes type);
21 SkDisplayTypes getType() { return fType; } in getType()
23 void setType(SkDisplayTypes type) { in setType()
28 SkDisplayTypes fType;
DSkDisplayable.h54 SkTDArray<SkScriptValue>& , SkDisplayTypes , SkScriptValue* );
58 SkOpArray* params , SkDisplayTypes , SkOperand2* ); // compiled scripting experiment
68 virtual SkDisplayTypes getType() const;
71 SkDisplayTypes type = getType(); in isAnimate()
84 virtual const SkMemberInfo* preferredChild(SkDisplayTypes type);
107 void dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp,
DSkGetCondensedInfo.cpp37 static int _searchByType(SkDisplayTypes type) { in _searchByType()
53 const SkMemberInfo* SkDisplayType::GetMembers(SkAnimateMaker* , SkDisplayTypes type, int* infoCount… in GetMembers()
63 const SkMemberInfo* SkDisplayType::GetMember(SkAnimateMaker* , SkDisplayTypes type, const char** ma… in GetMember()
90 const SkMemberInfo* SkMemberInfo::Find(SkDisplayTypes type, int* index) { in Find()
110 const SkMemberInfo* SkMemberInfo::Find(SkDisplayTypes type, const char** matchPtr) { in Find()
DSkOperandInterpolator.h20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
39 SkDisplayTypes fType;
DSkDisplayable.cpp71 SkDisplayTypes type = getType(); in deepCopy()
100 SkDisplayTypes elementType; in deepCopy()
146 SkDisplayTypes type = getType(); in dumpAttrs()
190 SkDisplayTypes elementType; in dumpAttrs()
242 SkDisplayTypes type = getType(); in dumpBase()
284 SkDisplayTypes type = getType(); in dumpEnd()
295 void SkDisplayable::dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOpera… in dumpValues()
397 SkTDArray<SkScriptValue>& , SkDisplayTypes, SkScriptValue* ) { in executeFunction() argument
414 SkOpArray* params, SkDisplayTypes, SkOperand2* ) { in executeFunction2() argument
472 SkDisplayTypes SkDisplayable::getType() const { in getType()
[all …]
DSkBuildCondensedInfo.cpp29 static void AddInfo(SkDisplayTypes type, const SkMemberInfo* info, int infoCount) { in AddInfo()
74 offset = gInfosTypeIDs.find((SkDisplayTypes) offset); in WriteInfo()
100 SkDisplayTypes first = *(SkDisplayTypes*) a; in type_compare()
101 SkDisplayTypes second = *(SkDisplayTypes*) b; in type_compare()
134 maker, (SkDisplayTypes) typeIndex, NULL); in BuildCondensedInfo()
139 AddInfo((SkDisplayTypes) typeIndex, info, oldRefCounts[index]); in BuildCondensedInfo()
DSkAnimatorScript.h21 SkDisplayTypes fType;
27 SkAnimatorScript(SkAnimateMaker& , SkDisplayable* , SkDisplayTypes type);
29 bool evaluate(const char* script, SkScriptValue* , SkDisplayTypes type);
54 static const SkDisplayEnumMap& GetEnumValues(SkDisplayTypes type);
DSkScript.h76 bool convertTo(SkDisplayTypes , SkScriptValue* );
91 static bool ConvertTo(SkScriptEngine* , SkDisplayTypes toType, SkScriptValue* value);
93 static SkDisplayTypes ToDisplayType(SkOpType type);
94 static SkOpType ToOpType(SkDisplayTypes type);
194 void convertToString(SkOperand& operand, SkDisplayTypes type) { in convertToString()
258 SkDisplayTypes fType;
DSkMemberInfo.cpp24 size_t SkMemberInfo::GetSize(SkDisplayTypes type) { // size of simple types only in GetSize()
86 SkDisplayTypes type = (SkDisplayTypes) 0; in getArrayValue()
107 SkDisplayTypes type; in getSize()
119 byteSize = GetSize((SkDisplayTypes) fType); in getSize()
184 int storageOffset, int maxStorage, SkDisplayable* displayable, SkDisplayTypes outType, in setValue()
191 SkDisplayTypes type = getType(); in setValue()
350 int storageOffset, int maxStorage, SkDisplayable* displayable, SkDisplayTypes outType, in setValue()
357 int storageOffset, int maxStorage, void* untypedStorage, SkDisplayTypes outType, in writeValue()
364 SkDisplayTypes type = getType(); in writeValue()
531 bool SkMemberInfo::SetValue(void* valuePtr, const char value[], SkDisplayTypes type,
DSkAnimatorScript.cpp47 SkAnimatorScript::SkAnimatorScript(SkAnimateMaker& maker, SkDisplayable* working, SkDisplayTypes ty… in SkAnimatorScript()
81 bool SkAnimatorScript::evaluate(const char* original, SkScriptValue* result, SkDisplayTypes type) { in evaluate()
93 SkDisplayTypes type = scriptValue->fType; in Box()
223 SkDisplayTypes original; in EvalMemberCommon()
224 SkDisplayTypes type = original = (SkDisplayTypes) info->getType(); in EvalMemberCommon()
357 const SkDisplayEnumMap& SkAnimatorScript::GetEnumValues(SkDisplayTypes type) { in GetEnumValues()
358 int index = SkTSearch<SkDisplayTypes>(&gEnumMaps[0].fType, gEnumMapCount, type, in GetEnumValues()
379 SkDisplayTypes type = scriptValue->fType; in IsFinite()
445 SkDisplayTypes type = displayable->getType(); in Unbox()
DSkDisplayXMLParser.cpp103 SkDisplayTypes type = fCurrType; in onAddAttributeLen()
249 SkDisplayTypes type = displayable->getType(); in onStartElementLen()
283 SkDisplayTypes type = (SkDisplayTypes) info->fType; in searchContainer()
286 SkDisplayTypes containerType = container->fType; in searchContainer()
DSkAnimatorScript2.cpp366 SkAnimatorScript2::SkAnimatorScript2(SkAnimateMaker& maker, SkDisplayable* working, SkDisplayTypes in SkAnimatorScript2()
400 SkDisplayTypes original; in evalMemberCommon()
401 SkDisplayTypes type = original = (SkDisplayTypes) info->getType(); in evalMemberCommon()
448 const SkDisplayEnumMap& SkAnimatorScript2::GetEnumValues(SkDisplayTypes type) { in GetEnumValues()
449 int index = SkTSearch<SkDisplayTypes>(&gEnumMaps[0].fType, gEnumMapCount, type, in GetEnumValues()
455 SkDisplayTypes SkAnimatorScript2::ToDisplayType(SkOperand2::OpType type) { in ToDisplayType()
476 SkOperand2::OpType SkAnimatorScript2::ToOpType(SkDisplayTypes type) { in ToOpType()
DSkDisplayXMLParser.h74 SkDisplayTypes fType;
86 SkDisplayTypes fCurrType;
DSkMatrixParts.h95 const SkMemberInfo* preferredChild(SkDisplayTypes type) override;
110 const SkMemberInfo* preferredChild(SkDisplayTypes type) override;
DSkDisplayApply.h40 SkDisplayTypes , SkMSec time);
64 const SkMemberInfo* preferredChild(SkDisplayTypes type) override;
DSkDisplayApply.cpp108 SkDisplayTypes valuesType, SkMSec time) in applyValues()
114 SkDisplayTypes type = (SkDisplayTypes) info->fType; in applyValues()
458 SkDisplayTypes type = (SkDisplayTypes) info->fType; in endSave()
686 const SkMemberInfo* SkApply::preferredChild(SkDisplayTypes type) { in preferredChild()
742 SkDisplayTypes type = (SkDisplayTypes) info->fType; in save()
DSkHitTest.h22 const SkMemberInfo* preferredChild(SkDisplayTypes type) override;
DSkDisplayMath.h20 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
DSkOperandIterpolator.cpp19 SkDisplayTypes type) in SkOperandInterpolator()
24 void SkOperandInterpolator::reset(int elemCount, int frameCount, SkDisplayTypes type) in reset()

12