Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptValue

322     SkScriptValue scriptValue;
323 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
324 if (success && scriptValue.fType == SkType_Int)
325 return scriptValue.fOperand.fS32;
348 SkScriptValue scriptValue;
349 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
350 if (success && scriptValue.fType == SkType_Float)
351 return scriptValue.fOperand.fScalar;
576 SkScriptValue scriptValue;
577 scriptValue.fType = SkType_Int;
578 scriptValue.fOperand.fS32 = s32;
579 element->setProperty(info->propertyIndex(), scriptValue);
601 SkScriptValue scriptValue;
602 scriptValue.fType = SkType_Float;
603 scriptValue.fOperand.fScalar = scalar;
604 element->setProperty(info->propertyIndex(), scriptValue);