Home
last modified time | relevance | path

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

/lvgl-latest/src/core/
Dlv_obj_pos.h463 int32_t lv_clamp_height(int32_t height, int32_t min_height, int32_t max_height, int32_t ref_height);
Dlv_obj_pos.c982 int32_t lv_clamp_height(int32_t height, int32_t min_height, int32_t max_height, int32_t ref_height) in lv_clamp_height() argument
984 if(LV_COORD_IS_PCT(min_height)) min_height = (ref_height * LV_COORD_GET_PCT(min_height)) / 100; in lv_clamp_height()
985 if(LV_COORD_IS_PCT(max_height)) max_height = (ref_height * LV_COORD_GET_PCT(max_height)) / 100; in lv_clamp_height()