Home
last modified time | relevance | path

Searched refs:prop_cnt (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/misc/
Dlv_style.c179 if(style->sentinel == LV_STYLE_SENTINEL_VALUE && style->prop_cnt > 1) { in lv_style_init()
194 if(style->prop_cnt != 255) lv_free(style->values_and_props); in lv_style_reset()
251 if(style->prop_cnt == 0) return false; in lv_style_remove_prop()
255 …uint8_t * tmp = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv_style_val… in lv_style_remove_prop()
258 for(i = 0; i < style->prop_cnt; i++) { in lv_style_remove_prop()
262 … size_t size = (style->prop_cnt - 1) * (sizeof(lv_style_value_t) + sizeof(lv_style_prop_t)); in lv_style_remove_prop()
270 style->prop_cnt--; in lv_style_remove_prop()
272 tmp = new_values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_remove_prop()
277 for(i = j = 0; j <= style->prop_cnt; in lv_style_remove_prop()
310 … props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_set_prop()
[all …]
Dlv_style.h57 .prop_cnt = 255 \
64 .prop_cnt = 255, \
379 uint8_t prop_cnt; /**< 255 means it's a constant style*/ member
408 if(style->prop_cnt == 255) return true; in lv_style_is_const()
514 …lv_style_prop_t * props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv… in lv_style_get_prop_inlined()
516 for(i = 0; i < style->prop_cnt; i++) { in lv_style_get_prop_inlined()
/lvgl-latest/scripts/gdb/lvglgdb/
Dlvgl.py116 prop_cnt = style.prop_cnt
118 for j in range(prop_cnt):
/lvgl-latest/src/core/
Dlv_obj_style.c147 …lv_style_prop_t * props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv… in lv_obj_add_style()
148 for(i = 0; i < style->prop_cnt; i++) { in lv_obj_add_style()
208 if(style && style->prop_cnt == 0) prop = LV_STYLE_PROP_INV; in lv_obj_remove_style()
1015 …le_prop_t * props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv_style… in full_cache_refresh()
1016 for(j = 0; j < style->prop_cnt; j++) { in full_cache_refresh()
1035 …le_prop_t * props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv_style… in full_cache_refresh()
1036 for(j = 0; j < style->prop_cnt; j++) { in full_cache_refresh()
1070 …lv_style_prop_t * props = (lv_style_prop_t *)style->values_and_props + style->prop_cnt * sizeof(lv… in style_has_flag()
1072 for(i = 0; i < style->prop_cnt; i++) { in style_has_flag()
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_view_ctrl_pad.c181 if(btn_style.prop_cnt < 1) { in spinbox_ctrl_create()