Home
last modified time | relevance | path

Searched refs:v_p (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.5.0/src/misc/
Dlv_style.c173 if(style->prop_cnt > 1) lv_mem_free(style->v_p.values_and_props); in lv_style_reset()
241 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_remove_prop()
246 lv_style_value_t * old_values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_remove_prop()
251 style->v_p.value1 = i == 0 ? old_values[1] : old_values[0]; in lv_style_remove_prop()
257 style->v_p.values_and_props = new_values_and_props; in lv_style_remove_prop()
426 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_set_prop_internal()
431 lv_style_value_t * values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_set_prop_internal()
438 uint8_t * values_and_props = lv_mem_realloc(style->v_p.values_and_props, size); in lv_style_set_prop_internal()
440 style->v_p.values_and_props = values_and_props; in lv_style_set_prop_internal()
460 value_adjustment_helper(prop_and_meta, value, &style->prop1, &style->v_p.value1); in lv_style_set_prop_internal()
[all …]
Dlv_style.h57 .v_p = { .const_props = prop_array }, \
65 .v_p = { .const_props = prop_array }, \
330 } v_p; member
455 const_prop = style->v_p.const_props + i; in lv_style_get_prop_inlined()
470 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_get_prop_inlined()
481 lv_style_value_t * values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_get_prop_inlined()
492 … style->prop1)) : style->v_p.value1; in lv_style_get_prop_inlined()