Lines Matching refs:context
156 static void _buildTransform(jerry_value_t context, float frameNo, LottieTransform* transform) in _buildTransform() argument
161 jerry_object_set_sz(context, "transform", obj); in _buildTransform()
251 static void _buildLayer(jerry_value_t context, float frameNo, LottieLayer* layer, LottieLayer* comp… in _buildLayer() argument
254 jerry_object_set_sz(context, EXP_WIDTH, width); in _buildLayer()
258 jerry_object_set_sz(context, EXP_HEIGHT, height); in _buildLayer()
262 jerry_object_set_sz(context, EXP_INDEX, index); in _buildLayer()
267 jerry_object_set_sz(context, "parent", parent); in _buildLayer()
271 jerry_object_set_sz(context, "hasParent", hasParent); in _buildLayer()
275 jerry_object_set_sz(context, "inPoint", inPoint); in _buildLayer()
279 jerry_object_set_sz(context, "outPoint", outPoint); in _buildLayer()
284 jerry_object_set_sz(context, "startTime", startTime); in _buildLayer()
288 jerry_object_set_sz(context, "hasVideo", hasVideo); in _buildLayer()
292 jerry_object_set_sz(context, "hasAudio", hasAudio); in _buildLayer()
298 jerry_object_set_sz(context, "enabled", enabled); in _buildLayer()
302 jerry_object_set_sz(context, "audioActive", audioActive); in _buildLayer()
307 _buildTransform(context, frameNo, layer->transform); in _buildLayer()
313 jerry_object_set_sz(context, "timeRemap", timeRemap); in _buildLayer()
322 jerry_object_set_sz(context, EXP_NAME, name); in _buildLayer()
326 jerry_object_set_sz(context, "toComp", toComp); in _buildLayer()
332 jerry_object_set_sz(context, EXP_CONTENT, content); in _buildLayer()
993 static void _buildPath(jerry_value_t context, LottieExpression* exp) in _buildPath() argument
998 jerry_object_set_sz(context, "points", points); in _buildPath()
1003 jerry_object_set_sz(context, "inTangents", inTangents); in _buildPath()
1008 jerry_object_set_sz(context, "outTangents", outTangents); in _buildPath()
1013 jerry_object_set_sz(context, "isClosed", isClosed); in _buildPath()
1019 static void _buildProperty(float frameNo, jerry_value_t context, LottieExpression* exp) in _buildProperty() argument
1022 jerry_object_set_sz(context, EXP_VALUE, value); in _buildProperty()
1026 jerry_object_set_sz(context, "valueAtTime", valueAtTime); in _buildProperty()
1031 jerry_object_set_sz(context, "velocity", velocity); in _buildProperty()
1035 jerry_object_set_sz(context, "velocityAtTime", velocityAtTime); in _buildProperty()
1040 jerry_object_set_sz(context, "speed", speed); in _buildProperty()
1044 jerry_object_set_sz(context, "speedAtTime", speedAtTime); in _buildProperty()
1053 jerry_object_set_sz(context, "loopIn", loopIn); in _buildProperty()
1058 jerry_object_set_sz(context, "loopOut", loopOut); in _buildProperty()
1063 jerry_object_set_sz(context, "loopInDuration", loopInDuration); in _buildProperty()
1068 jerry_object_set_sz(context, "loopOutDuration", loopOutDuration); in _buildProperty()
1073 jerry_object_set_sz(context, "key", key); in _buildProperty()
1081 jerry_object_set_sz(context, "nearestKey", nearestKey); in _buildProperty()
1085 jerry_object_set_sz(context, "numKeys", numKeys); in _buildProperty()
1090 jerry_object_set_sz(context, "propertyGroup", propertyGroup); in _buildProperty()
1099 jerry_object_set_sz(context, EXP_CONTENT, content); in _buildProperty()
1104 if (exp->property->type == LottieProperty::Type::PathSet) _buildPath(context, exp); in _buildProperty()
1124 static void _buildMath(jerry_value_t context) in _buildMath() argument
1127 jerry_object_set_sz(context, "$bm_mul", bm_mul); in _buildMath()
1131 jerry_object_set_sz(context, "$bm_sum", bm_sum); in _buildMath()
1135 jerry_object_set_sz(context, "$bm_add", bm_add); in _buildMath()
1139 jerry_object_set_sz(context, "$bm_sub", bm_sub); in _buildMath()
1143 jerry_object_set_sz(context, "$bm_div", bm_div); in _buildMath()
1147 jerry_object_set_sz(context, "mul", mul); in _buildMath()
1151 jerry_object_set_sz(context, "sum", sum); in _buildMath()
1155 jerry_object_set_sz(context, "add", add); in _buildMath()
1159 jerry_object_set_sz(context, "sub", sub); in _buildMath()
1163 jerry_object_set_sz(context, "div", div); in _buildMath()
1167 jerry_object_set_sz(context, "clamp", clamp); in _buildMath()
1171 jerry_object_set_sz(context, "dot", dot); in _buildMath()
1175 jerry_object_set_sz(context, "cross", cross); in _buildMath()
1179 jerry_object_set_sz(context, "normalize", normalize); in _buildMath()
1183 jerry_object_set_sz(context, "length", length); in _buildMath()
1187 jerry_object_set_sz(context, "random", random); in _buildMath()
1191 jerry_object_set_sz(context, "degreesToRadians", deg2rad); in _buildMath()
1195 jerry_object_set_sz(context, "radiansToDegrees", rad2deg); in _buildMath()
1199 jerry_object_set_sz(context, "linear", linear); in _buildMath()
1203 jerry_object_set_sz(context, "ease", ease); in _buildMath()
1207 jerry_object_set_sz(context, "easeIn", easeIn); in _buildMath()
1211 jerry_object_set_sz(context, "easeOut", easeOut); in _buildMath()
1226 void LottieExpressions::buildComp(jerry_value_t context, float frameNo, LottieLayer* comp, LottieEx… in buildComp() argument
1228 auto data = static_cast<ExpContent*>(jerry_object_get_native_ptr(context, &freeCb)); in buildComp()
1235 jerry_object_set_sz(context, "layer", layer); in buildComp()
1241 jerry_object_set_sz(context, "numLayers", numLayers); in buildComp()