Home
last modified time | relevance | path

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

12345

/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.h63 typedef bool (*_boxCallBack)(void* userStorage, SkScriptValue* result);
64 … typedef bool (*_functionCallBack)(const char* func, size_t len, SkTDArray<SkScriptValue>& params,
65 void* userStorage, SkScriptValue* result);
67 void* userStorage, SkScriptValue* result);
69 SkTDArray<SkScriptValue>& params, void* userStorage, SkScriptValue* result);
71 … bool (*_propertyCallBack)(const char* prop, size_t len, void* userStorage, SkScriptValue* result);
72 typedef bool (*_unboxCallBack)(void* userStorage, SkScriptValue* result);
76 bool convertTo(SkDisplayTypes , SkScriptValue* );
77 bool evaluateScript(const char** script, SkScriptValue* value);
91 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* );
23 virtual bool getProperty(int index, SkScriptValue* value) const;
DSkDisplayTypes.h79 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
80 SkScriptValue* );
82 virtual bool getProperty(int index, SkScriptValue* ) const;
94 virtual bool getProperty(int index, SkScriptValue* ) const;
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()
DSkDrawPaint.h36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
37 SkScriptValue* );
39 virtual bool getProperty(int index, SkScriptValue* value) const;
DSkDisplayMath.cpp143 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, in executeFunction()
144 SkScriptValue* scriptValue) { in executeFunction()
148 SkScriptValue* array = parameters.begin(); in executeFunction()
149 SkScriptValue* end = parameters.end(); in executeFunction()
232 bool SkDisplayMath::getProperty(int index, SkScriptValue* value) const { in getProperty()
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()
DSkDrawTextBox.h25 virtual bool getProperty(int index, SkScriptValue* value) const;
26 virtual bool setProperty(int index, SkScriptValue& );
DSkDisplayRandom.h31 virtual bool getProperty(int index, SkScriptValue* value) const;
32 virtual bool setProperty(int index, SkScriptValue& );
/external/chromium_org/third_party/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.h63 typedef bool (*_boxCallBack)(void* userStorage, SkScriptValue* result);
64 … typedef bool (*_functionCallBack)(const char* func, size_t len, SkTDArray<SkScriptValue>& params,
65 void* userStorage, SkScriptValue* result);
67 void* userStorage, SkScriptValue* result);
69 SkTDArray<SkScriptValue>& params, void* userStorage, SkScriptValue* result);
71 … bool (*_propertyCallBack)(const char* prop, size_t len, void* userStorage, SkScriptValue* result);
72 typedef bool (*_unboxCallBack)(void* userStorage, SkScriptValue* result);
76 bool convertTo(SkDisplayTypes , SkScriptValue* );
77 bool evaluateScript(const char** script, SkScriptValue* value);
91 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* );
23 virtual bool getProperty(int index, SkScriptValue* value) const;
DSkDisplayTypes.h79 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
80 SkScriptValue* );
82 virtual bool getProperty(int index, SkScriptValue* ) const;
94 virtual bool getProperty(int index, SkScriptValue* ) const;
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()
DSkDrawPaint.h36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
37 SkScriptValue* );
39 virtual bool getProperty(int index, SkScriptValue* value) const;
DSkDisplayMath.cpp143 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, in executeFunction()
144 SkScriptValue* scriptValue) { in executeFunction()
148 SkScriptValue* array = parameters.begin(); in executeFunction()
149 SkScriptValue* end = parameters.end(); in executeFunction()
232 bool SkDisplayMath::getProperty(int index, SkScriptValue* value) const { in getProperty()
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()
DSkDrawTextBox.h25 virtual bool getProperty(int index, SkScriptValue* value) const;
26 virtual bool setProperty(int index, SkScriptValue& );
DSkDisplayRandom.h31 virtual bool getProperty(int index, SkScriptValue* value) const;
32 virtual bool setProperty(int index, SkScriptValue& );
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 …]

12345