Home | History | Annotate | Download | only in animator

Lines Matching refs:callBack

326     UserCallBack callBack;
327 callBack.fBoxCallBack = func;
328 commonCallBack(kBox, callBack, userStorage);
331 void SkScriptEngine::commonCallBack(CallBackType type, UserCallBack& callBack, void* userStorage) {
332 callBack.fCallBackType = type;
333 callBack.fUserStorage = userStorage;
334 *fUserCallBacks.prepend() = callBack;
490 UserCallBack callBack;
491 callBack.fFunctionCallBack = func;
492 commonCallBack(kFunction, callBack, userStorage);
864 UserCallBack callBack;
865 callBack.fMemberCallBack = member;
866 commonCallBack(kMember, callBack, userStorage);
870 UserCallBack callBack;
871 callBack.fMemberFunctionCallBack = func;
872 commonCallBack(kMemberFunction, callBack, userStorage);
877 UserCallBack callBack;
878 callBack.fObjectToStringCallBack = func;
879 commonCallBack(kObjectToString, callBack, userStorage);
927 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
928 if (callBack->fCallBackType != kBox)
930 success = (*callBack->fBoxCallBack)(callBack->fUserStorage, scriptValue);
952 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
953 if (callBack->fCallBackType != kFunction)
955 success = (*callBack->fFunctionCallBack)(functionName.c_str(), functionName.size(), params,
956 callBack->fUserStorage, &callbackResult);
973 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
974 if (callBack->fCallBackType != kMember)
976 success = (*callBack->fMemberCallBack)(field, len, object, callBack->fUserStorage, &callbackResult);
993 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
994 if (callBack->fCallBackType != kMemberFunction)
996 success = (*callBack->fMemberFunctionCallBack)(field, len, object, params,
997 callBack->fUserStorage, &callbackResult);
1015 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
1016 if (callBack->fCallBackType != kObjectToString)
1018 success = (*callBack->fObjectToStringCallBack)(object,
1019 callBack->fUserStorage, &callbackResult);
1039 success = false; // note that with standard animator-script plugins, callback never returns false
1041 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
1042 if (callBack->fCallBackType != kProperty)
1044 success = (*callBack->fPropertyCallBack)(fToken, fTokenLength,
1045 callBack->fUserStorage, &callbackResult);
1064 for (UserCallBack* callBack = fUserCallBacks.begin(); callBack < fUserCallBacks.end(); callBack++) {
1065 if (callBack->fCallBackType != kUnbox)
1067 success = (*callBack->fUnboxCallBack)(callBack->fUserStorage, scriptValue);
1471 UserCallBack callBack;
1472 callBack.fPropertyCallBack = prop;
1473 commonCallBack(kProperty, callBack, userStorage);
1489 UserCallBack callBack;
1490 callBack.fUnboxCallBack = func;
1491 commonCallBack(kUnbox, callBack, userStorage);