Home
last modified time | relevance | path

Searched refs:LV_COORD_IS_PCT (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/core/
Dlv_obj_pos.c101 w_is_pct = LV_COORD_IS_PCT(w) ? true : false; in lv_obj_refr_size()
135 h_is_pct = LV_COORD_IS_PCT(h) ? true : false; in lv_obj_refr_size()
644 if(LV_COORD_IS_PCT(x)) x = (pw * LV_COORD_GET_PCT(x)) / 100; in lv_obj_refr_pos()
645 if(LV_COORD_IS_PCT(y)) y = (ph * LV_COORD_GET_PCT(y)) / 100; in lv_obj_refr_pos()
652 if(LV_COORD_IS_PCT(tr_x)) tr_x = (w * LV_COORD_GET_PCT(tr_x)) / 100; in lv_obj_refr_pos()
653 if(LV_COORD_IS_PCT(tr_y)) tr_y = (h * LV_COORD_GET_PCT(tr_y)) / 100; in lv_obj_refr_pos()
972 if(LV_COORD_IS_PCT(min_width)) min_width = (ref_width * LV_COORD_GET_PCT(min_width)) / 100; in lv_clamp_width()
973 if(LV_COORD_IS_PCT(max_width)) max_width = (ref_width * LV_COORD_GET_PCT(max_width)) / 100; in lv_clamp_width()
979 if(LV_COORD_IS_PCT(min_height)) min_height = (ref_height * LV_COORD_GET_PCT(min_height)) / 100; in lv_clamp_height()
980 if(LV_COORD_IS_PCT(max_height)) max_height = (ref_height * LV_COORD_GET_PCT(max_height)) / 100; in lv_clamp_height()
[all …]
Dlv_refr.c1002 if(LV_COORD_IS_PCT(pivot.x)) { in refr_obj()
1005 if(LV_COORD_IS_PCT(pivot.y)) { in refr_obj()
/lvgl-latest/src/misc/
Dlv_area.h275 #define LV_COORD_IS_PCT(x) ((LV_COORD_IS_SPEC(x) && _LV_COORD_PLAIN(x) <= 2000) ? true : false) macro
/lvgl-latest/src/extra/layouts/flex/
Dlv_flex.c514 if(LV_COORD_IS_PCT(tr_x)) tr_x = (w * LV_COORD_GET_PCT(tr_x)) / 100; in children_repos()
515 if(LV_COORD_IS_PCT(tr_y)) tr_y = (h * LV_COORD_GET_PCT(tr_y)) / 100; in children_repos()
/lvgl-latest/src/extra/widgets/span/
Dlv_span.c330 if(LV_COORD_IS_PCT(width)) { in lv_spangroup_refr_mode()
368 uint32_t width = LV_COORD_IS_PCT(spans->indent) ? 0 : spans->indent; in lv_spangroup_get_expand_width()
739 if(LV_COORD_IS_PCT(spans->indent)) { in convert_indent_pct()
/lvgl-latest/src/extra/layouts/grid/
Dlv_grid.c665 if(LV_COORD_IS_PCT(tr_x)) tr_x = (w * LV_COORD_GET_PCT(tr_x)) / 100; in item_repos()
666 if(LV_COORD_IS_PCT(tr_y)) tr_y = (h * LV_COORD_GET_PCT(tr_y)) / 100; in item_repos()