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