Searched refs:LV_COORD_IS_PCT (Results 1 – 6 of 6) sorted by relevance
101 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 …]
1002 if(LV_COORD_IS_PCT(pivot.x)) { in refr_obj()1005 if(LV_COORD_IS_PCT(pivot.y)) { in refr_obj()
275 #define LV_COORD_IS_PCT(x) ((LV_COORD_IS_SPEC(x) && _LV_COORD_PLAIN(x) <= 2000) ? true : false) macro
514 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()
330 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()
665 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()