Home
last modified time | relevance | path

Searched refs:SkScriptValue (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/src/animator/
DSkAnimatorScript.h29 bool evaluate(const char* script, SkScriptValue* , SkDisplayTypes type);
40 static bool Box(void* user, SkScriptValue* );
41 static bool Eval(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
42 void* callBack, SkScriptValue* );
43 static bool EvalEnum(const char* token, size_t len, void* callBack, SkScriptValue* );
44 static bool EvalID(const char* token, size_t len, void* callBack, SkScriptValue* );
46 SkScriptValue* value);
48 SkDisplayable* displayable, SkScriptValue* value);
50 SkTDArray<SkScriptValue>& params, void* user, SkScriptValue* value);
51 static bool EvalNamedColor(const char* token, size_t len, void* callBack, SkScriptValue* );
[all …]
DSkScript.h61 typedef bool (*_boxCallBack)(void* userStorage, SkScriptValue* result);
62 … typedef bool (*_functionCallBack)(const char* func, size_t len, SkTDArray<SkScriptValue>& params,
63 void* userStorage, SkScriptValue* result);
65 void* userStorage, SkScriptValue* result);
67 SkTDArray<SkScriptValue>& params, void* userStorage, SkScriptValue* result);
69 … bool (*_propertyCallBack)(const char* prop, size_t len, void* userStorage, SkScriptValue* result);
70 typedef bool (*_unboxCallBack)(void* userStorage, SkScriptValue* result);
74 bool convertTo(SkDisplayTypes , SkScriptValue* );
75 bool evaluateScript(const char** script, SkScriptValue* value);
89 static bool ConvertTo(SkScriptEngine* , SkDisplayTypes toType, SkScriptValue* value);
[all …]
DSkAnimatorScript.cpp81 bool SkAnimatorScript::evaluate(const char* original, SkScriptValue* result, SkDisplayTypes type) { in evaluate()
91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { in Box()
133 bool SkAnimatorScript::Eval(const char* function, size_t len, SkTDArray<SkScriptValue>& params, in Eval()
134 void* eng, SkScriptValue* value) { in Eval()
141 SkScriptValue* scriptValue = params.begin(); in Eval()
151 bool SkAnimatorScript::EvalEnum(const char* token, size_t len, void* callBack, SkScriptValue* value… in EvalEnum()
159 bool SkAnimatorScript::EvalID(const char* token, size_t len, void* user, SkScriptValue* value) { in EvalID()
195 bool SkAnimatorScript::EvalNamedColor(const char* token, size_t len, void* callback, SkScriptValue*… in EvalNamedColor()
202 bool SkAnimatorScript::EvalRGB(const char* function, size_t len, SkTDArray<SkScriptValue>& params, in EvalRGB()
203 void* eng, SkScriptValue* value) { in EvalRGB()
[all …]
DSkDisplayable.h25 struct SkScriptValue;
54 SkTDArray<SkScriptValue>& , SkDisplayTypes , SkScriptValue* );
56 SkTypedArray* , SkScriptValue* );
66 virtual bool getProperty(int index, SkScriptValue* value) const;
88 virtual bool setProperty(int index, SkScriptValue& );
DSkDisplayMath.h20 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
21 SkScriptValue* ) override;
23 bool getProperty(int index, SkScriptValue* value) const override;
DSkDisplayable.cpp85 SkScriptValue value; in deepCopy()
157 SkScriptValue value; in dumpAttrs()
158 SkScriptValue blankValue; in dumpAttrs()
397 SkTDArray<SkScriptValue>& , SkDisplayTypes, SkScriptValue* ) { in executeFunction() argument
402 const SkMemberInfo* info, SkTypedArray* values, SkScriptValue* value) { in executeFunction()
403 SkTDArray<SkScriptValue> typedValues; in executeFunction()
405 SkScriptValue temp; in executeFunction()
462 bool SkDisplayable::getProperty(int index, SkScriptValue* ) const { in getProperty()
505 bool SkDisplayable::setProperty(int index, SkScriptValue& ) { in setProperty() argument
512 SkScriptValue scriptValue; in setReference()
DSkDisplayTypes.h77 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
78 SkScriptValue* ) override;
80 bool getProperty(int index, SkScriptValue* ) const override;
92 bool getProperty(int index, SkScriptValue* ) const override;
DSkDrawPaint.h36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
37 SkScriptValue* ) override;
39 bool getProperty(int index, SkScriptValue* value) const override;
DSkDisplayMath.cpp132 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, in executeFunction()
133 SkScriptValue* scriptValue) { in executeFunction()
137 SkScriptValue* array = parameters.begin(); in executeFunction()
138 SkScriptValue* end = parameters.end(); in executeFunction()
221 bool SkDisplayMath::getProperty(int index, SkScriptValue* value) const { in getProperty()
DSkScript.cpp330 bool SkScriptEngine::convertParams(SkTDArray<SkScriptValue>& params, in convertParams()
343 bool SkScriptEngine::convertTo(SkDisplayTypes toType, SkScriptValue* value ) { in convertTo()
409 SkTDArray<SkScriptValue> params; in evaluateDotParam()
419 bool SkScriptEngine::evaluateScript(const char** scriptPtr, SkScriptValue* value) { in evaluateScript()
488 bool SkScriptEngine::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params) { in functionParams()
494 SkScriptValue value; in functionParams()
518 bool SkScriptEngine::innerScript(const char** scriptPtr, SkScriptValue* value) { in innerScript()
550 SkScriptValue tokenValue; in innerScript()
572 SkScriptValue tokenValue; in innerScript()
713 SkScriptValue scriptValue; in innerScript()
[all …]
DSkDisplayTypes.cpp122 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, in executeFunction()
123 SkScriptValue* scriptValue) { in executeFunction()
152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const { in getProperty()
203 bool SkDisplayArray::getProperty(int index, SkScriptValue* value) const { in getProperty()
DSkDisplayApply.h54 bool getProperty(int index, SkScriptValue* value) const override;
56 void getStep(SkScriptValue* );
71 bool setProperty(int index, SkScriptValue& ) override;
DSkDrawTextBox.h25 bool getProperty(int index, SkScriptValue* value) const override;
26 bool setProperty(int index, SkScriptValue& ) override;
DSkDisplayRandom.h31 bool getProperty(int index, SkScriptValue* value) const override;
32 bool setProperty(int index, SkScriptValue& ) override;
DSkDraw3D.h42 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
43 SkScriptValue* ) override;
DSkDrawColor.h25 bool getProperty(int index, SkScriptValue* value) const override;
28 bool setProperty(int index, SkScriptValue&) override;
DSkDrawRectangle.h28 bool getProperty(int index, SkScriptValue* value) const override;
30 bool setProperty(int index, SkScriptValue& ) override;
DSkDisplayEvent.h44 bool getProperty(int index, SkScriptValue* ) const override;
47 bool setProperty(int index, SkScriptValue& ) override;
DSkDisplayRandom.cpp45 bool SkDisplayRandom::getProperty(int index, SkScriptValue* value) const { in getProperty()
60 bool SkDisplayRandom::setProperty(int index, SkScriptValue& value) { in setProperty()
DSkDrawPath.h32 bool getProperty(int index, SkScriptValue* value) const override;
33 bool setProperty(int index, SkScriptValue& value) override;
DSkDrawBitmap.h42 bool setProperty(int index, SkScriptValue& value) override;
60 bool getProperty(int index, SkScriptValue* value) const override;
DSkDrawTextBox.cpp60 bool SkDrawTextBox::getProperty(int index, SkScriptValue* value) const in getProperty()
65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) in setProperty()
DSkDrawMatrix.h32 bool getProperty(int index, SkScriptValue* value) const override;
36 bool setProperty(int index, SkScriptValue& ) override;
DSkAnimateBase.h36 bool getProperty(int index, SkScriptValue* value) const override;
46 bool setProperty(int index, SkScriptValue& value) override;
DSkDisplayApply.cpp119 SkTDArray<SkScriptValue> typedValues; in applyValues()
121 SkScriptValue temp; in applyValues()
128 SkScriptValue scriptValue; in applyValues()
473 SkScriptValue scriptValue; in endSave()
485 bool SkApply::getProperty(int index, SkScriptValue* value) const { in getProperty()
506 void SkApply::getStep(SkScriptValue* value) { in getStep()
763 SkScriptValue scriptValue; in save()
769 SkScriptValue scriptValue; in save()
778 bool SkApply::setProperty(int index, SkScriptValue& scriptValue) { in setProperty()

123