Lines Matching refs:ctx
91 …eate_from_ctx(lv_obj_t * parent, lv_xml_component_ctx_t * parent_ctx, lv_xml_component_ctx_t * ctx, in lv_xml_create_from_ctx() argument
97 state.ctx = *ctx; in lv_xml_create_from_ctx()
111 if(XML_Parse(parser, ctx->view_def, lv_strlen(ctx->view_def), XML_TRUE) == XML_STATUS_ERROR) { in lv_xml_create_from_ctx()
121 ctx->root_widget->apply_cb(&state, attrs); in lv_xml_create_from_ctx()
147 lv_xml_component_ctx_t * ctx = lv_xml_component_get_ctx(name); in lv_xml_create() local
148 if(ctx) { in lv_xml_create()
149 item = lv_xml_create_from_ctx(parent, NULL, ctx, attrs); in lv_xml_create()
206 static const char * get_param_type(lv_xml_component_ctx_t * ctx, const char * name) in get_param_type() argument
209 LV_LL_READ(&ctx->param_ll, p) { in get_param_type()
215 static const char * get_param_default(lv_xml_component_ctx_t * ctx, const char * name) in get_param_default() argument
218 LV_LL_READ(&ctx->param_ll, p) { in get_param_default()
269 static void resolve_consts(const char ** item_attrs, lv_xml_component_ctx_t * ctx) in resolve_consts() argument
280 LV_LL_READ(&ctx->const_ll, c) { in resolve_consts()
327 resolve_params(&state->ctx, state->parent_ctx, attrs, state->parent_attrs); in view_start_element_handler()
329 resolve_consts(attrs, &state->ctx); in view_start_element_handler()
343 if(state->ctx.is_widget && is_view) lv_obj_remove_style_all(item); in view_start_element_handler()