Lines Matching defs:SkAnimatorScript
10 #include "SkAnimatorScript.h"
47 SkAnimatorScript::SkAnimatorScript(SkAnimateMaker& maker, SkDisplayable* working, SkDisplayTypes type)
76 SkAnimatorScript::~SkAnimatorScript() {
81 bool SkAnimatorScript::evaluate(const char* original, SkScriptValue* result, SkDisplayTypes type) {
91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) {
92 SkAnimatorScript* engine = (SkAnimatorScript*) user;
133 bool SkAnimatorScript::Eval(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
139 SkAnimatorScript* host = (SkAnimatorScript*) eng;
140 SkAnimatorScript engine(host->fMaker, host->fWorking, SkScriptEngine::ToDisplayType(host->fReturnType));
151 bool SkAnimatorScript::EvalEnum(const char* token, size_t len, void* callBack, SkScriptValue* value) {
159 bool SkAnimatorScript::EvalID(const char* token, size_t len, void* user, SkScriptValue* value) {
160 SkAnimatorScript* engine = (SkAnimatorScript*) user;
195 bool SkAnimatorScript::EvalNamedColor(const char* token, size_t len, void* callback, SkScriptValue* value) {
202 bool SkAnimatorScript::EvalRGB(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
221 bool SkAnimatorScript::EvalMemberCommon(SkScriptEngine* engine, const SkMemberInfo* info,
272 bool SkAnimatorScript::EvalMember(const char* member, size_t len, void* object, void* eng,
295 bool SkAnimatorScript::EvalMemberFunction(const char* member, size_t len, void* object,
311 bool SkAnimatorScript::EvaluateDisplayable(SkAnimateMaker& maker, SkDisplayable* displayable, const char* script, SkDisplayable** result) {
312 SkAnimatorScript engine(maker, displayable, SkType_Displayable);
320 bool SkAnimatorScript::EvaluateInt(SkAnimateMaker& maker, SkDisplayable* displayable, const char* script, int32_t* result) {
321 SkAnimatorScript engine(maker, displayable, SkType_Int);
329 bool SkAnimatorScript::EvaluateFloat(SkAnimateMaker& maker, SkDisplayable* displayable, const char* script, SkScalar* result) {
330 SkAnimatorScript engine(maker, displayable, SkType_Float);
338 bool SkAnimatorScript::EvaluateString(SkAnimateMaker& maker, SkDisplayable* displayable, const char* script, SkString* result) {
339 SkAnimatorScript engine(maker, displayable, SkType_String);
347 bool SkAnimatorScript::EvaluateString(SkAnimateMaker& maker, SkDisplayable* displayable, SkDisplayable* parent, const char* script, SkString* result) {
348 SkAnimatorScript engine(maker, displayable, SkType_String);
357 const SkDisplayEnumMap& SkAnimatorScript::GetEnumValues(SkDisplayTypes type) {
364 bool SkAnimatorScript::Infinity(const char* token, size_t len, void* user, SkScriptValue* value) {
372 bool SkAnimatorScript::IsFinite(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
387 bool SkAnimatorScript::IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
399 bool SkAnimatorScript
419 bool SkAnimatorScript::NaN(const char* token, size_t len, void* user, SkScriptValue* value) {
428 bool SkAnimatorScript::ObjectToString(void* object, void* user, SkScriptValue* value) {
441 bool SkAnimatorScript::Unbox(void* m, SkScriptValue* scriptValue) {
555 void SkAnimatorScript::UnitTest() {
565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType);