Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptValue

320     SkScriptValue scriptValue;
321 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
322 if (success && scriptValue.fType == SkType_Int)
323 return scriptValue.fOperand.fS32;
346 SkScriptValue scriptValue;
347 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
348 if (success && scriptValue.fType == SkType_Float)
349 return scriptValue.fOperand.fScalar;
574 SkScriptValue scriptValue;
575 scriptValue.fType = SkType_Int;
576 scriptValue.fOperand.fS32 = s32;
577 element->setProperty(info->propertyIndex(), scriptValue);
599 SkScriptValue scriptValue;
600 scriptValue.fType = SkType_Float;
601 scriptValue.fOperand.fScalar = scalar;
602 element->setProperty(info->propertyIndex(), scriptValue);